From: NeilBrown <neilb@suse.de>
To: Jon Nelson <jnelson-linux-raid@jamponi.net>
Cc: LinuxRaid <linux-raid@vger.kernel.org>
Subject: Re: Disappointing performance: 5-disk RAID6, 3.11.6
Date: Wed, 22 Jan 2014 09:54:04 +1100 [thread overview]
Message-ID: <20140122095404.25e63a06@notabene.brown> (raw)
In-Reply-To: <CAKuK5J34CvTwZ5S6uyBUdEft2SkwrycXvYfNvQATit8GbdZcuw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3333 bytes --]
On Tue, 21 Jan 2014 10:42:19 -0600 Jon Nelson
<jnelson-linux-raid@jamponi.net> wrote:
> I have a 5-disk RAID6 using (5) 320GB SATA drives.
> I rarely see even sequential I/O approaching that of a single drive's
> performance.
> Example: (Rarely!) I'll see an aggregate 250MB/s read or write, but
> that translates to 50MB/s read or write per-drive. I was hoping for
> more.
A 5 disk RAID6 has 3 data drives (in each stripe), so 250MB/s translates to
250/3 or 83MB/s per drive (skipping over parity data isn't faster than
reading it unless you have a very large chunk size, which brings other costs).
What exactly where you hoping for?
If you run something like
for i in a b c d e
do dd if=/dev/sd${i}3 of=/dev/null bs=1M count=100 &
done
while system is otherwise idle, what throughput does each dd report?
NeilBrown
>
> The partition layout looks like this:
>
> /dev/sda1 : start= 2048, size= 1024000, Id=83, bootable
> /dev/sda2 : start= 1026048, size= 1024000, Id=82
> /dev/sda3 : start= 2050048, size=623091712, Id=fd
> /dev/sda4 : start= 0, size= 0, Id= 0
>
> on all 5 disks, and sd{whatever}3 is used to assemble the raid,
> specifically, /dev/md2.
>
> mdadm -D /dev/md2:
>
> /dev/md2:
> Version : 1.2
> Creation Time : Fri Nov 1 11:13:07 2013
> Raid Level : raid6
> Array Size : 934242816 (890.96 GiB 956.66 GB)
> Used Dev Size : 311414272 (296.99 GiB 318.89 GB)
> Raid Devices : 5
> Total Devices : 5
> Persistence : Superblock is persistent
>
> Intent Bitmap : Internal
>
> Update Time : Tue Jan 21 10:33:52 2014
> State : active
> Active Devices : 5
> Working Devices : 5
> Failed Devices : 0
> Spare Devices : 0
>
> Layout : left-symmetric
> Chunk Size : 64K
>
> Name : turnip:2 (local to host turnip)
> UUID : bece804d:eaaeb280:38d2d7f3:1e493146
> Events : 21788
>
> Number Major Minor RaidDevice State
> 0 8 51 0 active sync /dev/sdd3
> 1 8 35 1 active sync /dev/sdc3
> 2 8 3 2 active sync /dev/sda3
> 3 8 19 3 active sync /dev/sdb3
> 4 8 67 4 active sync /dev/sde3
>
> The filesystem is ext4, and debugfs says:
>
> RAID stride: 16
> RAID stripe width: 48
>
>
> The processor is an AMD Phenom 9150e (quad-core, x86_64) and the O/S
> is openSUSE 13.1, kernel 3.11.6. Some of the hardware looks like this:
>
> 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
> 00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI
> to PCI bridge (int gfx)
> 00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI
> to PCI bridge (PCIE port 3)
> 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI]
> SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
>
>
> Settings:
> The stripe_cache_size is 4096 (see
> http://blog.jamponi.net/2013/12/sw-raid6-performance-influenced-by.html
> )
> readahead is 16384
> scheduler is deadline
> queue depth per-drive is 1.
> nr_requests is 256.
>
> Does this seem out of line? Thoughts?
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2014-01-21 22:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-21 16:42 Disappointing performance: 5-disk RAID6, 3.11.6 Jon Nelson
2014-01-21 16:55 ` Mathias Burén
2014-01-21 22:00 ` Jon Nelson
2014-01-21 22:54 ` NeilBrown [this message]
2014-01-22 0:24 ` Jon Nelson
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=20140122095404.25e63a06@notabene.brown \
--to=neilb@suse.de \
--cc=jnelson-linux-raid@jamponi.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).