linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bitmap-chunk sizing on RAID-10?
@ 2009-11-11 23:32 Ben DJ
  2009-11-12  2:00 ` Doug Ledford
  0 siblings, 1 reply; 2+ messages in thread
From: Ben DJ @ 2009-11-11 23:32 UTC (permalink / raw)
  To: robin, Linux RAID Mailing List

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@robinhill.me.uk> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-12  2:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-11 23:32 bitmap-chunk sizing on RAID-10? Ben DJ
2009-11-12  2:00 ` Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).