[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091104002903.0B4D.A69D9226@jp.fujitsu.com>
Date: Wed, 4 Nov 2009 08:09:08 +0900 (JST)
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: vedran.furac@...il.com
Cc: kosaki.motohiro@...fujitsu.com,
David Rientjes <rientjes@...gle.com>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Hugh Dickins <hugh.dickins@...cali.co.uk>,
Andrea Arcangeli <aarcange@...hat.com>
Subject: Re: [PATCH] oom_kill: use rss value instead of vm size for badness
> KOSAKI Motohiro wrote:
>
> > Oh, I'm sorry. I mesured with rss patch.
> > Then, I haven't understand what makes Xorg bad score.
> >
> > Hmm...
> > Vedran, Can you please post following command result?
> >
> > # cat /proc/`pidof Xorg`/smaps
> >
> > I hope to undestand the issue clearly before modify any code.
>
> No problem:
>
> http://pastebin.com/d66972025 (long)
>
> Xorg is from debian unstable.
Hmm...
Your Xorg have pretty large heap. I'm not sure why it happen.
(ATI video card issue?)
Unfortunatelly, It is showed as normal large heap from kernel. then,
I doubt kernel can distinguish X from other process. Probably
oom-adj is most reasonable option....
-------------------------------------------------
[heap]
Size: 433812 kB
Rss: 433304 kB
Pss: 433304 kB
Shared_Clean: 0 kB
Shared_Dirty: 0 kB
Private_Clean: 280 kB
Private_Dirty: 433024 kB
Referenced: 415656 kB
Swap: 0 kB
KernelPageSize: 4 kB
MMUPageSize: 4 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