Date: Mon, 23 May 2005 10:58:13 -0400 From: Sven Willenberger <sven@dmv.com> To: freebsd-stable@freebsd.org Cc: freebsd-amd64@freebsd.org Subject: Manipulating disk cache (buf) settings Message-ID: <1116860293.10083.43.camel@lanshark.dmv.com>
next in thread | raw e-mail | index | archive | help
We are running a PostgreSQL server (8.0.3) on a dual opteron system with 8G of RAM. If I interpret top and vfs.hibufspace correctly (which show values of 215MB and 225771520 (which equals 215MB) respectively. My understanding from having searched the archives is that this is the value that is used by the system/kernel in determining how much disk data to cache. If that is in fact the case, then my question would be how to best increase the amount of memory the system can use for disk caching. Ideally I would like to have upwards of 1G for this type of caching/buffering. I suspect it would not be as easy as simply adjusting vfs.hibufspace upwards but would instead involving add either a loader.conf or kernel option of some "master" setting that affects hibufspace, bufspace, and related tunables. Or would this involve editing one of the system files? Sven
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1116860293.10083.43.camel>