From: Martin Cracauer <cracauer@cons.org>
To: linux-raid@vger.kernel.org
Subject: Giving top priority to a rebuild instead of serving userland?
Date: Mon, 9 Jan 2012 09:21:16 -0500 [thread overview]
Message-ID: <20120109142116.GA34289@cons.org> (raw)
I am doing a resize on a 4 x 1 TB raid5 array (going to 5x 1 TB).
When there is no userland I/O it reports about 1000 minutes to
rebuild. However, minor amount of userland demand makes it shoot up
to 3500-4000 as the rebuild puts it's own interests behind.
However, the I/O there is garbage, in this case a disk-noisy web
browser. Can I tell md to give priority to it's rebuild and serve
userland as it pleases with -say- a maximum of 10% rebuild time
increase? Yes I know that'll make the system very sluggy.
I would be finished already but overnight I left a browser tab open
that caused according to iostat 400-500 Blk_wrtn contiguously. That
is when *not* actually using the browser (I'll report that as a bug).
Now I am still at 38% rebuild. Didn't seem worth the price I payed :-)
Martin
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/
next reply other threads:[~2012-01-09 14:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-09 14:21 Martin Cracauer [this message]
2012-01-09 20:40 ` Giving top priority to a rebuild instead of serving userland? Alexander Lyakas
2012-01-09 21:57 ` Martin Cracauer
2012-01-10 0:42 ` Anssi Hannula
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=20120109142116.GA34289@cons.org \
--to=cracauer@cons.org \
--cc=linux-raid@vger.kernel.org \
/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).