The goal is to increase the performance of the block layer on 1M reads/writes up to 4% by reducing the amount of requests issued by a guest using virtio-scsi or virtio-blk devices.
Original problem description: https://lists.gnu.org/archive/html/qemu-devel/2017-12/msg03721.html Denis Plotnikov (4): virtio: introduce VIRTQUEUE_DEFUALT_SIZE instead of hardcoded constants virtio: increase virtuqueue size for virtio-scsi and virtio-blk tests: add virtuqueue size checking to virtio_seg_max_adjust test tests: rename virtio_seg_max_adjust to virtio_check_params hw/block/virtio-blk.c | 6 ++-- hw/core/machine.c | 3 ++ hw/scsi/virtio-scsi.c | 5 +-- include/hw/virtio/virtio.h | 1 + ...g_max_adjust.py => virtio_check_params.py} | 33 ++++++++++++------- 5 files changed, 32 insertions(+), 16 deletions(-) rename tests/acceptance/{virtio_seg_max_adjust.py => virtio_check_params.py} (79%) -- 2.17.0