Hello! On Mon, Feb 20, 2006 at 02:49:01PM +0000, Constantine A. Murenin wrote: >[...]
>> If this is a common state of affairs, you can always raise the >> percentage of memory used for the buffer cache in the kernel, using >> config -e: config -e -o /bsd.new /bsd >> then the command >> cachepct [number] Show/change BUFCACHEPERCENT >> helps. The default is 5, you could raise it to 10 or even more. >Thanks, I think this is indeed an option I was looking for (however, >it looks like I was looking for it in the wrong place -- `sysctl kern` >tree). This can't be changed during run-time. >Although the documentation says that it defaults to 5%, it actually >seems to default to 10% on amd64, alpha, hppa and hppa64. >Why it's not made to default to 10% on i386 too if enough memory is available? Others need more memory for running programs than you might need. >Also, it looks like "Filesystem Buffer" was in the FAQ in 2003-05-01 >(http://www.se.openbsd.org/faq/faq11.html), stating "option >BUFCACHEPERCENT=30" for config(8), but now it no longer appears in >today's version (http://www.openbsd.org/faq/faq11.html). Is there a >reason for that? Because that's not longer the recommended way. The recommendation is to use GENERIC and at most customize it with config -e. Of course, option BUFCACHEPERCENT=... still works, but is not officially supported, like any building of custom kernels. >> >And 512MB, I must add, is the de facto minimum today for any machine, >> >making this even lack of tune-up even more unacceptable. >> OpenBSD doesn't run only on i386/amd64, remember this. And until >> recently, my home machine still had 96 MB RAM. >True, I was making a generalisation to mean any modern PC/mac. :-) It >was almost a year ago that 512MB became the minimum even for most >entry models. So then. Not everyone buys a new computer every year. >Cheers, >Constantine. Kind regards, Hannah.