public inbox for kdevops@lists.linux.dev
 help / color / mirror / Atom feed
From: Luis Chamberlain <mcgrof@kernel.org>
To: Daniel Gomez <da.gomez@kernel.org>, Klaus Jensen <its@irrelevant.dk>
Cc: kdevops@lists.linux.dev, Daniel Gomez <da.gomez@samsung.com>
Subject: Re: [PATCH] libvirt: update default extra storage drive
Date: Tue, 6 May 2025 13:23:42 -0700	[thread overview]
Message-ID: <aBpvzkGPLpV9G7lp@bombadil.infradead.org> (raw)
In-Reply-To: <20250506-libvirt-default-extra-storage-fixes-v1-1-3eb5c3544af4@samsung.com>

On Tue, May 06, 2025 at 11:18:28AM +0200, Daniel Gomez wrote:
> From: Daniel Gomez <da.gomez@samsung.com>
> 
> kdevops expects NVMe to be selected as stated in the config.

In which config?

> However,
> virtio is the default. Change the default to match the expectation in
> the default case.

So, the history here was that through experience on a lot of testing
(specially the stable folks) they experienced *tons* of NVMe timeouts
as flaky failure tests. Part of this was root caused to the slow
performant qemu NVMe driver since it lacked using qemu IO threads, which
allows the device to perform I/O in its own thread rather than in the
main QEMU thread. Virtio already has support IO threads, so as soon as we
switched to virtio that fixed the issues.

Yes, it would be good to make NVMe the default backend storage driver
but if default qemu release on distros don't yet have IO thread support
then it makes no sense to switch over, sadly.

Klaus, what's the state of affairs for this?

 Luis

> Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
> ---
>  kconfigs/Kconfig.libvirt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kconfigs/Kconfig.libvirt b/kconfigs/Kconfig.libvirt
> index 8654eb9b1a0607222ffb6749ed5b4b5f68c912f6..424a515d2fb1ad4edeacec14e4fe49e110b88b7b 100644
> --- a/kconfigs/Kconfig.libvirt
> +++ b/kconfigs/Kconfig.libvirt
> @@ -526,7 +526,7 @@ config LIBVIRT_HOST_PASSTHROUGH
>  
>  choice
>  	prompt "Libvirt extra storage driver to use"
> -	default LIBVIRT_EXTRA_STORAGE_DRIVE_VIRTIO
> +	default LIBVIRT_EXTRA_STORAGE_DRIVE_NVME
>  
>  config LIBVIRT_EXTRA_STORAGE_DRIVE_NVME
>  	bool "NVMe"

While

  reply	other threads:[~2025-05-06 20:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-06  9:18 [PATCH] libvirt: update default extra storage drive Daniel Gomez
2025-05-06 20:23 ` Luis Chamberlain [this message]
2025-05-07 10:19   ` Daniel Gomez
2025-05-07 18:50     ` Luis Chamberlain

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=aBpvzkGPLpV9G7lp@bombadil.infradead.org \
    --to=mcgrof@kernel.org \
    --cc=da.gomez@kernel.org \
    --cc=da.gomez@samsung.com \
    --cc=its@irrelevant.dk \
    --cc=kdevops@lists.linux.dev \
    /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