On Mon, 12 Oct 1998, Benjamin de los Angeles Jr. wrote:

> Basing from the short documentation included in raidtools -- is the chunk
> size used in writing AND reading data from a RAID device?  If it is,
> then in a RAID0 setup, it would be better if I have smaller chunks i.e.
> 8k, that is if I have smaller sizes of data, ideally 8k * n size, where n
> is the number of RAID'D disks.  The reverse is true if I have bigger
> files, they  need a bigger chunk size.

yes, exactly.

> For RAID1, the bigger the chunk size the better, unless all data are too
> small for the chunk, which is inefficient.

for RAID1 it makes no difference currently. (as a mirror doesnt have
chunks). But it's enforced by raidtools because this could be used in the
future to tune read-balancing behavior. (small chunk size: optimizes for
small reads, large chunk size: optimizes for large reads)

-- mingo

Reply via email to