From: Neil Brown <neilb@suse.com>
To: "Rainer Fügenstein" <rfu@oudeis.org>, "Roman Mamedov" <rm@romanrm.net>
Cc: Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: performance issue (was: Re: kernel: BUG: soft lockup - CPU#1 stuck for 60s!)
Date: Mon, 26 Oct 2015 05:08:39 +0900 [thread overview]
Message-ID: <87a8r6g188.fsf@notabene.neil.brown.name> (raw)
In-Reply-To: <16514313.20151025202337@oudeis.org>
[-- Attachment #1: Type: text/plain, Size: 1839 bytes --]
Rainer Fügenstein <rfu@oudeis.org> writes:
> Hello Roman,
>
> Saturday, October 24, 2015, 6:31:39 PM, you wrote:
>
>> Use a higher bitmap-chunk size, such as 256M or more.
>
> I guess that would be
>
> mdadm --grow /dev/md0 --bitmap-chunk=256M ??
You would need to remove and then re-add the bitmap. So:
mdadm --grow /dev/md0 --bitmap=none
mdadm --grow /dev/md0 --bitmap=intermnal --bitmap-chunk=256M
>
> is it wise to issue this command during a re-sync?
Depending on kernel version, it will either work or it won't.
Either way, it won't cause harm.
>
> a cron.weekly job started the re-sync (although I'm pretty sure this
> job has been disabled quite some time ago)
Weekly is a bit more often than I would go for, but why disable it?
Regular scanning for latent bad blocks is fairly important for
reliability.
> $ cat /proc/mdstat
> Personalities : [raid6] [raid5] [raid4]
> md0 : active raid5 sdb1[7] sdf1[3] sdc1[5] sde1[0] sdd1[8]
> 11721061376 blocks super 1.2 level 5, 64k chunk, algorithm 2 [5/5] [UUUUU]
> [==>..................] resync = 11.9% (348948608/2930265344) finish=7771.1min speed=5533K/sec
> bitmap: 8/350 pages [32KB], 4096KB chunk
That isn't a cronjob started resync. That would say "check" rather than
'resync".
This looks a lot like a resync after an unclean restart. But with the
bitmap that should go faster...
What does "mdadm --examine-bitmap /dev/sdb1" report?
NeilBrown
>
> unused devices: <none>
>
> tnx & cu
>
> --
> Best regards,
> Rainer mailto:rfu@oudeis.org
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next prev parent reply other threads:[~2015-10-25 20:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-15 13:38 kernel: BUG: soft lockup - CPU#1 stuck for 60s! [md0_raid5:1614] Rainer Fügenstein
2015-10-16 1:15 ` Neil Brown
2015-10-16 19:31 ` Rainer Fügenstein
2015-10-24 16:15 ` performance issue (was: Re: kernel: BUG: soft lockup - CPU#1 stuck for 60s!) Rainer Fügenstein
2015-10-24 16:31 ` Roman Mamedov
2015-10-25 19:23 ` Rainer Fügenstein
2015-10-25 20:08 ` Neil Brown [this message]
2015-10-25 20:32 ` Rainer Fügenstein
2015-10-25 21:10 ` Neil Brown
2015-11-02 22:55 ` performance issue Rainer Fügenstein
2015-11-03 1:34 ` Neil Brown
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=87a8r6g188.fsf@notabene.neil.brown.name \
--to=neilb@suse.com \
--cc=linux-raid@vger.kernel.org \
--cc=rfu@oudeis.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 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).