Juniper / contrail-vrouter

Contrail Virtual Router
BSD 2-Clause "Simplified" License
218 stars 171 forks source link

bandwidth decrease using dpdk module vrouter #98

Open gaojinghua opened 7 years ago

gaojinghua commented 7 years ago

We are using Opencontrail vrouter R3.2 branch and build the dpdk vrouter rpm. however, we compared the performance between kernel-vrouter and dpdk-vrouter, found that, kernel-vrouter has 6.XG bandwidth, but the dpdk-vrouter only have 4.XG bandwidth. But dpdk-vrouter's PPS is better than kernel-vrouter, which is same as your mentioned in some contrail vrouter documents.


  1. test path is vm1--->vrouter in host1--->host1 NIC ---> host2 NIC ---> vrouter in host2 --->vm2
  2. physical bandwidth of NIC is 10G
  3. host1 and host2 is numa framework.
  4. we set hugepages to 1G, and kvm use mem-path to use hugepages

could you pls tell me whether the performance is influenced when we use memory in different numa node, and when NIC and CPU cores pinned to dpdk-vrouter is in different numa node? could you pls give me some advices what may affect this performance? how to improve dpdk-vrouter performance?

any suggestions and advices will be appreciated!