public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Matthias Heiserer <m.heiserer@proxmox.com>
To: Fabian Ebner <f.ebner@proxmox.com>, pve-devel@lists.proxmox.com
Subject: Re: [pve-devel] [PATCH v3 manager 1/2] HDEdit: check iothread by default and move it from advanced section
Date: Thu, 19 May 2022 15:35:46 +0200	[thread overview]
Message-ID: <5e8f2678-4567-45be-76d3-f6d9f33f1fff@proxmox.com> (raw)
In-Reply-To: <e53f8442-5e88-7876-1268-179a8e05f17e@proxmox.com>

On 18.05.2022 11:40, Fabian Ebner wrote:
> Am 12.05.22 um 11:24 schrieb Matthias Heiserer:
>> Existing disks are not changed by this.
>> Especially in benchmarks, iothreads significantly improve IO performance.
>>
>>
>> Signed-off-by: Matthias Heiserer <m.heiserer@proxmox.com>
>> ---
>>
>> Changes from v2:
>> * also check iothread when adding a disk to an existing VM and
>>   scsi single
>> * use bind instead of hardcoded true
> 
> This feels like to much automagic to me, because changes to the checkbox
> (even if checkbox is for a virtio disk) will change the controller type
> and vice versa. This also makes it impossible to only set iothread on
> certain disks or use the "Virtio SCSI single" controller type without
> setting iothread.
> 
> Is it possible to instead have the checkbox be invalid with an
> appropriate error for the user when it's a bad configuration?

Changes to the checkbox already change the Controller to Virtio SCSI 
(single), regardless of what was selected before. Anyways, the automatic 
change only happens in the wizard.

In case that a user wants iothread with a controller other than SCSI 
single or on a single disk, they can change that in the VM config, but I 
don't think that this is a common problem, at least much less common 
than wanting iothread enabled per default.

But I guess we can show a warning instead.




  reply	other threads:[~2022-05-19 13:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-12  9:24 Matthias Heiserer
2022-05-12  9:24 ` [pve-devel] [PATCH v3 qemu-server 1/2] bump pve-common Matthias Heiserer
2022-05-12  9:24 ` [pve-devel] [PATCH v3 manager 2/2] OS defaults: use SCSI single as default controller Matthias Heiserer
2022-05-12  9:24 ` [pve-devel] [PATCH v3 qemu-server 2/2] Warn in GUI for unlikely iothread config - fixes #3890 Matthias Heiserer
2022-05-18  9:44   ` Fabian Ebner
2022-05-18  9:40 ` [pve-devel] [PATCH v3 manager 1/2] HDEdit: check iothread by default and move it from advanced section Fabian Ebner
2022-05-19 13:35   ` Matthias Heiserer [this message]
2022-05-20  6:52     ` Fabian Ebner
2022-05-27 11:53       ` Matthias Heiserer

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=5e8f2678-4567-45be-76d3-f6d9f33f1fff@proxmox.com \
    --to=m.heiserer@proxmox.com \
    --cc=f.ebner@proxmox.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal