[dpdk-dev] [PATCH v4] vhost: batch used descs chains write-back with packed ring
maxime.coquelin at redhat.com
Fri Dec 21 10:20:53 CET 2018
On 12/20/18 5:47 PM, Maxime Coquelin wrote:
> Instead of writing back descriptors chains in order, let's
> write the first chain flags last in order to improve batching.
> Also, move the write barrier in logging cache sync, so that it
> is done only when logging is enabled. It means there is now
> one more barrier for split ring when logging is enabled.
> With Kernel's pktgen benchmark, ~3% performance gain is measured.
> Signed-off-by: Maxime Coquelin<maxime.coquelin at redhat.com>
> lib/librte_vhost/vhost.h | 2 ++
> lib/librte_vhost/virtio_net.c | 19 ++++++++++++++++---
> 2 files changed, 18 insertions(+), 3 deletions(-)
Applied to dpdk-next-virtio
More information about the dev