Re: [PATCH] speed up SATA

From: Jamie Lokier
Date: Sat Apr 03 2004 - 08:51:38 EST


Jeremy Higdon wrote:
> > Are you refuting the following assertion by Eric D. Mudama's, based on
> > your measurements? In other words, are ATA's 32 TCQ slots enough to
> > eliminate the performance advantage of write cacheing?
>
> I must apologize. I had thought the context was SCSI, but now I
> see that it is linux-ide. So please disregard comments about command
> queueing.

We're talking about _with_ TCQ, on serial ATA (SATA) where TCQ is common,
and deliberately disabling the write cache so that TCQ completions
indicate when the data is written.

If your measurements indicate that 32 queue slots is adequate with
SCSI drives to eliminate the overhead of disabling write cacheing,
then that's valuable information. The drives are basically the same
after all.

> If you have write cache disabled and no TCQ (latter is common,
> former may or may not be), you want to write as big a chunk as you can.

That's a handy insight too. Personally I hadn't thought about large
requests reducing the rotation latency with write cache disabled.

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