All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Zevenboom <olaf@artefact.nl>
To: linux-raid@vger.kernel.org
Subject: q: RAID1 with very unbalanced disk performance
Date: Tue, 06 Apr 2010 17:28:03 +0200	[thread overview]
Message-ID: <4BBB5303.1090001@artefact.nl> (raw)

Dear List,

We have a setup with two SATA2 1.5 TB harddisks in MD/LVM2 RAID1 setup 
on Debian Lenny stock kernel.
As it is suffering from performance troubles I did take a closer look 
and noticed that /dev/sda is way more intensively used than /dev/sdb. I 
monitored the drives with various tools including atop.
/dev/sda is always a bit busier than /dev/sdb. This behavior can also be 
seen on other systems with a similar setup (Etch and Lenny), but on this 
particular system /dev/sda is about 10% more intensively used. Although 
I think that is quite a lot and not as it should be I can live with 
that. What worries me more is that /dev/sda can peek upto 100% 
disk-utilization causing the system to be temporary unresponsive whilest 
/dev/sdb does not seem to peek over 20% or so.
Any pointers on what is happening here and/or how I can resolve this 
issue are quite welcome.

Thanking you in advance,
Olaf Zevenboom

Details:

Running Debian Lenny with stock kernel 2.6.26-2-amd64 #1 SMP
LVM2 on top of MD

2 SATA2 1.5tb disks: lsscsi
[0:0:0:0]    disk    ATA      WDC WD15EARS-00Z 80.0  /dev/sda
[1:0:0:0]    disk    ATA      ST31500541AS     CC32  /dev/sdb

cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sda2[0] sdb2[1]
      1464886912 blocks [2/2] [UU]
     
md0 : active raid1 sda1[0] sdb1[1]
      248896 blocks [2/2] [UU]
     
unused devices: <none>

hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   2890 MB in  2.00 seconds = 1445.36 MB/sec
 Timing buffered disk reads:  300 MB in  3.01 seconds =  99.67 MB/sec

hdparm -tT /dev/sdb

/dev/sdb:
 Timing cached reads:   7482 MB in  2.00 seconds = 3743.83 MB/sec
 Timing buffered disk reads:  302 MB in  3.02 seconds = 100.00 MB/sec



             reply	other threads:[~2010-04-06 15:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-06 15:28 Olaf Zevenboom [this message]
2010-04-06 16:31 ` q: RAID1 with very unbalanced disk performance Mark Knecht

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=4BBB5303.1090001@artefact.nl \
    --to=olaf@artefact.nl \
    --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 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.