Re: Slow swapon for big (12GB) swap

From: Con Kolivas
Date: Mon Apr 10 2006 - 06:27:42 EST


On Monday 10 April 2006 20:25, Grzegorz Kulewski wrote:
> The kernel is 2.6.16-rc3-git2-ck1. There is -ck patch in it but I strongly
> hope that swap prefetch is not *that* buggy to cause such things... I am
> considering testing vanilla. Con CC'd.

Turn it off by setting the swap_prefetch tunable to 0. That disables even
storing swapped information. Swap prefetch does very little with that set to
0, but ultimately you'd have to de-configure it to be sure I guess.

--
-ck
-
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/