Date: Fri, 1 Feb 2002 15:56:13 +0100 From: Cliff Sarginson <cliff@raggedclown.net> To: FreeBSD questions <freebsd-questions@FreeBSD.ORG> Subject: Re: the LINT file Message-ID: <20020201145613.GA1114@raggedclown.net> In-Reply-To: <20020201121846.GA47075@student.uu.se> References: <3C5A7FBC.CC58C4ED@club-internet.fr> <20020201121846.GA47075@student.uu.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 01, 2002 at 01:18:46PM +0100, Erik Trulsson wrote: > On Fri, Feb 01, 2002 at 12:45:00PM +0100, Mathieu Arnold wrote: > > I'm actually upgrading one of my test box from 4_4 to 4_5, and I > > stumbled on this : > > > > # Tune the kernel malloc area parameters. VM_KMEM_SIZE represents the > > # minimum, in bytes, and is typically (12*1024*1024) (12MB). > > # VM_KMEM_SIZE_MAX represents the maximum, typically 200 megabytes. > > # VM_KMEM_SIZE_SCALE can be set to adjust the auto-tuning factor, which > > # typically defaults to 4 (kernel malloc area size is physical memory > > # divided by the scale factor). > > # > > options VM_KMEM_SIZE="(10*1024*1024)" > > options VM_KMEM_SIZE_MAX="(100*1024*1024)" > > options VM_KMEM_SIZE_SCALE="4" > > > > the comment says that VM_KMEM_SIZE is set to 12MB but it's set to 10, > > and that _MAX is set to 200 but it's set to 100... > > I heard once that if the comment and the code differed, they were both > > wrong :) > > so, what should be the default values ? > > > The values used in LINT are usually and intentionally *not* the default > values. The reason for this is to try to make sure that you get at > least some testing with non-default values. > Meaning ? The last sentence lost me... -- Regards Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020201145613.GA1114>