From owner-freebsd-questions Wed Nov 17 21:18: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 5950615389 for ; Wed, 17 Nov 1999 21:17:57 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id XAA15392; Wed, 17 Nov 1999 23:17:54 -0600 (CST) (envelope-from dan) Date: Wed, 17 Nov 1999 23:17:54 -0600 From: Dan Nelson To: Mike Tancsa Cc: questions@FreeBSD.ORG Subject: Re: Increasing disk cache Message-ID: <19991117231754.A15240@dan.emsphone.com> References: <4.1.19991117234540.04c45e10@granite.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <4.1.19991117234540.04c45e10@granite.sentex.ca>; from mike@sentex.net on Wed, Nov 17, 1999 at 11:56:24PM -0500 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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