前提: 之前想好好的宣傳 Golang ,於是乎一次投了兩個研討會.其實本來問題是不大的,只是剛好是同個禮拜(一個週日,一個週四).真是太棒了 (昏倒…) 不過今天相當的開心的跟了碼天狗的幾位作者 ( 同時也是講者 ) LY ,海總理還有特地趕來聚會的 Tim Kuo . 還有新認識的一堆講者. 難怪不少研討會都說,想要認識講者最好的方式就是… 成為講者. Douglas Crockford (Paypal) - Typing 投影片 History of Typing: Language Alphabet (upper) Alphabet (lower for writing) Typing The indent of key is to avoid key collision. The arrange also to avoid collision. “0” should come before “1”, all keyboard arrangement still wrong for now. ASCII code original use to for “writer” not “computer” Old typewriter history: One key combine with two word (upper/lower), Shift key to machanical shift the key to another one. Ctrl key is to call key control charactor if exist. (TAB is control part in “i” key. Return key to return to the begin of line (just like 0x0a) Line feed key to scroll papper line (just like 0x0d ) 心得: 從一開始語言的起源,到了字母的發明,最後到了打字 (Typing) . Douglas 說許多科技其實其來有自,你必須要好好了解科技的源頭,了解許多事情的原因,你才會了解為什麼會有這些相關科技的產生. 舉例而言,拿很古老的打字機上面的鍵盤排列來說: Shift key 一開始打字機為了要能顯示大小寫,其實一個按鍵黏著大寫與小寫的字母.而 Shift 就是要能夠機械式地移動( shift it ) 那個硬件去切換大小寫. Control key 現在已經越來越少使用了,其實一開始鍵盤上面是沒有 Tab...
What is DPDK
DPDK(Data Plane Development Kit) Data Plane Development Kit 能大幅提升封包處理效能與傳輸量,讓資料層面應用程式享有更充裕的處理時間。
Data Plane Development Kit 可讓封包處理效能加快達十倍。於單一 Intel® Xeon® 處理器上便可實現超過 80 Mpps 的傳輸量,搭配雙處理器配置則可達雙倍。1 因此電信與網路設備製造商 (TEM 與 NEM) 可有效降低開發成本,動用更少工具與支援團隊,亦享有更快的上市時間。
(refer from Intel Website)
DPDK Support NIC
DPDK Supported NICs
It could support on virtual driver “virtio-net”.
Process:
Bind DPDK (dpdk-devbind.py)to mount your network driver to DPDK driver list
Use dpdk status (dpdk-devbind.py status) to query it.
Use KNI (Kernel Network Interface) to enable that driver to eth0.
If you use kni to enable DPDK to eth0, you can use all network function with DPDK benefit.
kni will waste one CPU to relay DPDK driver data to eth0.
Suggestion:
Write DPDK related code directly.
DPDK suitable for small cell but lots of data queue.
Reference
dpdk入门及环境准备
DPDK-NGINX vs NGINX – Tech Overview and Performance Testing
Intel 加速分布式计算系统的三个神器