From owner-freebsd-current Thu Apr 19 10:42:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id D6D6D37B42C; Thu, 19 Apr 2001 10:42:38 -0700 (PDT) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.11.3/8.11.3) id f3JHgVi69277; Thu, 19 Apr 2001 21:42:31 +0400 (MSD) (envelope-from ache) Date: Thu, 19 Apr 2001 21:42:30 +0400 From: "Andrey A. Chernov" To: Matt Dillon Cc: Maxim Sobolev , Doug Barton , "Alfred Perlstein 'current@freebsd.org'" Subject: Re: FW: Filesystem gets a huge performance boost Message-ID: <20010419214230.A69239@nagual.pp.ru> References: <200104161634.f3GGYZs11356@aslan.scsiguy.com> <200104162146.f3GLkGT82369@earth.backplane.com> <3ADBF9FA.9D1C4DB4@DougBarton.net> <20010417011335.V976@fw.wintelcom.net> <3ADC0221.32127C39@DougBarton.net> <3ADEDE2F.573C20A1@FreeBSD.org> <200104191632.f3JGWVG54689@earth.backplane.com> <3ADF1F36.44A3AA54@FreeBSD.org> <200104191739.f3JHdw255890@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104191739.f3JHdw255890@earth.backplane.com>; from dillon@earth.backplane.com on Thu, Apr 19, 2001 at 10:39:58AM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 19, 2001 at 10:39:58 -0700, Matt Dillon wrote: > :But we already have sysctl.conf and appropriate rc.sysctl, haven't we? What's > :wrong with putting some useful payload into it? > : > :-Maxim > > Let me explain a little more. If it's commented out, it's fine. But > if you are actually setting a value in there you will override whatever > is set in the kernel. When people install new systems they do not > usually override their /etc/ files, so an uncommented value will > set that default in stone and prevent us from being able to change > it with a new kernel rev. This being a *kernel* specific feature, > we need to have control over the default in the kernel itself. What about simple check in the kernel: if total memory is above 64Mb, then enable this mode by default, else disable it. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message