lkml.org 
[lkml]   [2005]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Memory leak in 2.6.11-rc1?
On Wed, Jan 26 2005, Andrew Morton wrote:
> Jens Axboe <axboe@suse.de> wrote:
> >
> > On Wed, Jan 26 2005, Andrew Morton wrote:
> > > Jens Axboe <axboe@suse.de> wrote:
> > > >
> > > > But the 2.6.11-rcX vm is still very
> > > > screwy, to get something close to nice and smooth behaviour I have to
> > > > run a fillmem every now and then to reclaim used memory.
> > >
> > > Can you provide more details?
> >
> > Hmm not really, I just seem to have a very large piece of
> > non-cache/buffer memory that seems reluctant to shrink on light memory
> > pressure.
>
> If it's not pagecache then what is it? slab?

Must be, if it's reclaimable.

> > This makes the box feel sluggish, if I force reclaim by
> > running fillmem and swapping on/off again, it feels much better.
>
> before-n-after /proc/meminfo would be interesting.
>
> If you actually meant that is _is_ sticky pagecache then perhaps the recent
> mark_page_accessed() changes in filemap.c, although I'd be surprised.

I don't think it's sticky page cache, it seems to shrink just fine. This
is my current situtation:

axboe@wiggum:/home/axboe $ free
total used free shared buffers cached
Mem: 1024992 1015288 9704 0 76680 328148
-/+ buffers/cache: 610460 414532
Swap: 0 0 0

axboe@wiggum:/home/axboe $ cat /proc/meminfo
MemTotal: 1024992 kB
MemFree: 9768 kB
Buffers: 76664 kB
Cached: 328024 kB
SwapCached: 0 kB
Active: 534956 kB
Inactive: 224060 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 1024992 kB
LowFree: 9768 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 1400 kB
Writeback: 0 kB
Mapped: 464232 kB
Slab: 225864 kB
CommitLimit: 512496 kB
Committed_AS: 773844 kB
PageTables: 8004 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 644 kB
VmallocChunk: 34359737167 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB

> > I should mention that this is with 2.6.bk + andreas oom patches that he
> > asked me to test. I can try 2.6.11-rc2-bkX if you think I should.
>
> They shouldn't be causing this sort of thing.

I didn't think so, just mentioning it for completeness :)

--
Jens Axboe

-
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/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.390 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site