Skip site navigation (1)Skip section navigation (2)
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:
> 
> 
> 
>> On Oct 12, 2023, at 3:37 PM, Dewayne Geraghty <dewaynegeraghty@gmail.com> wrote:
>> 
>> 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, 
>> A=`sysctl -a|wc -l`; T=`sysctl -aT|wc -l`; W=`sysctl -aW|wc -l`; O=`sysctl -ao|wc -l`;printf "Loadable=%d\tWriteable=%d\tStatistical=%d\tOpaque=%d\n" $T $W $(($A - $T - $W)) $(($O - $A))
>> Loadable=533    Writeable=1347  Statistical=2560        Opaque=50
>> 
>> Kind regards, Dewayne.
>> PS I'll refrain from mentioning the need for meaningful descriptions that provide a sense of how something can be "tuned".
>> 
>> 
> 
> 
> There're really too too many tunables to check, I'm currently mainly focusing on platform independent part.

Done!

> 
> 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. 

> 
> 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 
> 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.

> 
> Best regards,
> Zhenlei
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63DACEBA-7639-4636-A8E6-7E2F2A548D4E>