LinuxMM:

This page describes a new page replacement design by Rik van Riel. This design should meet the most important [:PageReplacementRequirements:page replacement requirements] as well as fix the VM behaviour in certain ProblemWorkloads.

Design tenets

* File IO is fundamentally more efficient than swap IO. This has a number of reasons:

* We have to deal with systems where swap is insignificantly small, eg. a database server with 128GB RAM, 2GB swap and an 80GB shared memory segment.

* Belady's MIN "algorithm" needs to be modified. A page replacement algorithm does not have as its primary goal to minimize the number of page cache and anonymous memory misses. Instead, the goal is to minimize the number of IO operations required.

* Since the basic split is on "IO cost", memory mapped pages (except shared memory segments) go into the file backed pool.

Design details

LinuxMM: PageReplacementDesign (last edited 2007-02-21 23:03:03 by bree)