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

Marcelo Tosatti (marcelo@conectiva.com.br)
Fri, 5 Jan 2001 17:17:59 -0200 (BRST)


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/