Freebsd 8.0 kmem map too small
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Jun 8 10:20:50 UTC 2010
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");
>
> 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.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100608/8fc21f72/attachment.pgp
More information about the freebsd-stable
mailing list