1. Lab306 / DesignHouse Maintain
2. Drafting OVS+DPDK PowerPoint
3. ASIC HW FSM
4. AWS Homework
5.
A Scenario with Multiple Input Ports
第一關 EMC (Exact Match)
>>不能wildcard match
第二關 dpcls (Datapath Classifier)
>>真實虛擬化環境中數千條Flow很快就會讓EMC(8K Entries)滿了, 大部份封包都會到dpcls找, 所以這裡會是效能頻頸
>>很多組rules 或 policies
>>每組rule存在subtable裡面的形式為{rule, flow pointer}, 當match到rule時由flow pointer指出action執行
>>用TSS(Tuple Space Search)來實現wildcard search
>>運用Hash Table(Subtables), 一個需要match的Tuple就是一個Hash Table(Subtables), 例如Src/Dst IP Addr. 或 Src/Dst MAC Addr.
>>需要查找的Tuple越多, Subtable就越多, 查表時用來做Hash運算的CPU Cycle就越多
>>相比之下TSS還是比Decision Tree的方法好, 因為當controller在新增移除flow時很花CPU Cycles
第三關 ofproto Classifier
>>就是由openflow pipeline解決
pmd_thread_main >> 每個port都會產生一個PMD thread
dp_packet_batch_init >> batch initial >> read max 32 packets
miniflow_extract >> 經過EMC時會產生miniflow >> 取出packet header >> reducing the memory