Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 1999 23:17:54 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Mike Tancsa <mike@sentex.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Increasing disk cache
Message-ID:  <19991117231754.A15240@dan.emsphone.com>
In-Reply-To: <4.1.19991117234540.04c45e10@granite.sentex.ca>; from mike@sentex.net on Wed, Nov 17, 1999 at 11:56:24PM -0500
References:  <4.1.19991117234540.04c45e10@granite.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Nov 17), Mike Tancsa said:
> 
> I have a somewhat large postgres database on a server (currently about
> 6gig). The data is only written to once a day, and otherwise is just read
> the rest of the day. The machine has after running for a while shows
> Mem: 23M Active, 99M Inact, 16M Wired, 8664K Cache, 8344K Buf, 40M Free
> 
> Would it make sense to tune my kernel so that the disk cache is larger ?
> If so, where would I tune this.

FreeBSD uses all available RAM as a disk cache.  The Inact, Cache, and
Buf amounts are all "cache" memory, just varying types.  I'm sort of
surprised about the 40M of Free memory, though.  Most systems hover at
< 5M free.  Did a memory-hogging process (Netscape, say) just exit?
 
-- 
	Dan Nelson
	dnelson@emsphone.com


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?19991117231754.A15240>