Re: Thoughts on using fs/jbd from drivers/md

Stephen C. Tweedie (sct@redhat.com)
Mon, 27 May 2002 12:34:38 +0100


Hi,

On Sun, May 26, 2002 at 10:41:22AM +0200, Daniel Phillips wrote:
> On Thursday 16 May 2002 17:17, Stephen C. Tweedie wrote:
> > Most applications are not all that bound by write latency.
>
> But some are. Transaction processing applications, where each transaction
> has to be safely on disk before it can be acknowledged, care about write
> latency a lot, since it translates more or less directly into throughput.

Not really. They care about throughput, and will happily sacrifice
latency for that. The postmark stuff showed that very clearly --- by
yielding in transaction commit and allowing multiple transactions to
batch up, Andrew saw an instant improvement of about 3000% in postmark
figures, despite the fact that the yield is obviously only going to
increase the latency of each individual transaction. Pretty much all
TP benchmarks focus on throughput, not latency.

So while latency is important, if we have to tradeoff against
throughput, that is normally the right tradeoff on synchronous write
traffic. For reads, latency is obviously critical in nearly all
cases.

Cheers,
Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/