2005-09-20 14:07:27

by Con Kolivas

[permalink] [raw]
Subject: [PATCH] vm - swap prefetch-9

Here is an updated swap prefetching patch, also available here:
http://ck.kolivas.org/patches/swap-prefetch/

Changes to this version:
-Apply a 5% limit to the amount of ram used to store the swapped list.
-Stop prefetching if more than 2/3 of the ram is filled with mapped pages to
allow some breathing room for the page cache
-Optimise for cheaper locking
-Implement a very light weight page allocation function that calls
buffered_rmqueue directly since we don't want page reclaim to occur, and
don't need to aggressively try and find a free page.

Cheers,
Con


Attachments:
(No filename) (567.00 B)
vm-swap_prefetch-9.patch (20.37 kB)
Download all attachments