Question about DPDK performance on bare-metal VS virtual

Martinx - ジェームズ thiagocmartinsc at gmail.com
Mon Apr 11 06:36:56 UTC 2016


Guys,

 Lets get a server, with 2 x 1G NIC embedded, and 2 x 10G NIC igbxe
(compatible with DPDK + PMD).

 I have a Proprietary L2 Bridge DPDK Application (unfortunately, it is
still CentOS-based) that, on bare-metal, or by using PCI Passthrough with
KVM, I can make it top the hardware speed, it can bridge @ 19.XG (full
speed, IXIA traffic generators are attached to it), virtually no packet
drops.

 Now, I'm planning to move this "Proprietary L2 Bridge DPDK Application" to
a purely virtual environment using only VirtIO devices (i.e., without any
kind of PCI Passthrough).

 However, at the same server host (2x1G + 2x10G NICs), I'll be using Ubuntu
Xenial with OpenvSwitch + DPDK (already running, BTW).

 So, the idea will be something like this:


 * Setup 1 - PCI Pass to the KVM guest

 10G NIC 1 <-> L2 DPDK App <-> 10G NIC 2  = 19.XG full-duplex


 * Setup 2 - OVS + DPDK to the KVM guest

 10G NIC 1 <-> OVS+DPKD <-> VirtIO <-> L2 DPDK App <-> VirtIO <-> 10G NIC 2
= XXG?


 My question is:

 With the "Setup 2" perfect tuned, do you guys think that I'll be able to
hit about 15G? Maybe even more close to "bare-metal 19G"?

 I am trying many things here, I am unable to see it pass 2.8G, this is
just in one direction, if I start traffic on both directions, it drops to
300M!!!

 This looks like a very complex setup and I'm still learning about how to
put all the moving parts together... I really appreciate any tip!


 * Usefull links:

 http://wiki.qemu.org/Features/vhost-user-ovs-dpdk


https://software.intel.com/en-us/articles/using-open-vswitch-with-dpdk-on-ubuntu


https://software.intel.com/en-us/articles/using-open-vswitch-with-dpdk-for-inter-vm-nfv-applications

 https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md


Cheers!
Thiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20160411/b192bbf3/attachment.html>


More information about the ubuntu-server mailing list