Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2007 14:53:20 +0100
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        Randall Stewart <rrs@cisco.com>
Cc:        freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: mbuf large clusters
Message-ID:  <20070118135319.GB1874@haakonia.hitnet.RWTH-Aachen.DE>
In-Reply-To: <45AF7962.7040407@cisco.com>
References:  <45AF55DE.1070700@cisco.com> <45AF7962.7040407@cisco.com>

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

[-- Attachment #1 --]
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
> 

-- 
Christian Brueffer	chris@unixpages.org	brueffer@FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFr3vPbHYXjKDtmC0RAuA0AJ4yTGv+Je3UFqS5+F5MfDpdpweEbACgy0KO
S50KW2wF74yTts1sT4QIi/I=
=1y8Q
-----END PGP SIGNATURE-----

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