[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] swapout speedup 2.1.91-pre2



On Thu, 26 Mar 1998, Linus Torvalds wrote:

> > here's the speedup patch I promised earlier.
> > It:
> > - increases tries when we're tight on memory
> > - clusters swapouts from user programs (to save disk movement)
> > - wraps the above in a nice inline
> > 
> > NOTE: this patch is untested, but otherwise completely trivial :)
> 
> Ok, this looks more like the kind of algorithms I wanted. I alread knew
> that the hardcoded "50" was wrong, your heuristic looks sensible (with the
> modification you already sent to make it slightly less aggressive). 
> 
> Anyway, I'm fairly happy with this kind of setup, I'll make a real 2.1.91
> soonish,

Please, don't make it yet, we need some page cache limitation
algorithm too because my machine (and I suspect other midrange
PCees too) just thrashed itself to death because of this...

Rik.
+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page          | Scouting       webmaster |
|        - kswapd ask-him & complain-to guy | Vries    cubscout leader |
|     http://www.fys.ruu.nl/~riel/          | <H.H.vanRiel@fys.ruu.nl> |
+-------------------------------------------+--------------------------+