* Re: raid5 bitmap performance
[not found] <20061026183015.GA20602@cm.nu>
@ 2006-10-26 19:40 ` Paul Clements
0 siblings, 0 replies; only message in thread
From: Paul Clements @ 2006-10-26 19:40 UTC (permalink / raw)
To: Shane; +Cc: linux-raid
Shane wrote:
> I just thought I'd give internal bitmaps a try using mdadm
> -G -b internal and the write speed:
> dd if=/dev/zero of=test.dat oflag=dsync bs=1024k count=1024
> went from 20mbps to 15mbps. Is that a typical hit for the
> bitmap? I don't resync very often so it may not be
> necessary. Just wondering whether there is anything that
> should be tuned.
You could try tuning the bitmap chunk size. The bitmap chunk size
determines how much data each bit represents, so it determines how often
the bitmap has to be updated when you're writing data to the array. By
default, it's set according to whatever can fit into the space between
the md superblock and the end of the disk (typically 60KB). If you have
small disks, the chunk size will be 4K, and it goes up from there
depending on the size of the disks (typically in the range of 64KB-256KB).
You might try a bitmap chunk size of a megabyte or several megabytes and
see if that improves things. It'll mean less seeking of the disk head to
do the bitmap updates.
--
Paul
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-26 19:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20061026183015.GA20602@cm.nu>
2006-10-26 19:40 ` raid5 bitmap performance Paul Clements
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).