Date: Tue, 24 Oct 2023 15:02:23 +0800 From: Zhenlei Huang <zlei@FreeBSD.org> To: Dewayne Geraghty <dewaynegeraghty@gmail.com> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: git: 9d6eb30abb29 - stable/12 - x86: Add sysctl flag CTLFLAG_TUN to loader tunables Message-ID: <63DACEBA-7639-4636-A8E6-7E2F2A548D4E@FreeBSD.org> In-Reply-To: <77C10E9A-3A80-4EAC-8E7E-575BDA373929@FreeBSD.org> References: <202310120510.39C5AxkS071422@gitrepo.freebsd.org> <CAGnMC6rB6SyRY0f5Bt9V%2BtTf5YSz_PD1Xc8qoVNTY4Hox53BgA@mail.gmail.com> <77C10E9A-3A80-4EAC-8E7E-575BDA373929@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Oct 12, 2023, at 5:40 PM, Zhenlei Huang <zlei@FreeBSD.org> wrote: >=20 >=20 >=20 >> On Oct 12, 2023, at 3:37 PM, Dewayne Geraghty = <dewaynegeraghty@gmail.com> wrote: >>=20 >> Thank-you so much for attending to AND correcting some of the weird = anomalies. Perhaps one day we can rely upon sysctl -aT and sysctl -aW = to be meaningful again. >> On 12.4S,=20 >> A=3D`sysctl -a|wc -l`; T=3D`sysctl -aT|wc -l`; W=3D`sysctl -aW|wc = -l`; O=3D`sysctl -ao|wc -l`;printf = "Loadable=3D%d\tWriteable=3D%d\tStatistical=3D%d\tOpaque=3D%d\n" $T $W = $(($A - $T - $W)) $(($O - $A)) >> Loadable=3D533 Writeable=3D1347 Statistical=3D2560 = Opaque=3D50 >>=20 >> Kind regards, Dewayne. >> PS I'll refrain from mentioning the need for meaningful descriptions = that provide a sense of how something can be "tuned". >>=20 >>=20 >=20 >=20 > There're really too too many tunables to check, I'm currently mainly = focusing on platform independent part. Done! >=20 > The next should be tier 1 , then tier 2. Done! Also note kib@ pointed out that there're some tunables for field = debugging only, not much useful to expose them as sysctl MIBs.=20 >=20 > There're also many tunables in device drivers, there will be trouble = to check and fix them all as I believe a runtime test is mandatory=20 > but that is basically impossible. Hope there're only little to be = fixed. I'm going to fix bugs related to net stack, and these are left = unchanged. I'd glad to do if they are strongly demanded. >=20 > Best regards, > Zhenlei >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63DACEBA-7639-4636-A8E6-7E2F2A548D4E>