Re: raid0 slower than devices it is assembled of?

From: Jamie Lokier
Date: Wed Dec 17 2003 - 14:27:34 EST


Linus Torvalds wrote:
> My personal guess is that modern RAID0 stripes should be on the order of
> several MEGABYTES in size rather than the few hundred kB that most people
> use (not to mention the people who have 32kB stripes or smaller - they
> just kill their IO access patterns with that, and put the CPU at
> ridiculous strain).

If a large fs-level I/O transaction is split into lots of 32k
transactions by the RAID layer, many of those 32k transactions will be
contiguous on the disks.

That doesn't mean they're contiguous from the fs point of view, but
given that all modern hardware does scatter-gather, shouldn't the
contiguous transactions be merged before being sent to the disk?

It may strain the CPU (splitting and merging in a different order lots
of requests), but I don't see why it should kill I/O access patterns,
as they can be as large as if you had large stripes in the first place.

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