Messages in this thread | | | From | KOSAKI Motohiro <> | Subject | Re: [PATCH] oom_kill: use rss value instead of vm size for badness | Date | Wed, 4 Nov 2009 08:09:08 +0900 (JST) |
| |
> 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
| |