Subject: Re: BUFFERCACHE, PR 1903
To: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
From: Michael L. VanLoon -- HeadCandy.com <michaelv@MindBender.serv.net>
List: current-users
Date: 09/13/1996 21:01:08
>> I applied PR 1903, the one that lets you set the BUFFERCACHE percent
>> setting as a define in the kernel config file. Why hasn't this been
>> integrated? (Lack of time/attention, I would guess.)
>Probably lack of time/attention.
>quick comments on the patch (i just looked at it again):
> (1) s/BUFCACHE/BUFCACHEPCT/ or something, and same with
> 'bufcache'. "so, i set options BUFCACHE=20. That means
> that I get 20 buffer caches, right?"
Well, depends on how thoroughly you document it, and how much it looks
like the same option in other vendors kernels, I guess. Did Ultricks
use "BUFCACHE"? I don't remember...
> (3) if it's going to be done to one port, it _needs_ to be done
> to all of them.
Volunteers? :-)
> (4) it's annoying to no longer be able to have the "N percent
> of the first M megs, P percent of the rest" function,
> to better support small-memory systems.
There's no reason you couldn't default back to this if BUFCACHE (or
whatever) wasn't defined. Say, for GENERIC kernels.
-----------------------------------------------------------------------------
Michael L. VanLoon michaelv@MindBender.serv.net
--< Free your mind and your machine -- NetBSD free un*x >--
NetBSD working ports: 386+PC, Mac 68k, Amiga, Atari 68k, HP300, Sun3,
Sun4/4c/4m, DEC MIPS, DEC Alpha, PC532, VAX, MVME68k, arm32...
NetBSD ports in progress: PICA, others...
-----------------------------------------------------------------------------