Re: [PATCH] mm: Implement swap prefetching tweaks

From: Mike Galbraith
Date: Sat Mar 11 2006 - 02:48:05 EST


On Sat, 2006-03-11 at 18:24 +1100, Con Kolivas wrote:
> On Saturday 11 March 2006 17:00, Mike Galbraith wrote:

> > If you're creating a lot of traffic, I can see it causing problems. I
> > was under the impression that you were doing minimal IO and absolutely
> > trivial CPU. That's what didn't make sense to me to be clear.
>
> A lot of cpu would be easier to handle; it's using absolutely miniscule
> amounts of cpu. The IO is massive though (and seeky in nature), and reading
> from a swap partition seems particularly expensive in this regard.

There used to be a pages in flight 'restrictor plate' in there that
would have probably helped this situation at least a little. But in any
case, it sounds like you'll have to find a way to submit the IO in itty
bitty synchronous pieces.

-Mike

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