Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2020 09:09:32 +0200
From:      Stefan Esser <se@freebsd.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Matthew Macy <mmacy@freebsd.org>, Allan Jude <allanjude@freebsd.org>, Graham Perrin <grahamperrin@gmail.com>, FreeBSD CURRENT <freebsd-current@freebsd.org>, freebsd-fs@freebsd.org
Subject:   Re: OpenZFS and L2ARC
Message-ID:  <4cc21896-b7b7-e126-c0a3-f584d1c81533@freebsd.org>
In-Reply-To: <1245cf2f-7e70-df12-a69f-11ff6f9ed5ac@FreeBSD.org>
References:  <b8f63e55-4c7e-8be0-7c52-5d8e6cb333f4@freebsd.org> <7d54dc30-b8b1-a127-ec39-9fb759c8a55d@gmail.com> <fb112996-d713-f7e0-45e3-451d6bc02102@freebsd.org> <712aa75b-b8ce-1eb0-ea0e-db1c2b7cc0c2@freebsd.org> <1245cf2f-7e70-df12-a69f-11ff6f9ed5ac@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--est1qLY507OfMAyXLM6UQLB79MaCG4LW7
Content-Type: multipart/mixed; boundary="u1nIn2YbKjACPxZOQ3qF8KiSY91mcjWJt";
 protected-headers="v1"
From: Stefan Esser <se@freebsd.org>
To: John Baldwin <jhb@FreeBSD.org>
Cc: Matthew Macy <mmacy@freebsd.org>, Allan Jude <allanjude@freebsd.org>,
 Graham Perrin <grahamperrin@gmail.com>,
 FreeBSD CURRENT <freebsd-current@freebsd.org>, freebsd-fs@freebsd.org
Message-ID: <4cc21896-b7b7-e126-c0a3-f584d1c81533@freebsd.org>
Subject: Re: OpenZFS and L2ARC
References: <b8f63e55-4c7e-8be0-7c52-5d8e6cb333f4@freebsd.org>
 <7d54dc30-b8b1-a127-ec39-9fb759c8a55d@gmail.com>
 <fb112996-d713-f7e0-45e3-451d6bc02102@freebsd.org>
 <712aa75b-b8ce-1eb0-ea0e-db1c2b7cc0c2@freebsd.org>
 <1245cf2f-7e70-df12-a69f-11ff6f9ed5ac@FreeBSD.org>
In-Reply-To: <1245cf2f-7e70-df12-a69f-11ff6f9ed5ac@FreeBSD.org>

--u1nIn2YbKjACPxZOQ3qF8KiSY91mcjWJt
Content-Type: multipart/mixed;
 boundary="------------B37FE6F29A17D6902E01BD5F"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------B37FE6F29A17D6902E01BD5F
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable

Am 09.09.20 um 21:26 schrieb John Baldwin:> A simple fix might be to use =

CTLFLAG_SKIP so that you only invoke the
> expensive sysctls if you request them by name, but not if you request
> the 'kstat.zfs' tree.

I have looked at /sys/contrib/openzfs/module/zfs/dbuf.c where I had
assumed that the "kstat.zfs.misc.dbufs" sysctl node was created, but
did not spot the location on a quick search.

The kstat nodes are created by kstat_install() and AFAICT, there is
no parameter that directly allows to create the sysctl node with
CTLFLAG_SKIP, currently.

This long delay affects sysctl -a and I'd really hope that it can be
fixed in a way that suppresses this large debug output unless it is
specifically requested by passing the full node name ...

Regards, STefan

--------------B37FE6F29A17D6902E01BD5F--

--u1nIn2YbKjACPxZOQ3qF8KiSY91mcjWJt--

--est1qLY507OfMAyXLM6UQLB79MaCG4LW7
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFqEEo3HqZZwL7MgrcVMTR+u171r99UQFAl9Z0SwFAwAAAAAACgkQR+u171r99UQ9
Gwf9Fs5doLd5Zk0tTIGPWgwq68NkyVcyRLtG4p03F4jv9SWYR+WkHNQPdrf00liKKiheHkpPjDwQ
3AwBDlWDHbU4LzC3Hp03yM2QzSwezWei/Uf8OFKaMGGxl3Z14tJ1BnjI9SXDeTPs0O0Axj3LuQKS
0cfLLpmOWTiKkJSQ6ts4GYLCwvd9ulEwZ8KXKWkwVZ8vL9PfqNRLjFprv0u6BRcgxALBAhMdCbsy
JiaImX63109vg/aH3TxkpIWKXZpW08nNTJYBEB3Mv9zlLW+Umg4J39F7PCXrW7gGV2zEbScWDG1u
MwNxUYzELpz+KewBgG3oypj/FJoN7dAUH8kOiZ2PyQ==
=zK1s
-----END PGP SIGNATURE-----

--est1qLY507OfMAyXLM6UQLB79MaCG4LW7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4cc21896-b7b7-e126-c0a3-f584d1c81533>