Thread (13 messages) read the whole thread 13 messages, 6 authors, 2017-09-11

Re: [PATCH] vhost: adaptively batch small guest memory copies

From: Yao, Lei A <hidden>
Date: 2017-08-28 11:42:41

-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jens Freimann
Sent: Monday, August 28, 2017 2:31 PM
To: Bie, Tiwei <redacted>
Cc: dev@dpdk.org; yliu@fridaylinux.org; maxime.coquelin@redhat.com;
Wang, Zhihong [off-list ref]; Yang, Zhiyong
[off-list ref]
Subject: Re: [dpdk-dev] [PATCH] vhost: adaptively batch small guest memory
copies

Hi Tiwei,

On Thu, Aug 24, 2017 at 10:19:39AM +0800, Tiwei Bie wrote:
quoted
This patch adaptively batches the small guest memory copies.
By batching the small copies, the efficiency of executing the
memory LOAD instructions can be improved greatly, because the
memory LOAD latency can be effectively hidden by the pipeline.
We saw great performance boosts for small packets PVP test.
this sounds interesting. Do you have numbers showing how much
performance improved for small packets?

regards,
Jens
Hi, Jens

On my test bench, the performance gain as following for 
64B small packets
Mergeable:         19%
Vector        :      21%
No-mergeable:  21%

CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
OS: Ubuntu 16.04
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help