From nobody Sun Mar 17 04:48:21 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 4Ty59S0BDGz5FGGt for ; Sun, 17 Mar 2024 04:49:00 +0000 (UTC) (envelope-from seigo.tanimura@gmail.com) Received: from mail-oa1-x35.google.com (mail-oa1-x35.google.com [IPv6:2001:4860:4864:20::35]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ty59R54Jcz4h1r; Sun, 17 Mar 2024 04:48:59 +0000 (UTC) (envelope-from seigo.tanimura@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-21e45ece781so2324773fac.0; Sat, 16 Mar 2024 21:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710650937; x=1711255737; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Zr1h7oSTOXjvB81cio6MIFNbC1r/gvfW0LYMjksbE9k=; b=gCn19bW24iMLbbGjFm9BBZRZTHjGNR8ZQbuZDrD41svD0fETJ5goL9kl8kORNX02IW zeEjF7qJzkc+LQx3XfsKGkYLDvHp+pXpCqEfSUQemvpidEIcxhGyQwyQ5RjWNH/41b0/ F1fS5bYyScQRCRW4DLviwWz+A/DZkMeGsAbbQgDTNWCxAY3aOcdFIMWLycvYZaoEqNBq HU7pYL97ZurD9zvI4fBHNXkZtdeOUHTxOYNt5UtZcO/ObLRem0Ok80KFo3ixb4SGLvwK UjY+5FmDzcukxxnXqRguqIVyJB/VtrEE4bk1ProXmxQzMvMr9JOTz/JYnj2zqKZsFcky l+BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710650937; x=1711255737; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Zr1h7oSTOXjvB81cio6MIFNbC1r/gvfW0LYMjksbE9k=; b=ai+QjjHP8tnGv0VRFlIDGVKDMC+S8TxM0CqxvO2n0mG41Luadtw64uQtLRRCEl3K9g l5tmJSYWUeZTXMBkGf0ADYkaSkek+SIm2SHrohbXKDhE4S9e9kuOkB1qRygT4YvmaC1m UNNlCqLUkXl/eaF2Uu7BHQEQJfT/sBQERB3n4Ou+NIQzx/IQnKlfhx7GocpuK5qiG+1j Ec7LOn8BHa1pgTaQ4EAISs8nmVqqGp3Omd2phHN1Ok6Vxn07sBav8W3WTax4OM9UIyRp o08SP+wFGRcu1ObvpZvNVZI8RmpKW1DQox3GYrErXf9VFPj8tuUvmYjY1hs8LQDiruvE GCCQ== X-Forwarded-Encrypted: i=1; AJvYcCUhXW5QL5J7G+gknjwsf0udLgNFHmNpuo41INjwK/C3dVlSfrVqk4KLyIrWe6Wq7poUCt+FISB05fCu7H8EGLjEuAFGhWKtlmjZKvZOrqGLew== X-Gm-Message-State: AOJu0Yz5s1OMYvDdr77bjXtT2B5BujXsPliV02XuuaiKA6Qt0Jd/OiLV cGDDe08wvNMuTg64UH9LohnuH0z2gc12CKnlhrOIFmdKp8Or9gLJxwmZ/J9rwIAAYxRtDW9Uy1m UtI4isQX0e36/s72Cn1Gy9Leicmg= X-Google-Smtp-Source: AGHT+IFeiE/0IKkS9vmV6UqY4jVZZd/Stu+do/oWTMuzgjrGW57V/wW43mESBv/Jexj8qCV6z9hpN0po1DBYeeYjdJA= X-Received: by 2002:a05:6870:d88e:b0:222:619f:9314 with SMTP id oe14-20020a056870d88e00b00222619f9314mr8804726oac.25.1710650937626; Sat, 16 Mar 2024 21:48:57 -0700 (PDT) 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 References: <2A0B7932-0705-4227-9CE0-9A018752DAB0.ref@yahoo.com> <2A0B7932-0705-4227-9CE0-9A018752DAB0@yahoo.com> In-Reply-To: <2A0B7932-0705-4227-9CE0-9A018752DAB0@yahoo.com> From: Seigo Tanimura Date: Sun, 17 Mar 2024 13:48:21 +0900 Message-ID: Subject: Re: git: c849eb8f1925 - main - nullfs: Add the vfs.nullfs.cache_nodes sysctl to control nocache default [unknown oid 'vfs.nullfs.cache_nodes'] To: Mark Millard Cc: Konstantin Belousov , dev-commits-src-main@freebsd.org Content-Type: multipart/alternative; boundary="00000000000078d9280613d3f5ff" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2001:4860:4864::/48, country:US] X-Rspamd-Queue-Id: 4Ty59R54Jcz4h1r --00000000000078d9280613d3f5ff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Mark, Is the nullfs(5) kernel module loaded? vfs.nullfs.cache_nodes is implemented in nullfs(5), which is not in GENERIC= . Best regards, -- Seigo Tanimura On Sun, Mar 17, 2024 at 1:18=E2=80=AFPM Mark Millard wr= ote: > Both an official PkgBase install and a personal build do not find the new > oid for this for main: > > # uname -apKU > FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT > main-n268827-75464941dc17 GENERIC-NODEBUG amd64 amd64 1500015 1500015 > > # 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/amd= 64.amd64/sys/GENERIC-NODBG > amd64 amd64 1500015 1500015 > > The results are: > > # sysctl -d vfs.nullfs.cache_nodes > sysctl: unknown oid 'vfs.nullfs.cache_nodes' > > # 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 > > Note: The mount_nullfs man page does have: > > QUOTE > cache Force enable metadata caching. > > The vfs.nullfs.cache_vnodes sysctl specifies global default for moun= t- > specific cache/nocache option. > END QUOTE > > That is evidence of the vintage of materials. > > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > > --00000000000078d9280613d3f5ff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Mark,

Is the nullfs(5)= kernel module loaded?

vfs.nullfs.cache_nodes = is implemented in nullfs(5), which is not in GENERIC.

<= div>Best regards,

--
Seigo Tanimura <seigo.tanimura@gmail.com>


On Sun, Mar 17, 2024 at 1:18=E2=80=AFPM Mark Millard <<= a href=3D"mailto:marklmi@yahoo.com">marklmi@yahoo.com> wrote:
Both an official PkgBa= se install and a personal build do not find the new oid for this for main:<= br>
# uname -apKU
FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT main-n268827-75464941= dc17 GENERIC-NODEBUG amd64 amd64 1500015 1500015

# uname -apKU
FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT #139 main-n268827-754= 64941dc17-dirty: Sun Mar 17 03:16:30 UTC 2024=C2=A0 =C2=A0 =C2=A0root@7950X= 3D-ZFS:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/sys/= GENERIC-NODBG amd64 amd64 1500015 1500015

The results are:

# sysctl -d vfs.nullfs.cache_nodes
sysctl: unknown oid 'vfs.nullfs.cache_nodes'

# 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: <NULL>
debug.sizeof.vnode: 448
debug.fail_point.status_fill_kinfo_vnode__random_path: off
debug.fail_point.fill_kinfo_vnode__random_path: off

Note: The mount_nullfs man page does have:

QUOTE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cache=C2=A0 =C2=A0 Force en= able metadata caching.

=C2=A0 =C2=A0 =C2=A0The vfs.nullfs.cache_vnodes sysctl specifies global def= ault for mount-
=C2=A0 =C2=A0 =C2=A0specific cache/nocache option.
END QUOTE

That is evidence of the vintage of materials.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com

--00000000000078d9280613d3f5ff--