Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool2.mu.edu!uwm.edu!linac!att!pacbell.com!ames!dftsrv!jagubox.gsfc.nasa.gov!jim From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski) Newsgroups: comp.unix.aux Subject: Re: NBUF and pstat Message-ID: <2676@dftsrv.gsfc.nasa.gov> Date: 17 Jan 91 12:45:54 GMT References: <2657@dftsrv.gsfc.nasa.gov> <2859@redstar.cs.qmw.ac.uk> Sender: news@dftsrv.gsfc.nasa.gov Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski) Organization: NASA/Goddard Space Flight Center Lines: 42 In article <2859@redstar.cs.qmw.ac.uk> liam@cs.qmw.ac.uk (William Roberts;) writes: }In <2657@dftsrv.gsfc.nasa.gov> jim@jagubox.gsfc.nasa.gov (Jim Jagielski) }writes: } } }>Currently, my kernel is built with NBUF being 0, meaning that 10% of }>the free space at start-up is utilized for disk buffers. I want more. }>The question is how many buffers are there??? } }>I would guess, using pstat, that NBUF is actually set to 1551 since }>that is the value that pstat returns for buffers.... Is this right? } }I believe that you are right: } I am :):) } }Your figure of 1551 seems very high - let me guess: either you are running a }32 Megabyte machine, or you have SBUFSIZE set to 1024 and you are running a 16 }Meg machine. } It's a 32 meg mac with SBUFSIZE 2048... right again! Anyway, this all leads to an interesting question... certainly, as far as disk buffers are concerned, there is a point of diminishing returns where increasing the amount of buffers adds very little or even DECREASES performance (possibly). Does anyone have any good system tuning information for A/UX... 25% memory for NBUF seems about right, but with large systems (32 megs) that still leaves a good chunk of free memory... Of course, that isn't bad since that means that swapping won't occur :) -- ======================================================================= #include =:^) Jim Jagielski NASA/GSFC, Code 711.1 jim@jagubox.gsfc.nasa.gov Greenbelt, MD 20771 "Exploding is a perfectly normal medical phenomenon. In many fields of medicine nowadays, a dose of dynamite can do a world of good."