Re: [rfc][patch] remove racy sync_page?

From: Jens Axboe
Date: Wed May 31 2006 - 08:59:28 EST


On Wed, May 31 2006, Mark Lord wrote:
> Jens Axboe wrote:
> >
> >NCQ helps us with something we can never fix in software - the
> >rotational latency. Ordering is only a small part of the picture.
>
> Yup. And it also helps reduce the command-to-command latencies.

That too, however that's a much much smaller part.

> I'm all for it, and have implemented tagged queuing for a variety
> of device drivers over the past five years (TCQ & NCQ). In every
> case people say.. wow, I expected more of a difference than that,
> while still noting the end result was faster under Linux than MS$.
>
> Of course with artificial benchmarks, and the right firmware in
> the right drives, it's easier to create and see a difference.
> But I'm talking more life-like loads than just a multi-threaded
> random seek generator.

Definitely, the random pseudo read work load is about as good as it gets
for NCQ, and it was tailored to keep the queue full at all times. So I
agree, real life will see less of a benefit. But it's still there.

--
Jens Axboe

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