From: Brad Campbell <brad@wasp.net.au>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: RAID Linux <linux-raid@vger.kernel.org>
Subject: Re: "Rebuild" speed on a forced resync
Date: Fri, 14 Jan 2005 22:34:02 +0400 [thread overview]
Message-ID: <41E8109A.7000603@wasp.net.au> (raw)
In-Reply-To: <16868.28778.598528.338592@cse.unsw.edu.au>
Neil Brown wrote:
> On Tuesday January 11, brad@wasp.net.au wrote:
>
>>G'day all,
>>
>>Just started my big raid using mdadm --update resync to ensure the parity blocks are A-OK after a
>>kernel panic, and I have been monitoring my Disk IO with
>>iostat -k 5
>>
>>Now this is an average for a 5 second period.
>>I note I'm seeing about 12,456 Kilobytes/sec from each drive, but a cat /proc mdstat is giving me
>>6716 Kilobytes/sec. Given I'm doing a read consistency check I would expect an mdstat speed 9/10ths
>>of my bulk per-drive read speed. (This array is sda -> sdj)
>>Am I missing something really obvious?
>>
>>avg-cpu: %user %nice %sys %iowait %idle
>> 39.18 0.00 60.82 0.00 0.00
>>
>>Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
>>hda 0.00 0.00 0.00 0 0
>>sda 97.76 12465.67 0.00 33408 0
>>sdb 97.76 12465.67 0.00 33408 0
>>sdc 97.76 12465.67 0.00 33408 0
>
>
> So this is a 5 second sample...
> In 5 seconds, 33408 kB were read.
> That's 6681.6 kB/sec according to my calculator.
>
> So it looks like iostat is reporting something wrongly. I would look
> there first.
Ok, fair call on those stats. Having said that, we are talking 6.6 MB/sec per disk. Do I take it the
/proc/mdstat figure of 6 MB/sec is not a total array rebuild speed, but a speed per array member?
Regards,
Brad
next prev parent reply other threads:[~2005-01-14 18:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-11 9:47 "Rebuild" speed on a forced resync Brad Campbell
2005-01-12 0:33 ` Neil Brown
2005-01-14 18:34 ` Brad Campbell [this message]
2005-01-12 0:48 ` Guy
2005-01-12 4:31 ` Brad Campbell
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=41E8109A.7000603@wasp.net.au \
--to=brad@wasp.net.au \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@cse.unsw.edu.au \
/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.