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 5595993211 for ; Fri, 17 Feb 2023 17:09:11 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 3D80189F2 for ; Fri, 17 Feb 2023 17:08:41 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (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 firstgate.proxmox.com (Proxmox) with ESMTPS for ; Fri, 17 Feb 2023 17:08:40 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id E08F34780E for ; Fri, 17 Feb 2023 17:08:39 +0100 (CET) From: Fiona Ebner To: pve-devel@lists.proxmox.com Date: Fri, 17 Feb 2023 17:08:33 +0100 Message-Id: <20230217160836.142368-2-f.ebner@proxmox.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230217160836.142368-1-f.ebner@proxmox.com> References: <20230217160836.142368-1-f.ebner@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.003 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH docs 1/4] qm: hard disk controllers: reword and update section 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: Fri, 17 Feb 2023 16:09:11 -0000 Most importantly, mention that VirtIO SCSI single in combination with IO thread is the new recommendation and default. The controller type used for the QEMU commandline is still the same (but one for each disk), so information about when OSes started supporting it should be accurate. Signed-off-by: Fiona Ebner --- qm.adoc | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/qm.adoc b/qm.adoc index 8a49283..629e913 100644 --- a/qm.adoc +++ b/qm.adoc @@ -169,16 +169,15 @@ connected. You can connect up to 6 devices on this controller. hardware, and can connect up to 14 storage devices. {pve} emulates by default a LSI 53C895A controller. + -A SCSI controller of type _VirtIO SCSI_ is the recommended setting if you aim for -performance and is automatically selected for newly created Linux VMs since -{pve} 4.3. Linux distributions have support for this controller since 2012, and -FreeBSD since 2014. For Windows OSes, you need to provide an extra iso -containing the drivers during the installation. +A SCSI controller of type _VirtIO SCSI single_ and enabling the +xref:qm_hard_disk_iothread[IO Thread] setting for the attached disks is +recommended if you aim for performance. This is the default for newly created +Linux VMs since {pve} 7.3. Each disk will have its own _VirtIO SCSI_ controller, +and QEMU will handle the disks IO in a dedicated thread. Linux distributions +have support for this controller since 2012, and FreeBSD since 2014. For Windows +OSes, you need to provide an extra ISO containing the drivers during the +installation. // https://pve.proxmox.com/wiki/Paravirtualized_Block_Drivers_for_Windows#During_windows_installation. -If you aim at maximum performance, you can select a SCSI controller of type -_VirtIO SCSI single_ which will allow you to select the *IO Thread* option. -When selecting _VirtIO SCSI single_ QEMU will create a new controller for -each disk, instead of adding all disks to the same controller. * The *VirtIO Block* controller, often just called VirtIO or virtio-blk, is an older type of paravirtualized controller. It has been superseded by the -- 2.30.2