LWN.net Logo

Toward improved page replacement

Toward improved page replacement

Posted Mar 23, 2007 2:37 UTC (Fri) by intgr (subscriber, #39733)
Parent article: Toward improved page replacement

"It would be nice to avoid all of that extra work, especially since it comes at a time when the system is already under stress."

Except that when the kernel starts swapping, it will inherently be I/O bound anyway -- the extra work the CPU has to do is probably not even even noticeable. Though the patch has secondary improvements as well, which can make it worthwhile.


(Log in to post comments)

Toward improved page replacement

Posted Mar 27, 2007 15:04 UTC (Tue) by liljencrantz (subscriber, #28458) [Link]

Most of the pages in the page cache are clean, e.g. once you've found those pages, evicting them is virtually free. That is the whole reason why you want to evict stuff from the page cache and not anonymous pages.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds