* [PATCH][RFC] split active lists for rmap 15
@ 2002-11-22 0:12 Rik van Riel
0 siblings, 0 replies; only message in thread
From: Rik van Riel @ 2002-11-22 0:12 UTC (permalink / raw)
To: Kernel Mailing List; +Cc: linux-mm, Arjan van de Ven
Hi,
it turns out that while Arjan's O(1) VM code works fine in
most scenarios, it's too swap happy in some cases. In order
to try to fix that I've split up the (per zone) active list
into an active_anon list (process working set) and an
active_cache list (file cache).
If the active_cache list is "large" we deactivate those pages
preferentially. Of course, if those pages really are referenced
they'll just be moved back to the active list and we'll end up
swapping out processes ... but in the common case of streaming
over lots and lots of file data we'll swap out the processes
very slowly, meaning that the machine should stay nicely usable
during eg. bitkeeper pulls, backups and apt-get updates.
This patch is still experimental, so any testing is welcome.
As usual, you can grab it from http://surriel.com/patches/
http://surriel.com/patches/2.4/2.4.19-rmap15-splitactive
have fun,
Rik
--
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/ http://guru.conectiva.com/
Current spamtrap: <a href=mailto:"october@surriel.com">october@surriel.com</a>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-22 0:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-22 0:12 [PATCH][RFC] split active lists for rmap 15 Rik van Riel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox