bitmap-chunk sizing on RAID-10?

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

 



Hi,

I didn't want to hijack the thread, so a new one here.

On Wed, Nov 11, 2009 at 2:10 PM, Robin Hill <robin@xxxxxxxxxxxxxxx> wrote:
> It's true for RAID-10, yes.  You can't physically grow the array, but
> you can definitely add/remove the bitmap.

Thanks for clearing that up.  The manpage is a bit unclear to my read.

I've just been reading threads about proper sizing.  Large
bitmap-chunk seems good, larger than "1 million bits" -- not, and an
old bug (resolved?) if bitmap-chunk is smaller than raid10 chunk size.

I've two arrays --

   /dev/md0 (RAID-1, across 4x 160MB partitions)

   /dev/md1 (RAID-10/f2 , across 4x ~1TB partitions, --chunk=256 )

The first array is so small, that resync takes just a few seconds
anyway.  Is there any advantage to still installing an internal
write-intent bitmap on it?

The second array takes a few hours to resync from scratch, and so the
bitmap has performance value.  What's the right size for
--bitmap-chunk for an internal bitmap?  Iiuc, the default that "is
automatically deteremined to make best use of available space" results
in 2x-4x (some say 10%) write-performance slowdowns.  I'd like to
avoid that perf hit, but since I did NOT create the array with bitmap,
getting sizing "right" (i.e., not too big for the superblock space) is
important.

Some threads refere to "the math" for different RAID types, but I
haven't figured out what that math is yet.

How do I get to the "right" bitmap-chunk size?

Thanks

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