From owner-freebsd-questions Thu Nov 18 7:45:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 42AA31542D for ; Thu, 18 Nov 1999 07:45:27 -0800 (PST) (envelope-from dg@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id HAA15709; Thu, 18 Nov 1999 07:38:38 -0800 (PST) Message-Id: <199911181538.HAA15709@implode.root.com> To: Mike Tancsa Cc: Greg Lehey , questions@FreeBSD.ORG Subject: Re: Increasing disk cache In-reply-to: Your message of "Thu, 18 Nov 1999 10:28:55 EST." <3.0.5.32.19991118102855.024c7380@staff.sentex.ca> From: David Greenman Reply-To: dg@root.com Date: Thu, 18 Nov 1999 07:38:38 -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >At 10:27 AM 11/18/99 -0500, Greg Lehey wrote: >>On Thursday, 18 November 1999 at 0:39:06 -0500, Mike Tancsa wrote: >>> At 12:17 AM 11/18/99 , Dan Nelson wrote: >>>> In the last episode (Nov 17), Mike Tancsa said: >>>>> 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? >>> >>> No. Actually, that was taken 1hr after doing a make world and reboot. >> >>What does it look like now? > >Much better now it seems. > >Mem: 20M Active, 135M Inact, 16M Wired, 10M Cache, 8349K Buf, 5516K Free >Swap: 512M Total, 512M Free > >Is the "Inact" figure actually used as disk cache then ? Yes, all of active, inact, and cache can contain cached file pages. These are just different page queues and don't indicate the nature of the pages on them (unfortunately - makes figuring out what's going on difficult). -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org Creator of high-performance Internet servers - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message