From nobody Sun Mar 17 04:58:09 2024 X-Original-To: dev-commits-src-main@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 4Ty5NJ45Wbz5FGgJ for ; Sun, 17 Mar 2024 04:58:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-19.consmr.mail.gq1.yahoo.com (sonic305-19.consmr.mail.gq1.yahoo.com [98.137.64.82]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ty5NH6nNPz4hqC for ; Sun, 17 Mar 2024 04:58:23 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=UNaBPU+8; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.82 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1710651501; bh=EHZRgrlOPOjEDpxMaC2NFOnrblRZk50PAlruj7xg708=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=UNaBPU+8vnpcGY0KC/fv3VXgLa0cVrPTwQORRVU75sLIlPzkZJe7L6rrB1vUvpcjqQPNrDeGlClmLKL8Cy5cn2KArRojdddVszGM5WF1u65aQotNQKEssQpxHdMYmBEnEc6BwspEMtrtpS7z//dNoDfoYW0DN8XaVh2Q4smR85VBee6bmr7U20x3zacQ38DEsAS80QewVggS0mXCoIWqtKn/mbwJp97+KaxvCBWHQWUQ+KpuS1YI2CAx14YVQnHmWFfxgf9ZLvlJX9lPiyDPvbBqbmCwPMgREEeTQPDBPEP/lQhtrQcojDISU4FNymzADTsZRCif34rqgUZQgRYMNw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1710651501; bh=2MASszjnG0E8s9anFoTSpYjLyQZ3KzpvnWSTHmqorea=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=rRdhOVO0GRhhb1lX+gZgbDO9GigBL2/wwRUShclWg48qfNEzozWIKRqRsig6FU8vJpYb6/Y/bwdt6IEU//XpP3VNnItULdpv8w4pCNxicJ41H5Z2DbFgPSjNtRkz40mFuBnHbHm1iJ5bxAxk/E0C30vVG6EM1hhVpIb7epraz5F/Cy3A1RbZfEoC8GGjdx3eQ+XFPWeU8+R0mftGL8NqVOpRuznLl4ED2J7W93n2FLlgdBii1i7T5UbsdMQzO9twQPv2cHCI+QGGn/ARABPoFZLEiA+5x10Ysx9n2Dy1Hs4Ax+R0Ika+61JbiItZwDp/4KKA+S4eNDzkIt2OKT1Fpw== X-YMail-OSG: J_8FcIAVM1m6lLpCXC9uiJ2uP1_ZIk7MFQETEC3.jTUBZraAa68K8EcpOymvscg JkuxuOUFu3ESDbhG0rEZIvdYTkG_HFmRFuM_Cvfrmi80w78xUcnbd7FiiHWm8jwoLQfcTQxdYI3z lt2PfEslhvtmMeM5QSp0iHjDHMK2m3rzdrZ93pecOSN.f_FYNvgLxcwIz99KqSbW8r5yskjzGGVX 658AhYb27eM.rS4vdnXUUIjnLyYTmMX5qE7.PPXjepSI8UlBnsxB9PuBJorlCVippjppZSQ6A25Q ysar8P98rIPzbskk0EoD6Kq611LgJsIl4nlDJNFWZWweTcBZKAEPRFrP4LA0ITxiRsyLsWEUn96F 3vUKq2vrHDtn4A8NAYMzwYCXAYHfJvcvKs0rvcrKxGbGb3pmpvSMlMhEbJIqdG.xwHTiHqygOLPW wZJ_ZU.g.BX_MeKxHDOCPcbITWkDzPpaEhFFc1N_gaUajj5qB8B_JfDtwlWKE8tcOQY7P3WJH89V 9Tc9eAa.mKb9p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UuaOayYJFX5_CKOdNyR2j.tHW8wyDqYaomNAeWhAhFj xbcA1iMc67r9WPCoLlGEMl7M9NhMaWnJ3bPGxB8FPAhDcu5PM6Rv63UND1x5F6wvMEebcXk9QYiR g9xZ4R12z8SxcdctRF6PksJyIaHITH4Ew8ZIZMrCMDfegGUvkiyOk7cpp4CCDFDOH.XWl518uJF5 cTxpwBR5wuHy0nfip4BNRIB39yf6lCzoHz9skNZ5XSx.Xt14E.TjEGtnGdJNLAHRRq91QfUq02f0 NXukE9wkfJwJfaWPFDP0wOBa5CGPrYKGCOvZ0r9EHB1jBDxX1q3HrCxhu2tlyRlOpdLQs8ZCZD3V w1j7OtKjVT2h_yCjsaCSq62zsSpLn8UyIbbVaJXmPRECMse3M8G0p3H99Jwe5bamtnx4ktHGkKim vPiv4d9ZsO2nZjOZNtusJl311ZqvyEvhY0WOkyX6h2JHNEoAaw55pfesGho9ZDgJlyZ0K7OgcHmj r58zd62tjQFYO348hm_6U2LwZrTLTzD8ZoARYSAqOck6KFO4zT0OLao7zn87JbG2ssZkoZ7Gk6hZ xHYP0yZkSzU6vrvy_ppuQNIq87u1l8ELCAmxQDwMRPeb1VmdHeS6lFQEQNvujdX7_3RWs6bo6vIc wv99I2HnC5O_86aphfhnLlOR067MqnFRSTJKCv7bbMlOyfx49UxAajSLhBykmc8.jmlcqW35dfxQ vCA-- X-Sonic-MF: X-Sonic-ID: 3ed1ef6a-c928-46aa-9f91-2a1bafe04394 Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Sun, 17 Mar 2024 04:58:21 +0000 Received: by hermes--production-gq1-5c57879fdf-p26ct (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 95ac4a195963a66f32758caf4303c325; Sun, 17 Mar 2024 04:58:20 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: Re: git: c849eb8f1925 - main - nullfs: Add the vfs.nullfs.cache_nodes sysctl to control nocache default [unknown oid 'vfs.nullfs.cache_nodes'] From: Mark Millard In-Reply-To: Date: Sat, 16 Mar 2024 21:58:09 -0700 Cc: Konstantin Belousov , dev-commits-src-main@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <337B4B85-E821-40A1-87ED-B5CDE2B2271B@yahoo.com> References: <2A0B7932-0705-4227-9CE0-9A018752DAB0.ref@yahoo.com> <2A0B7932-0705-4227-9CE0-9A018752DAB0@yahoo.com> To: Seigo Tanimura X-Mailer: Apple Mail (2.3774.400.31) X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.82:from]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.82:from]; TAGGED_RCPT(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-Rspamd-Queue-Id: 4Ty5NH6nNPz4hqC On Mar 16, 2024, at 21:48, Seigo Tanimura = wrote: > Hello Mark, Hello. > Is the nullfs(5) kernel module loaded? >=20 > vfs.nullfs.cache_nodes is implemented in nullfs(5), which is not in = GENERIC. I had not expected a tunable to require a kernel module load first. Also, the name was actually vfs.nullfs.cache_vnodes . With nullfs.ko loaded: # sysctl -T vfs.nullfs.cache_vnodes vfs.nullfs.cache_vnodes: 1 That indicates it is a tunable (so it should be appropriate for /boot/loader.conf use, as I understand what tunable refers to). But vfs.nullfs.cache_vnodes can not be internally set before nullfs.ko is loaded. There might need to be notes about the proper handling for early (tunable) time frames. Mark > Best regards, >=20 > -- > Seigo Tanimura >=20 >=20 > On Sun, Mar 17, 2024 at 1:18=E2=80=AFPM Mark Millard = wrote: > Both an official PkgBase install and a personal build do not find the = new oid for this for main: >=20 > # uname -apKU > FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT = main-n268827-75464941dc17 GENERIC-NODEBUG amd64 amd64 1500015 1500015 >=20 > # uname -apKU > FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT #139 = main-n268827-75464941dc17-dirty: Sun Mar 17 03:16:30 UTC 2024 = root@7950X3D-ZFS:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64= .amd64/sys/GENERIC-NODBG amd64 amd64 1500015 1500015 >=20 > The results are: >=20 > # sysctl -d vfs.nullfs.cache_nodes > sysctl: unknown oid 'vfs.nullfs.cache_nodes' >=20 > # sysctl -a | grep vnode > kern.maxvnodes: 3224925 > kern.ipc.umtx_vnode_persistent: 0 > vm.vnode_pbufs: 2048 > vm.stats.vm.v_vnodepgsout: 0 > vm.stats.vm.v_vnodepgsin: 4923 > vm.stats.vm.v_vnodeout: 0 > vm.stats.vm.v_vnodein: 662 > vfs.wantfreevnodes: 806231 > vfs.freevnodes: 1323 > vfs.vnodes_created: 3654 > vfs.numvnodes: 1807 > vfs.vnode.vnlru.uma_reclaim_calls: 0 > vfs.vnode.vnlru.kicks: 0 > vfs.vnode.vnlru.max_free_per_call: 10000 > vfs.vnode.vnlru.failed_runs: 0 > vfs.vnode.vnlru.direct_recycles_free: 0 > vfs.vnode.vnlru.recycles_free: 0 > vfs.vnode.vnlru.recycles: 0 > vfs.vnode.stats.alloc_sleeps: 0 > vfs.vnode.stats.free: 1323 > vfs.vnode.stats.skipped_requeues: 0 > vfs.vnode.stats.created: 3654 > vfs.vnode.stats.count: 1807 > vfs.vnode.param.wantfree: 806231 > vfs.vnode.param.limit: 3224925 > vfs.cache.debug.vnodes_cel_3_failures: 0 > vfs.cache.stats.heldvnodes: 119 > debug.vnode_domainset: > debug.sizeof.vnode: 448 > debug.fail_point.status_fill_kinfo_vnode__random_path: off > debug.fail_point.fill_kinfo_vnode__random_path: off >=20 > Note: The mount_nullfs man page does have: >=20 > QUOTE > cache Force enable metadata caching. >=20 > The vfs.nullfs.cache_vnodes sysctl specifies global default for = mount- > specific cache/nocache option. > END QUOTE >=20 > That is evidence of the vintage of materials. =3D=3D=3D Mark Millard marklmi at yahoo.com