Re: freebsd - mbuf clusters!!!

From: Peter Marelas <maral@dont-contact.us>
Date: Tue, 18 Aug 1998 16:54:20 +1000 (EST)

Number of mbufs is calculated based on

nmbufs = NMBCLUSTERS * 4;

To increase them, add..

options "NMBCLUSTERS=8192"

to kernel conf and recompile.

The default is calculated based on..

NMBCLUSTERS = (512 + MAXUSERS * 16)

I suspect that this is only an initial static value. It may grow dynamically
as many variables in freebsd do. If this is the case, you may be short on
memory.

Regards
Peter Marelas

On Tue, 18 Aug 1998, Andrew Specht wrote:

> Date: Tue, 18 Aug 1998 14:18:40 +1000
> From: Andrew Specht <andrew@iaccess.com.au>
> To: Squid Users <squid-users@ircache.net>
> Subject: freebsd - mbuf clusters!!!
> Resent-Date: Mon, 17 Aug 1998 21:19:21 -0700 (PDT)
> Resent-From: squid-users@ircache.net
>
> Hi,
>
> i was wondering if anyone is running a high load proxy server on a freebsd
> machine and if you have any problems with the amount of mbuf cluster
> available?? Mine seems to be using up to 22000 mbuf clusters before the
> server runs out of them.
>
> Thanks in advance
>
> -------------------------------------------------------------------
> "People who say money can't buy happiness
> just don't know where to shop"
>
>
> Andrew Specht
> System Administrator / Internet Access Australia
> andrew@iaccess.com.au
> http://www.iaccess.com.au
>

-- 
Regards
Peter Marelas
Received on Mon Aug 17 1998 - 23:55:33 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:38 MST