From owner-freebsd-hackers Tue Jul 24 23:39:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 9FDAB37B401 for ; Tue, 24 Jul 2001 23:39:39 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.245.141.74.Dial1.SanJose1.Level3.net [209.245.141.74]) by snipe.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id XAA23438; Tue, 24 Jul 2001 23:39:27 -0700 (PDT) Message-ID: <3B5E69C5.3D3C259E@mindspring.com> Date: Tue, 24 Jul 2001 23:40:05 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Zhihui Zhang Cc: vishwanath pargaonkar , freebsd-hackers@FreeBSD.ORG Subject: Re: cluster size References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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