On 20/02/06, Hannah Schroeter <[EMAIL PROTECTED]> wrote:
> 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.

Yes, after not finding it in sysctl kern, I now see that one can't
change it at runtime. :-(

> >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.

The old FAQ lists "option BUFCACHEPERCENT=..." as a command to config
-e, not as a compile option, so it's still unclear why the useful
entry was removed from the FAQ.


Cheers,
Constantine.

Reply via email to