mbuf large clusters

Christian Brueffer brueffer at FreeBSD.org
Thu Jan 18 14:53:22 UTC 2007


On Thu, Jan 18, 2007 at 08:42:58AM -0500, Randall Stewart wrote:
> Moving this question over to net.. since I think
> it belongs there :-)
> 
> Oh, and looking at the sysctl to tune the
> 4/9 and 16k clusters.. it does NOT work.
> 
> If I set it in the sysctl.conf by the
> time that is read its to late..
> 

Not sure if I'm understanding you correctly, but kern.ipc.nmbclusters is
a tunable not a sysctl, so it has to be set in /boot/loader.conf or at
the loader prompt (see loader(8)).

- Christian

> So..
> 
> a) Should we have a default
> and
> b) Does anyone mind if I fix this and
>    put sysctl process type things in (like regular
>    clusters have) so the limit will actually have
>    some effect?
> 
> Andre?
> 
> R
> 
> 
> Randall Stewart wrote:
> >Question:
> >
> >I see that the 2k clusters are defaulted in
> >tunable_mbinit()
> >to:
> >
> >nmbclusters = 1024 + maxusers * 64;
> >
> >But there are NO limits what so ever set on the
> >larger clusters...
> >
> >Any particular reason why that is so?
> >
> >R
> 
> 
> -- 
> Randall Stewart
> NSSTG - Cisco Systems Inc.
> 803-345-0369 <or> 803-317-4952 (cell)
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
> 

-- 
Christian Brueffer	chris at unixpages.org	brueffer at FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20070118/38ffbd2e/attachment.pgp


More information about the freebsd-net mailing list