mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Badari Pulavarty <pbadari@us.ibm.com>
Cc: ext2-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: inode cache, dentry cache, buffer heads usage
Date: Mon, 14 Mar 2005 14:11:28 -0800	[thread overview]
Message-ID: <20050314141128.7da95c34.akpm@osdl.org> (raw)
In-Reply-To: <1110835692.24286.288.camel@dyn318077bld.beaverton.ibm.com>

Badari Pulavarty <pbadari@us.ibm.com> wrote:
>
> On Thu, 2005-03-10 at 17:47, Andrew Morton wrote:
> > Badari Pulavarty <pbadari@us.ibm.com> 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?

  reply	other threads:[~2005-03-14 22:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-09 18:55 Badari Pulavarty
2005-03-09 21:27 ` Dipankar Sarma
2005-03-09 21:29   ` Badari Pulavarty
2005-03-09 21:53     ` Dipankar Sarma
2005-03-09 21:57       ` [Ext2-devel] " Sonny Rao
2005-03-11  1:47 ` Andrew Morton
2005-03-14 21:28   ` Badari Pulavarty
2005-03-14 22:11     ` Andrew Morton [this message]
2005-03-14 22:13       ` [Ext2-devel] " Badari Pulavarty
2005-03-14 22:41         ` Andrew Morton
2005-03-15 16:17           ` Badari Pulavarty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050314141128.7da95c34.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=ext2-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbadari@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®