Re: [PATCH] mm: Implement swap prefetching tweaks

From: Mike Galbraith
Date: Tue Mar 14 2006 - 01:36:26 EST


On Sat, 2006-03-11 at 23:54 -0500, Lee Revell wrote:
> On Sat, 2006-03-11 at 08:51 +0100, Mike Galbraith wrote:
> > 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.
>
> echo 64 > /sys/block/hd*/queue/max_sectors_kb
>
> There is basically a straight linear relation between whatever you set
> this to and the maximum scheduling latency you see. It was developed to
> solve the exact problem you are describing.

<head-scratching>

Is it possible that you mean pci latency? I'm unable to measure any
scheduling latency > 5ms while pushing IO for all my little Barracuda
disk is worth. I _can_ generate mp3 player audio dropout though,
despite mp3 files living on a separate drive/controller.

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