From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id AEC451FF13B for ; Wed, 25 Feb 2026 14:32:51 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 196C122ED; Wed, 25 Feb 2026 14:33:45 +0100 (CET) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 25 Feb 2026 14:33:09 +0100 Message-Id: Subject: Re: [PATCH docs 1/2] local-zfs: Rephrase ARC limit To: "Maximiliano Sandoval" X-Mailer: aerc 0.20.0 References: <20260224105435.184325-1-m.sandoval@proxmox.com> <20260224105435.184325-2-m.sandoval@proxmox.com> In-Reply-To: <20260224105435.184325-2-m.sandoval@proxmox.com> From: "Shannon Sterz" X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1772026372962 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.971 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 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 1.113 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.358 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.659 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. 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: AA2CDEAR3ALK4MJHIVSKVRZPOVRDCI5L X-Message-ID-Hash: AA2CDEAR3ALK4MJHIVSKVRZPOVRDCI5L X-MailFrom: s.sterz@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 CC: pve-devel@lists.proxmox.com 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 Tue Feb 24, 2026 at 11:54 AM CET, Maximiliano Sandoval wrote: > We rephrase the current section putting more emphasis on the current > state of things given than Proxmox VE 8.1 was released over two years > ago. > > This also frames the problem for pre-existing setups in its own > paragraph. > > Signed-off-by: Maximiliano Sandoval > --- > local-zfs.adoc | 11 +++++++---- > 1 file changed, 7 insertions(+), 4 deletions(-) > > diff --git a/local-zfs.adoc b/local-zfs.adoc > index 4f20d00..12506d1 100644 > --- a/local-zfs.adoc > +++ b/local-zfs.adoc > @@ -586,10 +586,13 @@ configured for the root user. > Limit ZFS Memory Usage > ~~~~~~~~~~~~~~~~~~~~~~ > > -ZFS uses '50 %' of the host memory for the **A**daptive **R**eplacement > -**C**ache (ARC) by default. For new installations starting with {pve} 8.= 1, the > -ARC usage limit will be set to '10 %' of the installed physical memory, = clamped > -to a maximum of +16 GiB+. This value is written to `/etc/modprobe.d/zfs.= conf`. > +ZFS uses '10 %' of the host memory, clamped to a maximum of +16 GiB+, fo= r the > +**A**daptive **R**eplacement **C**ache (ARC) by default. This value is w= ritten > +to `/etc/modprobe.d/zfs.conf` during installation. > + > +Before {pve} 8.1, the ARC usage limit was set to '50 %' without clamping= it to a > +maximum size. For existing installations that predate {pve} 8.1, manual = steps > +would have to be performed in order to lower the usage limit as describe= d below. this and the other patch in this series looks good to me, one small comment: maybe mention that this isn't something set by the installer or pve, but rather just the zfs default [1]. [1]: https://openzfs.github.io/openzfs-docs/man/master/4/zfs.4.html#zfs_arc= _max other than that, consider this: Reviewed-by: Shannon Sterz > > Allocating enough memory for the ARC is crucial for IO performance, so r= educe it > with caution. As a general rule of thumb, allocate at least +2 GiB Base = + 1