Re: [PATCH] speed up SATA
From: Jens Axboe
Date: Sun Mar 28 2004 - 12:44:28 EST
On Sun, Mar 28 2004, Jeff Garzik wrote:
> Jamie Lokier wrote:
> >Jeff Garzik wrote:
> >
> >>TCQ-on-write for ATA disks is yummy because you don't really know what
> >>the heck the ATA disk is writing at the present time. By the time the
> >>Linux disk scheduler gets around to deciding it has a nicely merged and
> >>scheduled set of requests, it may be totally wrong for the disk's IO
> >>scheduler. TCQ gives the disk a lot more power when the disk integrates
> >>writes into its internal IO scheduling.
> >
> >
> >Does TCQ-on-write allow you to do ordered write commits, as with barriers,
> >but without needing full cache flushes, and still get good performance?
>
> Nope, TCQ is just a bunch of commands rather than one. There are no
> special barrier indicators you can pass down with a command.
What would be nice (and I seem to recall that Andre also pushed for
this) would be the FUA bit doubling as an ordered tag indicator when
using TCQ. It's one of those things that keep ATA squarely outside of
the big machine uses. That other OS had a differing opinion of what to
do with that, so...
--
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/