On Tue, 24 Jul 2001, Terry Lambert wrote:

> Zhihui Zhang wrote:
> > > Hi,
> > > in freebsd can we change the cluster size from 2048
> > > bytes.If yes how can we do that?
> > > do we have to configure in some file?
> > 
> > You must be asking why the mbuf cluster size is chosen as 2048, right? It
> > is probably a tradeoff between memory efficient and speed.
> 
> Ask yourselves:
> 
>       "What is the minimum cluster size I would have to have
>        to be able to contain the maximum MTU worth of data,
>        yet remain an even multiple of sizeof(mbuf) -- 256
>        bytes?"

A dumb question: why even not odd multiple?

-Zhihui


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to