qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 0/3] virtio: proposal to optimize accesses to


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v2 0/3] virtio: proposal to optimize accesses to VQs
Date: Wed, 16 Dec 2015 10:34:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0


On 16/12/2015 10:28, Vincenzo Maffione wrote:
> Assuming my TX experiments with disconnected backend (and I disable
> CPU dynamic scaling of performance, etc.):
>   1) after patch 1 and 2, virtio bottleneck jumps from ~1Mpps to 1.910 Mpps.
>   2) after patch 1,2 and 3, virtio bottleneck jumps to 2.039 Mpps.
> 
> So I see an improvement for patch 3, and I guess it's because we avoid
> an additional memory translation and related overhead. I believe that
> avoiding the memory translation is more beneficial than avoiding the
> variable-sized memcpy.
> I'm not surprised of that, because taking a brief look at what happens
> under the hood when you call an access_memory() function - it looks
> like a lot of operations.

Great, thanks for confirming!

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]