Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2001 23:40:05 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        vishwanath pargaonkar <vishubp@yahoo.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: cluster size
Message-ID:  <3B5E69C5.3D3C259E@mindspring.com>
References:  <Pine.SOL.4.21.0107231208270.15045-100000@opal>

next in thread | previous in thread | raw e-mail | index | archive | help
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?"

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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