[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC] virtio: proposal to optimize accesses to VQ
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH RFC] virtio: proposal to optimize accesses to VQs |
Date: |
Mon, 14 Dec 2015 17:06:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
On 14/12/2015 15:51, Vincenzo Maffione wrote:
>
> This patch slightly rewrites the code to reduce the number of accesses, since
> many of them seems unnecessary to me. After this reduction, the bottleneck
> jumps from 1 Mpps to 2 Mpps.
>
> Patch is not complete (e.g. it still does not properly manage endianess, it is
> not clean, etc.). I just wanted to ask if you think the idea makes sense, and
> a proper patch in this direction would be accepted.
Yes, definitely. I have even done a very similar change here:
http://article.gmane.org/gmane.comp.emulators.qemu.block/6620
Can you review that patch, and possibly work on top of it?
Thanks,
Paolo