Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 2010 12:20:36 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Freebsd 8.0 kmem map too small
Message-ID:  <20100608102036.GD1789@garage.freebsd.pl>
In-Reply-To: <20100608095444.GA86953@icarus.home.lan>
References:  <4BE110E3.8040902@zirakzigil.org> <q2vb269bc571005050819nde819098vfd3306170639a9c9@mail.gmail.com> <4BE82C5D.1080806@bit0.com> <20100608.181146.1224841629154014733.kasahara@nc.kyushu-u.ac.jp> <20100608095444.GA86953@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help

--9l24NVCWtSuIVIod
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 08, 2010 at 02:54:44AM -0700, Jeremy Chadwick wrote:
> SYSCTL_DECL(_vfs_zfs);
> SYSCTL_NODE(_vfs_zfs, OID_AUTO, zio, CTLFLAG_RW, 0, "ZFS ZIO");
> TUNABLE_INT("vfs.zfs.zio.use_uma", &zio_use_uma);
> SYSCTL_INT(_vfs_zfs_zio, OID_AUTO, use_uma, CTLFLAG_RDTUN, &zio_use_uma, =
0,
>     "Use uma(9) for ZIO allocations");
>=20
> Also note that this tunable does not appear in sysctl -a output; I
> believe this is caused by the first parameter to SYSCTL_INT() being
> incorrect -- should be _vfs_zfs, not _vfs_zfs_zio.  Regardless of
> that, it's still adjustable in loader.conf.

Why? I create vfs.zfs.zio node and create vfs.zfs.zio.use_uma sysctl to
match tunable name.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--9l24NVCWtSuIVIod
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkwOGXQACgkQForvXbEpPzSitACg6K/Ov2//Tiq5bJbfjubQi83p
AJIAoMTMwOaEIMPw0v1AkJCGqD4KW/s4
=sp6L
-----END PGP SIGNATURE-----

--9l24NVCWtSuIVIod--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100608102036.GD1789>