![]() |
Anyone know about FreeBSD file system tuning?
Basically I'm trying to figure out how to increase this:
Mem: 39M Active, 509M Inact, 234M Wired, 28K Cache, 112M Buf, 1221M Free I've checked 5 different servers and they all have a value of around 112MB used for buffering, even though the physical RAM varies from 1GB - 4GB Tried increasing maxusers but that hasn't changed anything, buf still tops out at 112MB How do I get FreeBSD to use more memory for disk caching? |
Do a make lint in the source tree and look; I'm pretty damn sure that there is still an FFS/UFS cache as well as directory hashing SOFTUPDATES. I haven't done bare-wire tuning with any of the recent 5.x tree, though. You're probably going to want to increase your stack as well.
Look here for more updated information. |
freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-disk.html
|
docs + manual (man) is always the way to go
|
Bump for answers.
|
Thanks for the replies but so far none actually address how to increase the maximum size allocated for buffering (which is vfs.maxbufspace)
I've tried changing the BKVASIZE value (in sys/param.h) from 16384 to 32768, but I'm not sure whether that actually allocates more buffers or just larger ones. |
"options NBUF=16384" in the kernel config seems to have done the trick, memory used now floats up to 255MB.
I tried to go further but ended up with a kernel panic. This will do for now. |
| All times are GMT -7. The time now is 11:03 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123