Re: [PATCH] SATA NCQ support

From: Eric D. Mudama
Date: Sun May 29 2005 - 23:05:39 EST


On 29 May 2005 23:41:31 -0400, Greg Stark <gsstark@xxxxxxx> wrote:
> I would be interested to see those benchmarks people were posting earlier
> claiming 30-40% difference retested with write caching disabled. I suspect
> disabling write caching will demolish the non-NCQ performance but have a much
> smaller effect on NCQ-enabled performance.
>
> Currently Postgres strongly recommends SCSI drives and the belief is that it's
> the tagged command queuing that allows SCSI drives to perform well without
> resorting to data integrity destroying write caching.

If used properly, I don't feel write cache "destroys" data integrity,
you just need to get your power failure tolerance elsewhere.

ATA has a limitation of 32 tags, so queued write cache off won't beat
unqueued write cache on in any modern drive.

The real reason most SCSI drives do so well uncached is they use huge
magnets with short, stiff actuators, smaller platters, and they spin
significantly faster. NCQ certainly helps, but spending more money on
mechanics makes a significant difference. Pick up a SCSI drive and an
ATA drive, you'll feel the SCSI weighs seemingly twice as much.

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