linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeremy Sanders <jeremy@jeremysanders.net>
To: linux-raid@vger.kernel.org
Subject: async/X threads and rebuild slowdown
Date: Tue, 16 Mar 2010 12:41:13 +0000	[thread overview]
Message-ID: <hnnu9c$tsj$1@dough.gmane.org> (raw)

Hi - It seems our MD raid rebuild speeds are very slow with the new Fedora 
2.6.32.9-70 kernel. We're only getting ~13MB/s:

[root@xback2 ~]# cat /proc/mdstat 
Personalities : [raid6] [raid5] [raid4] 
md0 : active raid5 sdb1[0] sdj1[10](S) sdk1[9] sdl1[8] sdi1[7] sdh1[6] 
sdg1[5] sdf1[4] sde1[3] sdd1[2] sdc1[1]
      8788959360 blocks level 5, 32k chunk, algorithm 2 [10/10] [UUUUUUUUUU]
      [=====>...............]  resync = 29.3% (286397320/976551040) 
finish=897.2min speed=12819K/sec
      
The maximum rebuild speed is at the default 200000K/s. The drives are 
connected to a 3ware 9650SE-16ML controller on PCI-Express.

There seem to be hundreds of async/X threads, where X goes up to 129 at 
least. The md0_raid5 process is using at least 80% of the CPU on this dual 
core Athlon 7750 system.

Has anything changed recently in the kernel. I don't remember md0_raid5 
being so processor inefficient, slow at rebuilding or creating hundreds of 
kernel threads.

Are these async/X threads documented anywhere?

Thanks

Jeremy




             reply	other threads:[~2010-03-16 12:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-16 12:41 Jeremy Sanders [this message]
2010-03-16 13:24 ` async/X threads and rebuild slowdown Tao Guo
2010-03-16 13:49   ` John Robinson
2010-03-23 21:08     ` Dan Williams

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='hnnu9c$tsj$1@dough.gmane.org' \
    --to=jeremy@jeremysanders.net \
    --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).