Messages in this thread | | | Date | Tue, 8 Dec 1998 14:51:31 +0100 (CET) | From | Rik van Riel <> | Subject | Re: [PATCH] swapin readahead and fixes |
| |
On Tue, 8 Dec 1998, Stephen C. Tweedie wrote: > On Tue, 8 Dec 1998 03:31:25 +0100 (CET), Rik van Riel > <H.H.vanRiel@phys.uu.nl> said: > > > On a swapout, we will scan ahead of where we are (p->swap_address) > > and swap out the next number of pages too. > > Yes, but be aware that for good performance you need to combine this > with a mechanism to ensure swap space does not become fragmented, > and you also need a swap-behind mechanism for sequential accesses > (so that if an application is scanning a data set sequentially, the > un-accessed space behind the current application "cursor" is being > removed from memory just as fast as the stuff about to be accessed > is being brought in).
And we also want a nice swapout clustering algorithm and an awful lot of other stuff as well. I think we should work on that stuff in the 'vacuum' period when 2.2 stabilizes and 2.3 hasn't split off yet. Then we can merge the changes in 2.3.very_small so we don't hold up the tree and give something else the chance to hold it up again and again...
cheers,
Rik -- the flu hits, the flu hits, the flu hits -- MORE +-------------------------------------------------------------------+ | Linux memory management tour guide. H.H.vanRiel@phys.uu.nl | | Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ | +-------------------------------------------------------------------+
- 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/
| |