Re: swap-prefetch: A smart way to make good use of idle resources (was: updatedb)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Al Boldi <a1426z@...>
Cc: <linux-kernel@...>
Date: Friday, July 27, 2007 - 4:34 pm

> IMHO, what everybody agrees on, is that swap-prefetch has a positive effect 

the fact that there is free memory is ... strange. IN principle, Linux
keeps almost no memory free (except some emergency buffers) so that
things you swap in prematurely will BY DEFINITION go at the expense of
other things that could be there.... 

also, they take up seek time (5 to 10 msec), so if you were to read
something else at the time you get additional latency.

so the conclusion that it only can be better (if you don't care about
power) is imo premature.

Sure it still can be worth it, but it for sure is NOT an automatic
thing.


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: How can we make page replacement smarter, Rik van Riel, (Sat Jul 28, 9:46 pm)
Re: How can we make page replacement smarter, Al Boldi, (Sun Jul 29, 10:55 am)
Re: How can we make page replacement smarter, Alan Cox, (Sun Jul 29, 9:09 am)
Re: How can we make page replacement smarter, Rik van Riel, (Sun Jul 29, 11:01 am)
Re: swap-prefetch: A smart way to make good use of idle res..., Arjan van de Ven, (Fri Jul 27, 4:34 pm)