This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

bug in script

Posted by: Anonymous [ip: 69.207.190.95] on July 02, 2008 02:07 PM
Shouldn't STRIDE_SZ_KB=$((CHUNK_SZ_KB/4));
be:
STRIDE_SZ_KB=$($CHUNK_SZ_KB*$NON_PARITY_DRIVE_COUNT); i.e. chunk is the per drive piece, the series of chunks is the stripe, thus stripe size should be (N-1)*chunksize, where N is the TOTAL number of disks in the RAID set.

Maybe I'm just plain wrong?

#

Return to A new utility for quickly interpreting multiple Bonnie++ benchmarks