lkml.org 
[lkml]   [2009]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] oom_kill: use rss value instead of vm size for badness
Date
> 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






\
 
 \ /
  Last update: 2009-11-04 00:11    [W:0.098 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site