Re: [ck] [PATCH] mm: implement swap prefetching (v26)

From: Kevin Radloff
Date: Fri Feb 17 2006 - 09:51:06 EST


On 2/17/06, Con Kolivas <kernel@xxxxxxxxxxx> wrote:
> The discussion was about what size to make the swap prefetching. Since the
> size is not user tunable any more that is not the case. I had an offlist
> discussion with Bart Samwel about it and basically if your drive spins down
> at 5 seconds (which is what commonly happens with laptop mode) you will never
> have an opportunity to prefetch. This means swap prefetch will basically
> always spin up the drive nullifying laptop mode. On balance if you care about
> power more than anything to actually set laptop mode I suspect you wont want
> prefetch using any more power.

Ahh, that's certainly a valid point. Although, it could be said that
since the laptop mode script allows you to set a great number of thing
is a great number of ways to achieve your vision of low power mode,
the effectiveness may actually vary. But I don't comprehend your
definition of "idle" in the patch anyway, so I won't bother even
trying to discuss it. ;)

--
Kevin 'radsaq' Radloff
radsaq@xxxxxxxxx
http://thesaq.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/