Re: MD performance options: More CPU’s or more Hz’s?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mark delfman wrote:
I think this is a great point... i had not thought of the extra two
chunks of data being written... BUT, not sure if in this case it is
the limiter as we are using 12 drives.

Disclaimer... I'm a filesystem guy not a raid guy, so someone
who is may say I'm completely wrong.

IMO 12 drives actually makes raid6 performance much worst.

Think it through, raid0 writes are substripe granularity,
raid6 must either write all 12 (10 data, 2 check) stripes
at once or if you write 1 stripe, read 9 data stripes to
build and write the 2 check stripes.

The problem is even if you have a good application sending
writes in the 10-stripe-length-multiples of the set, the
kernel layers may chunk it and deliver it to md in smaller
random sizes.

Unless it is a single stream writing and md buffers the
whole stripe set, writes will cause md reads.

And you will never have a single stream from a filesystem
because metadata will be updated at some point.  You can
minimize that by only doing overwrites.  Allocating writes
are terrible in all filesystems because a lot of metadata
has to be modified.  Metadata writes are also a performance
killer because they are small (usually under 1 stripe) and
always cause seeks.

the hardware does bottleneck at around 1.6GBs for writes (reaches this
with 8 / 9 drives).

So compare at 8 drives using raw writes of 6-stripe-lengths
where raid0 uses a 4 transfers for each 3 raid6 transfers.

jim
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux