Subject: Re: options BUFCACHE=20 causes boot freeze
To: None <port-alpha@netbsd.org>
From: Paul Mather <paul@gromit.dlib.vt.edu>
List: port-alpha
Date: 01/19/2003 19:49:07
On Sun, Jan 19, 2003 at 06:33:44PM -0500, Tom Vier wrote:
=> On Sun, Jan 19, 2003 at 10:19:10AM -0500, Paul Mather wrote:
=> > Unless I'm much mistaken, vm.filemin and vm.filemax serve the
=> > same function as BUFCACHE now.  (See also vm.{anon,exec}{min,max}.)
=> 
=> afaict, w/ uvm everything is dynamic, and has the usual min, low, high
=> watermarks that most vm systems do, except buffers. fs metadata is held in
=> the static buffer cache. on my indigo2 that has 128megs, upping it to 20%
=> sped up rsync and pkg_chk a lot. it was able to fit all the pkgsrc metadata
=> in the bc. hopefully, uvm will get a dynamically allocated buffer cache
=> soon. i'm surprised it wasn't originally designed w/ one.

I have a hazy memory that the vm.{file,anon,exec} sysctls went in with
the UBC work (which is when I commented out my BUFCACHE= line in my
kernel config file).

So, I guess I need to ask, then: what exactly does vm.file{min,max}
actually govern, and how does it differ from BUFCACHE?

Cheers,

Paul.

e-mail: paul@gromit.dlib.vt.edu

"Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid."
        --- Frank Vincent Zappa