From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 277F01FF13B for ; Wed, 25 Feb 2026 11:45:31 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 5A1F034755; Wed, 25 Feb 2026 11:46:27 +0100 (CET) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 25 Feb 2026 11:46:23 +0100 Message-Id: From: "Daniel Kral" To: "Markus Frank" , Subject: Re: [PATCH docs v2 7/11] virtiofs: add thread-pool-size description X-Mailer: aerc 0.21.0-38-g7088c3642f2c-dirty References: <20260223155951.468572-1-m.frank@proxmox.com> <20260223155951.468572-8-m.frank@proxmox.com> In-Reply-To: <20260223155951.468572-8-m.frank@proxmox.com> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1772016366459 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.025 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy 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 Message-ID-Hash: 4ZCOBJ7Q4FMAK2IZJPRL6EBF5UAD6C4W X-Message-ID-Hash: 4ZCOBJ7Q4FMAK2IZJPRL6EBF5UAD6C4W X-MailFrom: d.kral@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon Feb 23, 2026 at 4:40 PM CET, Markus Frank wrote: > Signed-off-by: Markus Frank > --- > qm.adoc | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/qm.adoc b/qm.adoc > index 46217a6..09fbd20 100644 > --- a/qm.adoc > +++ b/qm.adoc > @@ -1342,12 +1342,13 @@ All Optional Parameters: > |`expose-acl` |Enables ACL passthrough; implies `expose-xattr`. Supporte= d only on compatible filesystems. |`0` > |`expose-xattr` |Enables xattr passthrough; redundant if `expose-acl` is= `1`. |`0` > |`direct-io` |Enables support for the `O_DIRECT` flag. May degrade perfo= rmance, but is useful if applications perform their own caching. |`0` > +|`thread-pool-size` |Controls the maximum number of worker threads used = by virtiofsd to handle requests. Adjust for performance tuning. `0` disable= s the thread pool. |`0` > |=3D=3D=3D `readonly` should be added here in another patch as well... but we could also make this a little more future proof if we generate these while building with a `gen-optional-virtiofsd-opts.pl` script. > =20 > ---- > qm set -virtiofs0 dirid=3D,cache=3Dalways,direct-io=3D1 > qm set -virtiofs1 ,cache=3Dnever,expose-xattr=3D1 > -qm set -virtiofs2 ,expose-acl=3D1 > +qm set -virtiofs2 ,expose-acl=3D1,thread-pool-size=3D16 > ---- > =20 > To temporarily mount virtiofs in a guest VM with the Linux kernel virtio= fs