Re: swapin readahead pre-patch (what about the code?)

From: Marcelo Tosatti (marcelo@conectiva.com.br)
Date: Fri Jan 05 2001 - 14:17:59 EST


On Fri, 5 Jan 2001, Andreas Dilger wrote:

> I suppose the other area to look at is how pages are layed out when
> they are swapped to disk. If you go from medium memory pressure (where
> unused pages have been swapped already) to thrashing, then if you can
> put the remaining pages of each program to swap contiguously, then swap
> read-ahead will be a net win, because you are likely to need all of them
> again to run the program.

Swap space preallocation should help on that issue.

I hope to try out that soon after I've finished and benchmarked the swapin
readahead patch.

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



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:23 EST