Re: Memory overcommit

From: Vedran FuraÄ
Date: Tue Oct 27 2009 - 14:30:35 EST


KOSAKI Motohiro wrote:

>>> I attached a scirpt for checking oom_score of all exisiting process.
>>> (oom_score is a value used for selecting "bad" processs.")
>>> please run if you have time.
>> 96890 21463 VirtualBox // OK
>> 118615 11144 kded4 // WRONG
>> 127455 11158 knotify4 // WRONG
>> 132198 1 init // WRONG
>> 133940 11151 ksmserver // WRONG
>> 134109 11224 audacious2 // Audio player, maybe
>> 145476 21503 VirtualBox // OK
>> 174939 11322 icedove-bin // thunderbird, maybe
>> 178015 11223 akregator // rss reader, maybe
>> 201043 22672 krusader // WRONG
>> 212609 11187 krunner // WRONG
>> 256911 24252 test // culprit, malloced 1GB
>> 1750371 11318 run-mozilla.sh // tiny, parent of firefox threads
>> 2044902 11141 kdeinit4 // tiny, parent of most KDE apps
>
> Verdran, I made alternative improvement idea. Can you please mesure
> badness score
> on your system?
> Maybe your culprit process take biggest badness value.

Thanks, I'll test it during the week. But note that not every user
reboots its computer everyday. I, for example, usually have it up for
days. And when it comes to my laptop - weeks, as I just suspend it when
I don't use it. Maybe the best way is to combine two patches. Also, you
and others could also test these patches. It is not only my kernel that
behaves strange. :)

> Note: this patch change time related thing. So, please drink a cup of
> coffee before mesurement.
> small rest time makes correct test result.

OK. :)

Regards,

Vedran

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/