Re: Higher than expected disk write(2) latency

From: David Newall
Date: Sat Jun 28 2008 - 10:47:44 EST


Martin Lucina wrote:
> Measurement of the write(2) time is performed using the TSC, so any
> latency there is negligible.

Measuring each write is lavish and bound to impact the results. To
measure sustained throughput, get the time only at start and end, and
divide the difference by the number of writes.
--
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/