VPP tips
VPP tips 1. 性能从何而来。 原文链接: http://www.360doc.com/content/18/0428/20/53742993_749517107.shtml https://steeven.iteye.com/blog/2347150 DPDK代码级别性能优化总结 https://www.jianshu.com/p/346bf99b2fb1 https://www.jianshu.com/p/ed914b24f6da https://blog.csdn.net/Dgh19940/article/details/79603843 架构角度: DPDK 的巨页 、 NUMA 、 D-cache 优化, VPP 的 I-cache 优化 ; 算法角度: Bihash ,查表 lockless ; 代码角度: Vector 、 宏构造函数 、 结构体 cacheline 对齐 、 线程绑核 、指令预取、指令优化; 2. 路由查找 https://blog.csdn.net/dog250/article/details/6596046 Internet 路由之路由表查找算法概述 - 哈希 /LC-Trie 树 /256-way-mtrie 树 3. __constructor__ 修饰符 通过一个简单的例子介绍一下 gcc 的 __attribute__ (