linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sevrin Robstad <quackyo@start.no>
To: Steve Cousins <steve.cousins@maine.edu>
Cc: linux-raid@vger.kernel.org
Subject: Re: bad performance on RAID 5
Date: Thu, 18 Jan 2007 21:43:12 +0100	[thread overview]
Message-ID: <45AFDBE0.9090507@start.no> (raw)
In-Reply-To: <45AFBC85.8020500@maine.edu>

Steve Cousins wrote:
> Sevrin Robstad wrote:
>> I'm suffering from bad performance on my RAID5.
>>
>> a "echo check >/sys/block/md0/md/sync_action"
>>
>> gives a speed at only about 5000K/sec , and HIGH load average :
> What do you get when you try something like:
>
> time dd if=/dev/zero of=/mount-point/test.dat bs=1024k count=1024
>
> where /mount-point is where /dev/md0 is mounted.
>
> This will create a 1 GiB file and it will tell you how long it takes 
> to create it.  Also, I'd try running Bonnie++ on it to see what the 
> different performance values are.
>
> I don't know a lot about the md sync process but I remember having my 
> sync action stuck at a low value at one point and it didn't have 
> anything to do with the performance of the RAID array in general.
>

I ran the a couple of times, and got either about 28MB/s or about 
34MB/s. strange.
When I run the same test on a single disk connected to another 
controller I get about 60MB/s.


[root@compaq ~]# time dd if=/dev/zero of=/mnt/gigaraid/1gb.testfile 
bs=1024k cou   nt=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 38.1873 seconds, 28.1 MB/s

real    0m38.321s
user    0m0.009s
sys     0m8.602s
[root@compaq ~]# time dd if=/dev/zero of=/mnt/gigaraid/1gb.testfile 
bs=1024k cou   nt=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 31.4377 seconds, 34.2 MB/s

real    0m31.949s
user    0m0.016s
sys     0m8.988s
[root@compaq ~]# time dd if=/dev/zero of=/mnt/gigaraid/1gb.testfile 
bs=1024k cou   nt=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 37.599 seconds, 28.6 MB/s

real    0m38.151s
user    0m0.011s
sys     0m9.291s
[root@compaq ~]# time dd if=/dev/zero of=/mnt/gigaraid/1gb.testfile 
bs=1024k count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 31.2569 seconds, 34.4 MB/s

real    0m31.765s
user    0m0.007s
sys     0m8.913s
[root@compaq ~]# time dd if=/dev/zero of=/mnt/gigaraid/1gb.testfile 
bs=1024k count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 37.4778 seconds, 28.7 MB/s

real    0m37.923s
user    0m0.009s
sys     0m9.231s

  reply	other threads:[~2007-01-18 20:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17 21:33 bad performance on RAID 5 Sevrin Robstad
2007-01-17 22:38 ` Justin Piszcz
2007-01-18  9:06   ` Raz Ben-Jehuda(caro)
2007-01-18 18:20     ` Sevrin Robstad
2007-01-18 19:56       ` Raz Ben-Jehuda(caro)
2007-01-18 23:01       ` Bill Davidsen
2007-01-18 18:19   ` Sevrin Robstad
2007-01-18 19:02     ` Mark Hahn
2007-01-18 20:47       ` Sevrin Robstad
2007-01-18 18:29 ` Steve Cousins
2007-01-18 20:43   ` Sevrin Robstad [this message]
2007-01-18 23:10   ` Bill Davidsen
2007-01-21 17:08     ` Nix
2007-01-21 19:09       ` Bill Davidsen
2007-01-19  1:33 ` dean gaudet
2007-01-20 10:18   ` Roger Lucas

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=45AFDBE0.9090507@start.no \
    --to=quackyo@start.no \
    --cc=linux-raid@vger.kernel.org \
    --cc=steve.cousins@maine.edu \
    /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).