From owner-freebsd-questions Wed Nov 1 18:14:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from field.videotron.net (field.videotron.net [205.151.222.108]) by hub.freebsd.org (Postfix) with ESMTP id AD7A937B4CF for ; Wed, 1 Nov 2000 18:14:52 -0800 (PST) Received: from modemcable213.3-201-24.mtl.mc.videotron.ca ([24.201.3.213]) by field.videotron.net (Sun Internet Mail Server sims.3.5.1999.12.14.10.29.p8) with ESMTP id <0G3D000BPKWQ4A@field.videotron.net> for freebsd-questions@FreeBSD.ORG; Wed, 1 Nov 2000 21:14:50 -0500 (EST) Date: Wed, 01 Nov 2000 21:19:28 -0500 (EST) From: Bosko Milekic Subject: Re: mbuf and MINCLSIZE In-reply-to: <20001102015008.20834.qmail@web1705.mail.yahoo.com> X-Sender: bmilekic@jehovah.technokratis.com To: Yifeng Xu Cc: freebsd-questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG MINCLSIZE is set to MHLEN+1 by default. If you're running -CURRENT, checkout the mbuf(9) man page ('man 9 mbuf') which pretty much explains it. You shouldn't be increasing MINCLSIZE. You shouldn't really be lowering MINCLSIZE unless you want to promote the allocation of clusters. Strictly speaking, you're not likely to observe any noticable difference in performance in the general case. MINCLSIZE is defined in /sys/sys/mbuf.h and changing it would require a kernel rebuild but if you didn't know that, you probably shouldn't be changing it. :-) On Wed, 1 Nov 2000, Yifeng Xu wrote: > Hi, > > I have read Richard Stevens's "TCP/IP Illustrated > Volumn 3", and he suggested us to set macro MINCLSIZE > to 101 for most BSD server serving HTTP service. > > can it be changed in FreeBSD and get same benifit as > he said? > > Regards, > XuYifeng Later, Bosko Milekic bmilekic@technokratis.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message