[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sched-idle and disk-priorities for 2.6.X


Hi!

> > ulimit -m 1
> > <some task>
> > 
> > should make that task run with extremely low priority, right?
> 
> Yeah, when the box is under memory pressure, pages from that
> task should never hit the active list.  Instead, they should
> always stay on the inactive list and the non-referenced pages
> from that app should get reclaimed.
> 
> OTOH, if the app keeps referencing all pages, maybe I need
> to tune up the aggressiveness a bit and also reclaim the
> referenced pages ... if the current patch doesn't work right
> I'll make a more aggressive one.

I'm afraid it needs to be more aggressive.

I made two programs, each walking over 150MB of memory, and ran them
at same time on 250MB machine. One of them with ulimit -m 1... Both
got about the same ammount of RAM and progressed at similar speed.

							Pavel
-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: References: