From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id CC1F6906EB for ; Thu, 9 Mar 2023 09:52:57 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 98D9F7C86 for ; Thu, 9 Mar 2023 09:52:27 +0100 (CET) Received: from bastionodiso.odiso.net (bastionodiso.odiso.net [185.151.191.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Thu, 9 Mar 2023 09:52:26 +0100 (CET) Received: from kvmformation3.odiso.net (formationkvm3.odiso.net [10.3.94.12]) by bastionodiso.odiso.net (Postfix) with ESMTP id F081580BA; Thu, 9 Mar 2023 09:52:19 +0100 (CET) Received: by kvmformation3.odiso.net (Postfix, from userid 0) id E310A133EA6; Thu, 9 Mar 2023 09:52:19 +0100 (CET) From: Alexandre Derumier To: pve-devel@lists.proxmox.com Date: Thu, 9 Mar 2023 09:52:11 +0100 Message-Id: <20230309085217.3649203-1-aderumier@odiso.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.066 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% HEADER_FROM_DIFFERENT_DOMAINS 0.25 From and EnvelopeFrom 2nd level mail domains are different KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods NO_DNS_FOR_FROM 0.001 Envelope sender has no MX or A DNS records SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record Subject: [pve-devel] [PATCH qemu-server 0/6] improve virtio drive multiqueues X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2023 08:52:57 -0000 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