Re: [PATCH] speed up SATA
From: Eric D. Mudama
Date: Sun Mar 28 2004 - 16:00:57 EST
Er, forgot about the queue depth of only 2...
Even in that case, you'll more than likely still get better throughput
with a single 32-MB command... If you send a pair of queued commands
down, and the 2nd one is chosen, there's no reason that the first one
won't get starved until the very end of the request, which would have
bad latency on that command.
Even worse, would be it getting force-promoted in the middle of the
rest of the 32MB chunk due to an approaching internal timeout, and
therefore interrupting a 31-MB sequential read to do a 1MB read.
However, most of this is silly... 32 1MB requests will be way faster
than 32,000 1LBA requests, etc... in general, bigger requests = better
throughput for all but a few specific workloads that I can think of
off the top of my head. (lots of simultaneous stream workloads with
very low latency requirements per-stream, for example)
Eric D. Mudama
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/