Forcing buffer cache to use available memory

Chuck Swiger cswiger at mac.com
Sun Sep 30 09:15:53 PDT 2007


Peter Schuller wrote:
> Is there a way to force the buffer cache to be more aggressive when
> caching reads? Or even just plain force a certain number of megabytes
> to be dedicated to the buffer cache?

You want to adjust the vfs.read_max sysctl, I believe, or the vfs.maxbufspace 
for your second question.  "sysctl -d vfs" is likely to be informative....

-- 
-Chuck




More information about the freebsd-questions mailing list