Re: [PATCH] barrier patch set

From: Stephen C. Tweedie
Date: Wed Mar 31 2004 - 09:06:53 EST


Hi,

On Tue, 2004-03-30 at 23:13, Chris Mason wrote:

> Most database benchmarks are done on scsi, and the blkdev_flush should
> be a noop there. For IDE based database and mail server benchmarks, the
> results won't be pretty.

Yep. I'm really not too worried about big database benchmarks -- those
are very much special cases, using rather specialised storage setup
(SCSI or FC, striped over lots of small disks rather than fewer large
ones.) I'm much more concerned about your average LAMP user's mysql
database, and how to keep performance sane on that.

> The reiserfs fsync code tries hard to only flush once, so if a commit is
> done then blkdev_flush isn't called. We might have to do a few other
> tricks to queue up multiple synchronous ios and only flush once.

Batching is really helpful when you've got lots of threads that can be
coalesced, yes. ext3 does that for things like mail servers. I'm not
sure whether the same tricks will apply to the various databases out
there, though.

--Stephen

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