From owner-freebsd-questions Fri Feb 1 3:45: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from bilbo.in.mat.cc (bilbo.in.mat.cc [212.43.217.121]) by hub.freebsd.org (Postfix) with ESMTP id ADAD237B405 for ; Fri, 1 Feb 2002 03:45:04 -0800 (PST) Received: from bilbo.org (localhost [127.0.0.1]) by bilbo.in.mat.cc (Postfix) with ESMTP id 779DE7101A for ; Fri, 1 Feb 2002 12:45:02 +0100 (CET) Received: from club-internet.fr (sauron.in.mat.cc [212.43.217.122]) by bilbo.in.mat.cc (Postfix) with ESMTP id D97D27101A for ; Fri, 1 Feb 2002 12:45:00 +0100 (CET) Message-ID: <3C5A7FBC.CC58C4ED@club-internet.fr> Date: Fri, 01 Feb 2002 12:45:00 +0100 From: Mathieu Arnold Organization: http://www.absolight.fr/ X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD questions Subject: the LINT file Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 ? -- Mathieu Arnold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message