Re: [Ext2-devel] Re: inode cache, dentry cache, buffer heads usage

From: Badari Pulavarty
Date: Tue Mar 15 2005 - 11:29:04 EST


On Mon, 2005-03-14 at 14:41, Andrew Morton wrote:
> Badari Pulavarty <pbadari@xxxxxxxxxx> wrote:
> >
> > On Mon, 2005-03-14 at 14:11, Andrew Morton wrote:
> > > Badari Pulavarty <pbadari@xxxxxxxxxx> wrote:
> > > >
> > > > On Thu, 2005-03-10 at 17:47, Andrew Morton wrote:
> > > > > Badari Pulavarty <pbadari@xxxxxxxxxx> 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.
> > >
> >
> > Well, machine pauses for 5-30 seconds for each vi,cscope, write() etc.
>
> Why?

Dunno. Trying to figure out whats happening here. Lowmem pressure was
the top on our list - but nothing to prove it - yet.

>
> > > How'd you get 1.8gig of lowmem?
> >
> > 2:2 split
> >
>
> Does a normal kernel exhibit the pauses?

We haven't tried 3:1 split on this machine for a while. This machine
starts to slow down over the time. (It is up for last 70 days). We are
trying to collect all the info and also try everything possible to
understand issues - before we reboot.

Thanks,
Badari

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/