Skip to content

Instantly share code, notes, and snippets.

@hannibalhuang
hannibalhuang / commit-msg
Created September 15, 2017 17:12
cyborg official application commit msg
Cyborg Application For Official Projects
First of all thanks for TC audience for our project update at PTG.
The overview slide presented at the meeting could be found here[0].
**What is Cyborg**
Cyborg is a new project that aims to provide a general management
framework for accelerators[1], such as FPGA, GPU, ARM SoCs, NVMe
SSDs,DPDK/SPDK and so forth, basically any types of dedicated
hardware/software that designed specifically to accelerate the
@hannibalhuang
hannibalhuang / projects.yaml
Created September 13, 2017 21:59
Cyborg official application
cyborg:
ptl:
name: Zhipeng Huang
irc: zhipeng
email: huangzhipeng@huawei.com
irc-channel: openstack-cyborg
service: Acceleration as a Service
mission: >
To provide a general management framework for accelerators (FPGA,GPU,SoC,
NVMe SSD,DPDK/SPDK,...)
..
This work is licensed under a Creative Commons Attribution 3.0 Unported
License.
http://creativecommons.org/licenses/by/3.0/legalcode
===========================
Cyborg SPDK Driver Proposal
===========================
@hannibalhuang
hannibalhuang / latency.markdown
Created October 9, 2016 23:54 — forked from hellerbarde/latency.markdown
Latency numbers every programmer should know

Latency numbers every programmer should know

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns             
Compress 1K bytes with Zippy ............. 3,000 ns  =   3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns  =  20 µs
SSD random read ........................ 150,000 ns  = 150 µs

Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs

@hannibalhuang
hannibalhuang / gist:15871a332ecd271f16ff
Last active August 29, 2015 14:17
Basic Git Setup For OPNFV Parser
zhipengh@zhipeng-pc:~/Workspace$ git clone ssh://zhipengh@gerrit.opnfv.org:29418/parser && scp -p -P 29418 zhipengh@gerrit.opnfv.org:hooks/commit-msg parser/.git/hooks/
zhipengh@zhipeng-pc:~/Workspace$ cd parser/
zhipengh@zhipeng-pc:~/Workspace/parser$ git review -s
Creating a git remote called "gerrit" that maps to:
ssh://zhipengh@gerrit.opnfv.org:29418/parser.git
zhipengh@zhipeng-pc:~/Workspace/parser$ mkdir yang2tosca/
zhipengh@zhipeng-pc:~/Workspace/parser$ vim yang2tosca/README.md
zhipengh@zhipeng-pc:~/Workspace/parser$ mkdir tosca2heat/
zhipengh@zhipeng-pc:~/Workspace/parser$ vim tosca2heat/README.md
zhipengh@zhipeng-pc:~/Workspace/parser$ mkdir docs/