From: Dark Penguin <darkpenguin@yandex.ru>
To: Roman Mamedov <rm@romanrm.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: Bitmap in RAM?
Date: Sat, 8 Oct 2016 19:23:04 +0300 [thread overview]
Message-ID: <57F91D68.1080708@yandex.ru> (raw)
In-Reply-To: <20161008210216.1a3fead2@natsu>
If I remove it entirely, I won't be able to re-add drives at all. If I
move it to a tmpfs, then I can re-add them, but not across reboots - and
with no downsides, which I want to confirm. So this would be better than
removing it completely.
I've thought about it and switched the external bitmaps to the
chunk-size of 65536, which apparently is the default for intermal
bitmaps. They've become much smaller, which means the default size
selected for them before was indeed much higher. I'll see if I notice
any difference the next time I'm moving data around; maybe the load will
indeed be negligible.
On 08/10/16 19:02, Roman Mamedov wrote:
> On Sat, 8 Oct 2016 15:54:26 +0300
> Dark Penguin <darkpenguin@yandex.ru> wrote:
>
>> So if I were to place it on a tmpfs, I could eliminate this problem only
>> at the expense of being unable to re-add drives after a reboot, right?..
>
> If you don't need that ability, you can just remove bitmap entirely, it's not
> mandatory. Run:
>
> mdadm --grow --bitmap=none /dev/mdX
>
> However I'd say being able to re-add drives is very useful, so first consider
> switching to a higher bitmap granularity,
>
> mdadm --grow --bitmap=none /dev/mdX
> mdadm --grow --bitmap=internal --bitmap-chunk=131072 /dev/mdX
>
> (or even 262144, 524288) as that will reduce the performance impact of the
> bitmap.
>
--
darkpenguin
next prev parent reply other threads:[~2016-10-08 16:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-08 12:54 Bitmap in RAM? Dark Penguin
2016-10-08 16:02 ` Roman Mamedov
2016-10-08 16:23 ` Dark Penguin [this message]
2016-10-28 5:58 ` NeilBrown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57F91D68.1080708@yandex.ru \
--to=darkpenguin@yandex.ru \
--cc=linux-raid@vger.kernel.org \
--cc=rm@romanrm.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.