[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090312115147.GA20785@localhost>
Date: Thu, 12 Mar 2009 19:51:47 +0800
From: Wu Fengguang <fengguang.wu@...el.com>
To: jack marrow <jackmarrow2@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>
Subject: Re: Memory usage per memory zone
On Thu, Mar 12, 2009 at 01:38:46PM +0200, jack marrow wrote:
> > Can you paste the /proc/meminfo after doing 'echo 3 > drop_caches'?
>
> http://pastebin.com/mce24730
>
> >> I thought the kernel dropped caches if a program needs the ram?
> >
> > Sure, but something is unreclaimable... Maybe some process is taking a
> > lot of shared memory(shm)? What's the output of `lsof`?
>
> I can't paste that, but I expect oracle is using it.
Oh well...
But from the meminfo, there are 1.2G mapped pages. That could be a big
trouble for reclaiming. Recent kernels can better handle this situation.
Thanks,
Fengguang
---
# cat /proc/meminfo
MemTotal: 3895404 kB
MemFree: 2472656 kB
Buffers: 412 kB
Cached: 239716 kB
SwapCached: 202652 kB
Active: 1275212 kB
Inactive: 34584 kB
HighTotal: 3014592 kB
HighFree: 1684032 kB
LowTotal: 880812 kB
LowFree: 788624 kB
SwapTotal: 2040212 kB
SwapFree: 1626756 kB
Dirty: 104 kB
Writeback: 0 kB
Mapped: 1247000 kB
Slab: 80040 kB
CommitLimit: 3987912 kB
Committed_AS: 8189040 kB
PageTables: 18792 kB
VmallocTotal: 106488 kB
VmallocUsed: 3072 kB
VmallocChunk: 102980 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists