This patch enables optional dequeue zero copy for vHost ports. This gives a performance increase for some use cases. I'm using the cover letter to report my results.
vhost (vm1) -> vhost (vm2) Using testpmd to source (txonly) in vm1 and sink (rxonly) in vm2. 4C1Q 64B packets: 5.05Mpps -> 5.52Mpps = 9.2% improvement vhost (virtio_user backend 1) -> vhost (virtio_user backend 2) Using 2 instances of testpmd, each with a virtio_user backend connected to one of the two vhost ports created in OVS. 2C1Q 1518B packets: 2.59Mpps -> 3.09Mpps = 19.3% improvement vhost -> phy Using testpmd to source (txonly) and sink in the NIC 1C1Q 64B packets: 6.81Mpps -> 7.76Mpps = 13.9% improvement phy -> vhost -> phy No improvement measured Ciara Loftus (2): netdev-dpdk: Helper function for vHost device setup netdev-dpdk: Enable optional dequeue zero copy for vHost User Documentation/topics/dpdk/vhost-user.rst | 24 ++++ NEWS | 4 +- lib/netdev-dpdk.c | 202 +++++++++++++++++++++---------- vswitchd/vswitch.xml | 11 ++ 4 files changed, 178 insertions(+), 63 deletions(-) -- 2.7.5 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
