From nobody Tue Oct 24 07:02:23 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SF30S00zzz4xdZl for ; Tue, 24 Oct 2023 07:02:32 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SF30R6gkjz3Ryv; Tue, 24 Oct 2023 07:02:31 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698130951; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T7WZpvE4vJ8RQ7M4/Wdamo0pyJl5WFumL+O2ns3WB0Y=; b=YX5qZRJe9rwvyqLjyGiU3Iyr+WG1ox8eGCi/nD/6Q498MHz+GgHbvSBA1j/bpPCoBnqOHS WM32yBNSzuwpdosgXrNmYqx4/QmB9sYBLX3Mf1c2F+Yscx8BrSRVU39FC7yBjNJER9CEAf 7VE5XOiZPCWSpJYNFKYRhGaP4y1g95Ien7VnGGRMEaOJcpY3b4d2u7gr0NgYxNJCtn+uMZ 8YvifZvOVspI8pRr0c5vRvkntKPjzY+MlKOjkVbl167Oa7Kfmdas6hypTzzQ0xYfnmpCb/ tC6x2L76vJlnzvYuVEmJkyGevFLtQB5ML3AlIZ7o1OdGj2yyMXhQNbgKk1d6wQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698130951; a=rsa-sha256; cv=none; b=P8nfVLwy9AOrAxrf8qXE4UWo1zUUYrau66vVvWpqcqMskNVqFXOU91GcK3nzEshaMCf/9p dJjNZj61bBjOcCt6K//ai75VvJ7xuKuKzO8PNK6UjUMnzlK3qnbt4w9Yi1ly7xOpmmH7AZ vg8HcTsRrP5y7dJ343Tjinzb/sBaKdBkUvLu1/RrsHqdTi3GOxKyra1Y8HmSvjE17JzEF7 4W3CLONxKzPCbERXAdFNCaiyxbw+IF58BF49st4nsejcVHODrRfVPQOrLCEec7R4P+89gJ OuIuu9W/PBmU7ggBIApu2KnMXK6nJLtzfAhw1099SbSVQDTG21JeTfB8WIp6FQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698130951; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T7WZpvE4vJ8RQ7M4/Wdamo0pyJl5WFumL+O2ns3WB0Y=; b=lBY2iOJhKmk3+hsmCEjVDAi7FweeXaLdTs0z2Kv1CldaG5pjGuKBGt76lkx6xhkV92BUyi lTwBNLYSJF2pSXWLOyp0eyqPNIuyelIi6FZcFf8LaPCcq3yZ6i+cLEz4MKLMduXZhIud31 sv62BN1YbmXN4VFkgFkBqyysR+a35cpMdqKr+O/cr9L0tZCk24PsJ0sq8Mu+LCpOPL3O7B VsAr3UQae6N0EA87FS2hkvuznZUCBw19nDUnRUETN4fZ9iVXqgZJRp31QfAl10BHc5Q726 uv9Ip28Jr/tRcnn24pYXL81N4JkIAFF9ndySngQozUl/p2EyJ8XPWbOrs0HaZA== Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SF30Q5jCVz1GgV; Tue, 24 Oct 2023 07:02:30 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: git: 9d6eb30abb29 - stable/12 - x86: Add sysctl flag CTLFLAG_TUN to loader tunables From: Zhenlei Huang In-Reply-To: <77C10E9A-3A80-4EAC-8E7E-575BDA373929@FreeBSD.org> Date: Tue, 24 Oct 2023 15:02:23 +0800 Cc: FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: <63DACEBA-7639-4636-A8E6-7E2F2A548D4E@FreeBSD.org> References: <202310120510.39C5AxkS071422@gitrepo.freebsd.org> <77C10E9A-3A80-4EAC-8E7E-575BDA373929@FreeBSD.org> To: Dewayne Geraghty X-Mailer: Apple Mail (2.3696.120.41.1.4) > On Oct 12, 2023, at 5:40 PM, Zhenlei Huang wrote: >=20 >=20 >=20 >> On Oct 12, 2023, at 3:37 PM, Dewayne Geraghty = 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