[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] virtio: increase virtuqueue size for virtio-scsi and virt
Re: [PATCH v2] virtio: increase virtuqueue size for virtio-scsi and virtio-blk
Tue, 18 Feb 2020 16:59:51 +0300
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
On 18.02.2020 16:53, Stefan Hajnoczi wrote:
Actually, I sent the corrected version v3 of the patch last week. But it
seems it got lost among that gigantic patch flow in the mailing list :)
On Thu, Feb 13, 2020 at 05:59:27PM +0300, Denis Plotnikov wrote:
* seg_max default value changing removed
The goal is to reduce the amount of requests issued by a guest on
1M reads/writes. This rises the performance up to 4% on that kind of
disk access pattern.
The maximum chunk size to be used for the guest disk accessing is
limited with seg_max parameter, which represents the max amount of
pices in the scatter-geather list in one guest disk request.
Since seg_max is virqueue_size dependent, increasing the virtqueue
size increases seg_max, which, in turn, increases the maximum size
of data to be read/write from a guest disk.
More details in the original problem statment:
Suggested-by: Denis V. Lunev <address@hidden>
Signed-off-by: Denis Plotnikov <address@hidden>
hw/block/virtio-blk.c | 2 +-
hw/core/machine.c | 2 ++
hw/scsi/virtio-scsi.c | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
I fixed up the "virtuqueue" typo in the commit message and the
mis-formatted commit description (git-am(1) stops including lines after
the first "---").
Thanks for applying!
Thanks, applied to my block tree: