Subject: BUFPAGES, NBUF, NMBCLUSTERS
To: None <port-i386@NetBSD.ORG>
From: Laine Stump <laine@MorningStar.Com>
List: port-i386
Date: 01/24/1998 19:25:24
1) Is there a good tutorial of exactly how these all interact somewhere?
   I've been blindly setting them in my kernel configs for a couple years
   now, and while I have a general idea of what they do ("when they're
   bigger, you get more disk cache and can use more RAM"), I don't know the
   details and haven't had the time to study the code and figure it out for
   myself.

2) In my kernel config, I have NBUF and BUFPAGES set to 3072, but dmesg says:

      cpu0: family 6 model 1 step 7
      cpu0: Intel Pentium Pro (686-class)
      real mem  = 200929280
      avail mem = 194924544
      using 2822 buffers containing 12582912 bytes of memory

   I really *do* want that extra disk cache. How can I force it higher?
   (actually, on two of our disk servers that have 192MB, I'd like to up
   the disk cache to 30-40MB or so).

(BTW, now that 1.3 is released, whither SMP? I could be testing it
tomorrow on 3 machines if somebody would just do the easy part - design
and implement it ;-))