Re: [PATCH] swapin readahead and fixes

Billy Harvey (Billy.Harvey@thrillseeker.net)
Mon, 07 Dec 1998 20:34:12 -0500


Has anyone ever looked at the following concept? In addition to a
swap-in read-ahead, have a swap-out write-ahead. The idea is to use all
the avaialble swap space as a mirror of memory. If a need for real
memory comes up, and a page has been marked as mirrored, then it can be
immediately reused without swapping out. The trick would be in deciding
how to write-ahead without taking significant execution time and disk
access time away from other processes, that is with no impact to active
processes. Now, if that page is needed back into memory, the
current/improved methods of reading in can also be followed. In short,
we have information available to us that allows us to reduce time of
execution. That information is that we have swap space available, and
disk access time avaialable (while nothing else needs it), and can make
use of that time.

Spears solicted.

-- 
Billy.Harvey@thrillseeker.net

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/