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

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

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 :-)
>=20
> Oh, and looking at the sysctl to tune the
> 4/9 and 16k clusters.. it does NOT work.
>=20
> If I set it in the sysctl.conf by the
> time that is read its to late..
>=20

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..
>=20
> 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?
>=20
> Andre?
>=20
> R
>=20
>=20
> Randall Stewart wrote:
> >Question:
> >
> >I see that the 2k clusters are defaulted in
> >tunable_mbinit()
> >to:
> >
> >nmbclusters =3D 1024 + maxusers * 64;
> >
> >But there are NO limits what so ever set on the
> >larger clusters...
> >
> >Any particular reason why that is so?
> >
> >R
>=20
>=20
> --=20
> 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"
>=20

--=20
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

--5I6of5zJg18YgZEa
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

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

--5I6of5zJg18YgZEa--




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