From owner-freebsd-hackers Wed Jul 25 10:52:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id CD18B37B408 for ; Wed, 25 Jul 2001 10:52:06 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from opal (cs.binghamton.edu [128.226.123.101]) by bingnet2.cc.binghamton.edu (8.11.4/8.11.4) with ESMTP id f6PHq4u11250; Wed, 25 Jul 2001 13:52:04 -0400 (EDT) Date: Wed, 25 Jul 2001 13:51:51 -0400 (EDT) From: Zhihui Zhang X-Sender: zzhang@opal To: Terry Lambert Cc: vishwanath pargaonkar , freebsd-hackers@FreeBSD.ORG Subject: Re: cluster size In-Reply-To: <3B5E69C5.3D3C259E@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message