* Kernel: question/bug: mm/vmscan.c : refill_inactive_zone() : 2.4.18-3
@ 2002-12-05 22:36 Erblichs
0 siblings, 0 replies; only message in thread
From: Erblichs @ 2002-12-05 22:36 UTC (permalink / raw)
To: linux-kernel
Statement:
In a "while" loop we are looking for a target number of
pages to deactivate.
Question?
If there are a large number of processes that have not
exceeded their Resident Set Size (rss) and they are
keeping their pages hot, then we won't reach our target
value. This would keep our inactive page list small.
Suggestion and solution:
In this environment, I would think it would make sense
to effectively walk this list again (without aging)
and effectively half the rss so we are able to reach
our target value.
I would think that this approach would then penalize
all tasks equally. If halving the rss is too extreme,
then an increased percentage (< 100%) would walk more
pages to reach the target value.
Mitchell Erblich : erblichs@earthlink.net
Note: I am not currently on this mail alias.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-05 22:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-05 22:36 Kernel: question/bug: mm/vmscan.c : refill_inactive_zone() : 2.4.18-3 Erblichs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox