Intel 官方 Intel DPDK 參數微調白皮書
Intel 官方檢查工具 OVS+DPDK效能檢查工具Intel VTune Amplifier
Youtube Video On OVS Conference OvS-DPDK Performance Optimizations to Meet Telco Needs by Jan Scheurich and Mark Gray
OVS+DPDK Performance Tuning https://github.com/openvswitch/ovs/blob/branch-2.5/INSTALL.DPDK.md
Unsolve
5.Compiler options
6.Simultaneous Multithreading (SMT)
RedHat Blog
https://developers.redhat.com/blog/2017/06/28/ovs-dpdk-parameters-dealing-with-multi-numa/
在開機設定中加入intel_iommu=on,iommu=pt
intel_iommu 是enable Intel VT-d
iommu=pt 原因主要是網卡不用透過DMA直接存取memory,而是直接由UserSpace取用,請見下方解釋。
To get the best performance, add iommu=pt (pass-through) to the grub file when using SR-IOV. When in pass-through mode,
the adapter does not need to use DMA translation to the memory,
and this improves the performance. iommu=pt is needed mainly with hypervisor performance is needed.
#sudo vim /boot/grub/menu.lst
BOOT_IMAGE=/boot/vmlinuz-4.4.0-96-generic root=UUID=b188df5f-9835-4cd0-8cf9-a7e97524aafe ro intel_iommu=on iommu=pt quiet splash vt.handoff=7
#sudo reboot 重開機
#cat /proc/cmdline | grep iommu 檢查設定是否出現
BOOT_IMAGE=/boot/vmlinuz-4.4.0-96-generic root=UUID=b188df5f-9835-4cd0-8cf9-a7e97524aafe ro intel_iommu=on iommu=pt quiet splash vt.handoff=7
UEIF secure boot
http://dpdk.org/doc/guides/linux_gsg/sys_reqs.html