Date: Mon, 22 Oct 2001 13:17:35 +0100 From: Nick Barnes <Nick.Barnes@pobox.com> To: freebsd-questions@freebsd.org Subject: tuning the buffer cache Message-ID: <35458.1003753055@thrush.ravenbrook.com>
next in thread | raw e-mail | index | archive | help
Is there a sysctl that I can use to encourage FreeBSD to use more memory for the buffer cache? Is this always a bad idea? I am running our SCM server on FreeBSD (3.4 at present). It's a product called Perforce <http://www.perforce.com/>, which is notoriously CPU-light and memory-hungry: it has a lot of metadata and it likes to access it fast, which means in memory. Currently I am running it on a Celeron 466 with 384 MB of RAM. It occurs to me that performance might be improved if the big metadata files were always resident in the buffer cache. Other than buying more memory, is there any way I can encourage the system to do this? I'm planning to upgrade this machine to FreeBSD 4.4, by the way. Nick Barnes Ravenbrook Limited To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35458.1003753055>