- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: raid10 is slow - or am I missing ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2009 03:46 AM
тАО10-20-2009 03:46 AM
raid10 is slow - or am I missing ?
please help me, what I am doing wrong.
/dev/md0 is raid1 consist upon sda7, and sda8.
/dev/md1 is raid1 consist upon sda9, and sda10.
/dev/md2 is raid0 consist upon md0, and md1.
# mdadm --create /dev/md2 --chunk=64 --level=0 --raid-devices=2 /dev/md[01]
# cat /proc/mdstat
Personalities : [raid1] [raid0]
md2 : active raid0 md1[1] md0[0]
626176 blocks 64k chunks
md1 : active raid1 sda10[1] sda9[0]
313152 blocks [2/2] [UU]
md0 : active raid1 sda8[1] sda7[0]
313152 blocks [2/2] [UU]
unused devices:
performed the following test that proves that RAID10 is slower.
md2 is raid10
# hdparm -t /dev/md2
/dev/md2:
Timing buffered disk reads: 86 MB in 3.07 seconds = 27.97 MB/sec
md0 and md1 are raid1
# hdparm -t /dev/md0
/dev/md0:
Timing buffered disk reads: 180 MB in 3.00 seconds = 59.95 MB/sec
please help/suggest.
Regards
needee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2009 04:27 AM
тАО10-20-2009 04:27 AM
Re: raid10 is slow - or am I missing ?
RAID10 is two or more raid1 devices(md0,md1) in a raid1 device(md2)
thats why I did the following.
# mdadm --create /dev/md2 --chunk=64 --level=0 --raid-devices=2 /dev/md0 /dev/md1
and I think I have followed the proper definition.
"RAID-10 can be implemented as a stripe of RAID-1 pairs. For example, given 6 devices, you may configure them as three RAID-1s A, B and C, and then configure a RAID-0 of ABC."
source: http://strugglers.net/wiki/Linux_RAID_best_practices
but I found the following command
# mdadm -v --create /dev/md0 --level=raid10 --chunk=8 --raid-devices=7 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdg1 /dev/sdh1
at http://www.experts-exchange.com/OS/Linux/Q_24089444.html
i.e instead of creating two or more raid1 devices(md), and then creating 'raid0' on top of two or more raid1.. in above command they created the 'raid10' directly on sd devices...
whats that ?
please suggest/help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2009 10:36 AM
тАО10-20-2009 10:36 AM
Re: raid10 is slow - or am I missing ?
That might be due to the underlying storage... What are the various /dev/sdx devices ?
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2009 08:02 PM
тАО10-20-2009 08:02 PM
Re: raid10 is slow - or am I missing ?
>That might be due to the underlying storage
same devices are giving better results when in raid1, but performing slow when under raid10.
>What are the various /dev/sdx devices ?
sata disk.
its a desktop class machine(just for testing).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2009 12:39 AM
тАО10-25-2009 12:39 AM
Re: raid10 is slow - or am I missing ?
May be it's related to record size which hdparm uses? I mean - when record size is small, system doens't strip it.
And probably it's a real problem - see this http://www.linuxquestions.org/questions/linux-software-2/poor-raid-0-performance.-mdadm-sata-centos-5-698706/
See also this article http://www.linux-mag.com/id/7582/1/; unfortunately, they don't compare RAID0 vs physical disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2009 11:07 AM
тАО10-25-2009 11:07 AM
Re: raid10 is slow - or am I missing ?
I think you should run dd read tests on each device in the underlying storage.
Then you should consider changing the configuration to straight raid 1 and see if it improves performance.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2009 12:31 PM
тАО10-26-2009 12:31 PM
Re: raid10 is slow - or am I missing ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2009 02:39 AM
тАО10-27-2009 02:39 AM
Re: raid10 is slow - or am I missing ?
kudos to Court - he was first who found explanation!