Hello list,
did I understand correctly that the writes are acknowledged by the
HDDs/SSDs when the data is on the write cache, and not on the platters,
and this is independent from the current setting of NCQ (enabled /
disabled)?
So the NCQ being enabled only allows to save the latency of the trip of
the write commands on the wire up to the DRAM cache on the HDD plus the
reception of an ack in the opposite direction (analogous to one round
trip ping time in networking), by issuing multiple of them before
receiving the first ack (analogous to the window of TCP)?
So NCQ has nothing to do on write performance of the disk per-se?
I'm asking because browsing around I found this:
http://en.wikipedia.org/wiki/Native_Command_Queuing
see the image
http://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/NCQ.svg/300px-NCQ.svg.png
This apparently tells that the write order is strictly sequential in
non-NCQ mode while it can be nonsequential with NCQ, but I'm starting to
think this is wrong otherwise what would be the role of the drive's
write cache?
(I am restricting the question to writes only for now)
Thank you
J.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html