all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Alexandre Derumier <aderumier@odiso.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH qemu-server 0/6] improve virtio drive multiqueues
Date: Thu,  9 Mar 2023 09:52:11 +0100	[thread overview]
Message-ID: <20230309085217.3649203-1-aderumier@odiso.com> (raw)

Hi,

This patch series add support for virtio-blk num-queues.
It's was already implemented for virtio-scsi.

It's also enable numqueue to maxcpus for qemu 8.0.
Redhat already was enabled by default in rhev in 2011,
so it's pretty stable.
https://bugzilla.redhat.com/show_bug.cgi?id=1827722

It's improve performance for fast storage like nvme,optane
by around 20%.
My fio bench have jump from 200k to 240k iops with 4 block

I don't have seen perf regression (running them for 1month),
but user is still able to override queues and set it to 1.


Alexandre Derumier (6):
  add virtio-scsi && virtio-scsi-single tests
  virtio-blk: add queues option
  cpuconfig: add get_cpu_topology helper
  fix #4295 : virtio-(blk|scsi): enable multiqueue by default
  drive: allow minimum queues = 1
  add virtio-blk|scsi default multiqueue tests

 PVE/QemuServer.pm                             | 36 ++++++++++++-------
 PVE/QemuServer/CPUConfig.pm                   | 11 ++++++
 PVE/QemuServer/Drive.pm                       |  3 +-
 test/cfg2cmd/simple-virtio-blk-8.0.conf       | 13 +++++++
 test/cfg2cmd/simple-virtio-blk-8.0.conf.cmd   | 31 ++++++++++++++++
 .../simple-virtio-scsi-single-8.0.conf        | 14 ++++++++
 .../simple-virtio-scsi-single-8.0.conf.cmd    | 33 +++++++++++++++++
 test/cfg2cmd/simple-virtio-scsi-single.conf   | 14 ++++++++
 .../simple-virtio-scsi-single.conf.cmd        | 33 +++++++++++++++++
 test/cfg2cmd/simple-virtio-scsi.conf          | 14 ++++++++
 test/cfg2cmd/simple-virtio-scsi.conf.cmd      | 31 ++++++++++++++++
 11 files changed, 219 insertions(+), 14 deletions(-)
 create mode 100644 test/cfg2cmd/simple-virtio-blk-8.0.conf
 create mode 100644 test/cfg2cmd/simple-virtio-blk-8.0.conf.cmd
 create mode 100644 test/cfg2cmd/simple-virtio-scsi-single-8.0.conf
 create mode 100644 test/cfg2cmd/simple-virtio-scsi-single-8.0.conf.cmd
 create mode 100644 test/cfg2cmd/simple-virtio-scsi-single.conf
 create mode 100644 test/cfg2cmd/simple-virtio-scsi-single.conf.cmd
 create mode 100644 test/cfg2cmd/simple-virtio-scsi.conf
 create mode 100644 test/cfg2cmd/simple-virtio-scsi.conf.cmd

-- 
2.30.2




             reply	other threads:[~2023-03-09  8:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-09  8:52 Alexandre Derumier [this message]
2023-03-09  8:52 ` [pve-devel] [PATCH qemu-server 1/6] add virtio-scsi && virtio-scsi-single tests Alexandre Derumier
2023-03-09  8:52 ` [pve-devel] [PATCH qemu-server 2/6] virtio-blk: add queues option Alexandre Derumier
2023-03-09  8:52 ` [pve-devel] [PATCH qemu-server 3/6] cpuconfig: add get_cpu_topology helper Alexandre Derumier
2023-03-09  8:52 ` [pve-devel] [PATCH qemu-server 4/6] fix #4295 : virtio-(blk|scsi): enable multiqueue by default Alexandre Derumier
2023-03-09  8:52 ` [pve-devel] [PATCH qemu-server 5/6] drive: allow minimum queues = 1 Alexandre Derumier
2023-03-09  8:52 ` [pve-devel] [PATCH qemu-server 6/6] add virtio-blk|scsi default multiqueue tests Alexandre Derumier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230309085217.3649203-1-aderumier@odiso.com \
    --to=aderumier@odiso.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal