Re: Forcing buffer cache to use available memory

2007-10-01 Thread Wojciech Puchar

Hello,

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?


it is. sometimes too aggressive.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Forcing buffer cache to use available memory

2007-09-30 Thread Peter Schuller
Hello,

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?

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org



pgpB9FEhefHvV.pgp
Description: PGP signature


Re: Forcing buffer cache to use available memory

2007-09-30 Thread Chuck Swiger

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


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Forcing buffer cache to use available memory

2007-09-30 Thread Peter Schuller
 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

Thanks! That looks like what I'm after.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org



pgp7jXUOdGw4S.pgp
Description: PGP signature