[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1185568498.2711.5.camel@laptopd505.fenrus.org>
Date: Fri, 27 Jul 2007 13:34:58 -0700
From: Arjan van de Ven <arjan@...radead.org>
To: Al Boldi <a1426z@...ab.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: swap-prefetch: A smart way to make good use of idle resources
(was: updatedb)
> IMHO, what everybody agrees on, is that swap-prefetch has a positive effect
> in some cases, and nobody can prove an adverse effect (excluding power
> consumption). The reason for this positive effect is also crystal clear:
> It prefetches from swap on idle into free memory, ie: it doesn't force
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists