Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262038AbVCNWS7 (ORCPT ); Mon, 14 Mar 2005 17:18:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262028AbVCNWPn (ORCPT ); Mon, 14 Mar 2005 17:15:43 -0500 Received: from fire.osdl.org ([65.172.181.4]:32957 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S262004AbVCNWLt (ORCPT ); Mon, 14 Mar 2005 17:11:49 -0500 Date: Mon, 14 Mar 2005 14:11:28 -0800 From: Andrew Morton To: Badari Pulavarty Cc: ext2-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: inode cache, dentry cache, buffer heads usage Message-Id: <20050314141128.7da95c34.akpm@osdl.org> In-Reply-To: <1110835692.24286.288.camel@dyn318077bld.beaverton.ibm.com> References: <1110394558.24286.203.camel@dyn318077bld.beaverton.ibm.com> <20050310174751.522c5420.akpm@osdl.org> <1110835692.24286.288.camel@dyn318077bld.beaverton.ibm.com> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1282 Lines: 40 Badari Pulavarty wrote: > > On Thu, 2005-03-10 at 17:47, Andrew Morton wrote: > > Badari Pulavarty wrote: > > > > > > So, why is these slab cache are not getting purged/shrinked even > > > under memory pressure ? (I have seen lowmem as low as 6MB). What > > > can I do to keep the machine healthy ? > > > > Tried increasing /proc/sys/vm/vfs_cache_pressure? (That might not be in > > 2.6.8 though). > > > > > > Yep. This helped shrink the slabs, but we end up eating up lots of > the lowmem in Buffers. Is there a way to shrink buffers ? It would require some patchwork. Why is it a problem? That memory is reclaimable. > $ cat /proc/meminfo > MemTotal: 16377076 kB > MemFree: 7495824 kB > Buffers: 1081708 kB > Cached: 4162492 kB > SwapCached: 0 kB > Active: 3660756 kB > Inactive: 4473476 kB > HighTotal: 14548952 kB > HighFree: 7489600 kB > LowTotal: 1828124 kB > LowFree: 6224 kB > How'd you get 1.8gig of lowmem? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/