Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2021 18:50:19 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        freebsd-fs@freebsd.org
Subject:   Re: Changes in vfs.zfs.arc_max on 13
Message-ID:  <a4cfa6e5-2690-dc10-7484-78c2b71c8dbf@quip.cz>
In-Reply-To: <95d2d77f-c995-69ce-c6d6-ea8e22e9515b@nomadlogic.org>
References:  <0961dfe0-922e-8a6f-0bf9-c0685e3ec3d1@nomadlogic.org> <dcf63f50-5ea6-8524-37b3-577bda3ba06f@FreeBSD.org> <95d2d77f-c995-69ce-c6d6-ea8e22e9515b@nomadlogic.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/05/2021 18:06, Pete Wright via freebsd-fs wrote:

[...]

> Ah interesting, the examples certainly refer to loader.conf knobs. I had 
> mistakenly assumed that the sysctl values would take the same form. 
> Section 20.6.1 of the handbook isn't clear on this distinction:
> "This value can be adjusted at runtime with sysctl(8) 
> <https://www.freebsd.org/cgi/man.cgi?query=sysctl&sektion=8&format=html>; 
> and can be set in /boot/loader.conf or /etc/sysctl.conf."
> 
> zfs-module-parameters(5) is a bit more clear on this it looks like. Is 
> it common for loader variables to accept different formatted values for 
> the same knob?

It is really user-unfriendly to accept 2048M in the loader.conf but not 
in sysctl.conf / sysctl command. I think it always should accept the 
same format. And human formatted is the preferred way.

Just my $0.02

Miroslav Lachman




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a4cfa6e5-2690-dc10-7484-78c2b71c8dbf>