* SATA RAID-1 benchmarks
@ 2005-07-31 5:04 Jeff Breidenbach
2005-07-31 9:31 ` Gordon Henderson
2005-07-31 11:58 ` [RAID] SATA RAID-1 benchmarks Julian Cowley
0 siblings, 2 replies; 9+ messages in thread
From: Jeff Breidenbach @ 2005-07-31 5:04 UTC (permalink / raw)
To: linux-raid
Hi all,
I just ran a Linux software RAID-1 benchmark with some 500GB SATA
drives in NCQ mode, along with a non-RAID control. Details are here
for those interested.
http://www.jab.org/raid-bench/
Comments are appreciated. I'm curious if people are happy, sad, or
surprised by any of the numbers, and whether or not a hardware RAID
would have a prayer of doing better in any category.
Cheers,
Jeff
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: SATA RAID-1 benchmarks 2005-07-31 5:04 SATA RAID-1 benchmarks Jeff Breidenbach @ 2005-07-31 9:31 ` Gordon Henderson 2005-07-31 16:06 ` Multiplexed RAID-1 mode Al Boldi 2005-07-31 11:58 ` [RAID] SATA RAID-1 benchmarks Julian Cowley 1 sibling, 1 reply; 9+ messages in thread From: Gordon Henderson @ 2005-07-31 9:31 UTC (permalink / raw) To: Jeff Breidenbach; +Cc: linux-raid On Sat, 30 Jul 2005, Jeff Breidenbach wrote: > > Hi all, > > I just ran a Linux software RAID-1 benchmark with some 500GB SATA > drives in NCQ mode, along with a non-RAID control. Details are here > for those interested. > > http://www.jab.org/raid-bench/ > > Comments are appreciated. I'm curious if people are happy, sad, or > surprised by any of the numbers, and whether or not a hardware RAID > would have a prayer of doing better in any category. The results you get are about what I get on various systems - essentially with RAID-1 you get about the same speed as a single drive will get. You can get a little bit more if the reads read from alternative disks (which I understand they do based on the strip size). Writing is the killer though as it has to write to both disks at the same time, but on a 2-disk setup I've not noticed much difference from a single drive. I have a few systems that have a 4-way (and more) RAID-1 for the boot/root partition and then writes are slower, but it's not an issue for them. I've not used a hardware raid system for many years though, so no real clues about how good or bad they might be these days. Personally I'm a shade wary of them, especially if you need additional drivers - if I was going down that route, I think I'd rather have a completely separate box that just connects in with a single SCSI cable and looks like a single SCSI disk, so you can use it with your favourite known and trusted SCSI card and driver, but then who's to say that the SCSI card driver is any better (or worse) than the RAID card driver... Heres one of my typical 2-disk IDE setups (Athlon XP2400+, 512MB RAM, nVidia nForce2 IDE controller) Version 1.03 ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP cerberus 1G 47356 19 25435 8 48554 8 312.1 0 cerberus:/var/tmp# hdparm -tT /dev/md1 /dev/hda1 /dev/hdc1 /dev/md1: Timing cached reads: 1472 MB in 2.00 seconds = 735.01 MB/sec Timing buffered disk reads: 172 MB in 3.02 seconds = 56.94 MB/sec /dev/hda1: Timing cached reads: 1480 MB in 2.00 seconds = 738.64 MB/sec Timing buffered disk reads: 174 MB in 3.03 seconds = 57.38 MB/sec /dev/hdc1: Timing cached reads: 1468 MB in 2.00 seconds = 733.74 MB/sec Timing buffered disk reads: 170 MB in 3.01 seconds = 56.54 MB/sec and heres a 2 disk SATA system: (Xeon HT 3GHz, 2GB RAM, Intel SATA controller) Version 1.03 ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP ns1 4G 46985 17 21626 6 46214 4 355.3 0 ns1:/var/tmp# hdparm -tT /dev/md1 /dev/sda1 /dev/sdb1 /dev/md1: Timing cached reads: 4116 MB in 2.00 seconds = 2058.31 MB/sec Timing buffered disk reads: 174 MB in 3.00 seconds = 57.99 MB/sec /dev/sda1: Timing cached reads: 4096 MB in 2.00 seconds = 2048.31 MB/sec Timing buffered disk reads: 176 MB in 3.03 seconds = 58.11 MB/sec /dev/sdb1: Timing cached reads: 4116 MB in 2.00 seconds = 2057.28 MB/sec Timing buffered disk reads: 176 MB in 3.02 seconds = 58.27 MB/sec (Both running the same OS; Debian sarge with a custom compiled 2.6.11 kernel) So theres not much in it-really. Right now, for the smaller 2-disk servers I'm building, I'm sticking to traditional IDE/P-ATA - but thats just because I still see problems with things like SMART and HDDTEMP with SATA drives. I'm sure this will improve in time though, and when I have the budget, it's still SCSI drives for stability and performance. There are lots of really "cute"/easy to use SATA drive caddy and backplane systems now though, so it is tempting to use them for bigger multi TB storage systems... Gordon ^ permalink raw reply [flat|nested] 9+ messages in thread
* Multiplexed RAID-1 mode 2005-07-31 9:31 ` Gordon Henderson @ 2005-07-31 16:06 ` Al Boldi 2005-08-01 4:22 ` Neil Brown 0 siblings, 1 reply; 9+ messages in thread From: Al Boldi @ 2005-07-31 16:06 UTC (permalink / raw) To: 'Gordon Henderson'; +Cc: linux-raid, 'Jeff Breidenbach' Gordon Henderson wrote: { On Sat, 30 Jul 2005, Jeff Breidenbach wrote: > > I just ran a Linux software RAID-1 benchmark with some 500GB SATA > drives in NCQ mode, along with a non-RAID control. Details are here > for those interested. > > http://www.jab.org/raid-bench/ The results you get are about what I get on various systems - essentially with RAID-1 you get about the same speed as a single drive will get. ns1:/var/tmp# hdparm -tT /dev/md1 /dev/sda1 /dev/sdb1 /dev/md1: Timing cached reads: 4116 MB in 2.00 seconds = 2058.31 MB/sec Timing buffered disk reads: 174 MB in 3.00 seconds = 57.99 MB/sec /dev/sda1: Timing cached reads: 4096 MB in 2.00 seconds = 2048.31 MB/sec Timing buffered disk reads: 176 MB in 3.03 seconds = 58.11 MB/sec /dev/sdb1: Timing cached reads: 4116 MB in 2.00 seconds = 2057.28 MB/sec Timing buffered disk reads: 176 MB in 3.02 seconds = 58.27 MB/sec } Multiplexing read/write requests would certainly improve performance ala RAID-0 (-offset overhead). During reads the same RAID-0 code (+mirroring offset) could be used. During writes though, this would imply delayed mirroring. -- Al ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Multiplexed RAID-1 mode 2005-07-31 16:06 ` Multiplexed RAID-1 mode Al Boldi @ 2005-08-01 4:22 ` Neil Brown 2005-08-01 6:09 ` Jeff Breidenbach 2005-08-01 14:12 ` Al Boldi 0 siblings, 2 replies; 9+ messages in thread From: Neil Brown @ 2005-08-01 4:22 UTC (permalink / raw) To: Al Boldi; +Cc: 'Gordon Henderson', linux-raid, 'Jeff Breidenbach' On Sunday July 31, a1426z@gawab.com wrote: > Gordon Henderson wrote: { > On Sat, 30 Jul 2005, Jeff Breidenbach wrote: > > > > I just ran a Linux software RAID-1 benchmark with some 500GB SATA > > drives in NCQ mode, along with a non-RAID control. Details are here > > for those interested. > > > > http://www.jab.org/raid-bench/ > > The results you get are about what I get on various systems - essentially > with RAID-1 you get about the same speed as a single drive will get. > > ns1:/var/tmp# hdparm -tT /dev/md1 /dev/sda1 /dev/sdb1 > > /dev/md1: > Timing cached reads: 4116 MB in 2.00 seconds = 2058.31 MB/sec > Timing buffered disk reads: 174 MB in 3.00 seconds = 57.99 MB/sec > > /dev/sda1: > Timing cached reads: 4096 MB in 2.00 seconds = 2048.31 MB/sec > Timing buffered disk reads: 176 MB in 3.03 seconds = 58.11 MB/sec > > /dev/sdb1: > Timing cached reads: 4116 MB in 2.00 seconds = 2057.28 MB/sec > Timing buffered disk reads: 176 MB in 3.02 seconds = 58.27 MB/sec > } > > Multiplexing read/write requests would certainly improve performance ala > RAID-0 (-offset overhead). > During reads the same RAID-0 code (+mirroring offset) could be used. > During writes though, this would imply delayed mirroring. In 2.6, md has a 'raid10' mode which combines features of raid1 and raid0. With a layout of 'f2' you should get raid0-style read performance like I think you are describing. But what exactly do you mean by 'delayed mirroring'? Are you suggesting that the write request completes after only writing to one mirror? If so, which one? Wouldn't this substantially reduce the value of mirroring? NeilBrown ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Multiplexed RAID-1 mode 2005-08-01 4:22 ` Neil Brown @ 2005-08-01 6:09 ` Jeff Breidenbach 2005-08-01 6:23 ` Neil Brown 2005-08-01 14:12 ` Al Boldi 1 sibling, 1 reply; 9+ messages in thread From: Jeff Breidenbach @ 2005-08-01 6:09 UTC (permalink / raw) To: Neil Brown; +Cc: Al Boldi, Gordon Henderson, linux-raid Hi Neil, Are you suggesting I do this? mdadm --create /dev/md0 --level=10 --raid-devices=2 \ --parity=f2 /dev/sdc1 /dev/sdd1 I just tried it and it appears dog slow - for example hdparm -t /dev/md0 claims 18MB/s, and I see a similar number in /proc/mdstat for resync speed. Getting rid of the --parity=f2 parameter, the numbers jump up to about 65MB/s which is similar to single drive transfer rate. Anyway, I haven't thoroughly benchmarked and I know hdparm is not to be trusted, but so far it's not obvious to me level=10 beats level=1 for a two drive array. If you think it is worth pursuing I will do so. Cheers, Jeff PS. I care most about small (~5K) file read performance. Think very busy webserver with hundreds of gigabytes of small files. And an occasional medium size file of a few megabytes. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Multiplexed RAID-1 mode 2005-08-01 6:09 ` Jeff Breidenbach @ 2005-08-01 6:23 ` Neil Brown 0 siblings, 0 replies; 9+ messages in thread From: Neil Brown @ 2005-08-01 6:23 UTC (permalink / raw) To: jeff; +Cc: Al Boldi, Gordon Henderson, linux-raid On Monday August 1, breidenbach@gmail.com wrote: > Hi Neil, > > Are you suggesting I do this? Well, suggesting you "try" rather than "do", but yes, that is what I was suggesting. > > mdadm --create /dev/md0 --level=10 --raid-devices=2 \ > --parity=f2 /dev/sdc1 /dev/sdd1 > > I just tried it and it appears dog slow - for example > hdparm -t /dev/md0 claims 18MB/s, and I see a similar > number in /proc/mdstat for resync speed. Hmm, you're right. It isn't as fast as I expected. I'll look into that. Thanks, NeilBrown ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Multiplexed RAID-1 mode 2005-08-01 4:22 ` Neil Brown 2005-08-01 6:09 ` Jeff Breidenbach @ 2005-08-01 14:12 ` Al Boldi 1 sibling, 0 replies; 9+ messages in thread From: Al Boldi @ 2005-08-01 14:12 UTC (permalink / raw) To: 'Neil Brown' Cc: 'Gordon Henderson', linux-raid, 'Jeff Breidenbach' Neil Brown wrote: { On Sunday July 31, a1426z@gawab.com wrote: > > Multiplexing read/write requests would certainly improve performance > ala RAID-0 (-offset overhead). > During reads the same RAID-0 code (+mirroring offset) could be used. > During writes though, this would imply delayed mirroring. But what exactly do you mean by 'delayed mirroring'? Are you suggesting that the write request completes after only writing to one mirror? If so, which one? Wouldn't this substantially reduce the value of mirroring? } Think of it as a _smart_ resync running on idle. Should be an option though! -- Al ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RAID] SATA RAID-1 benchmarks 2005-07-31 5:04 SATA RAID-1 benchmarks Jeff Breidenbach 2005-07-31 9:31 ` Gordon Henderson @ 2005-07-31 11:58 ` Julian Cowley 2005-07-31 18:36 ` Jeff Breidenbach 1 sibling, 1 reply; 9+ messages in thread From: Julian Cowley @ 2005-07-31 11:58 UTC (permalink / raw) To: Jeff Breidenbach; +Cc: linux-raid On 30 Jul 2005, at 19:04, Jeff Breidenbach wrote: > Hi all, > > I just ran a Linux software RAID-1 benchmark with some 500GB SATA > drives in NCQ mode, along with a non-RAID control. Details are here > for those interested. > > http://www.jab.org/raid-bench/ > > Comments are appreciated. I'm curious if people are happy, sad, or > surprised by any of the numbers, and whether or not a hardware RAID > would have a prayer of doing better in any category. Hold on, it looks like both sets of results on the site are from the same run (probably non-RAID). Can you repost? ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RAID] SATA RAID-1 benchmarks 2005-07-31 11:58 ` [RAID] SATA RAID-1 benchmarks Julian Cowley @ 2005-07-31 18:36 ` Jeff Breidenbach 0 siblings, 0 replies; 9+ messages in thread From: Jeff Breidenbach @ 2005-07-31 18:36 UTC (permalink / raw) To: Julian Cowley; +Cc: linux-raid Oops, thanks! Data is now corrected. -Jeff On 7/31/05, Julian Cowley <julian@lava.net> wrote: > On 30 Jul 2005, at 19:04, Jeff Breidenbach wrote: > > Hi all, > > > > I just ran a Linux software RAID-1 benchmark with some 500GB SATA > > drives in NCQ mode, along with a non-RAID control. Details are here > > for those interested. > > > > http://www.jab.org/raid-bench/ > > > > Comments are appreciated. I'm curious if people are happy, sad, or > > surprised by any of the numbers, and whether or not a hardware RAID > > would have a prayer of doing better in any category. > > Hold on, it looks like both sets of results on the site are from the > same run (probably non-RAID). Can you repost? ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-08-01 14:12 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-07-31 5:04 SATA RAID-1 benchmarks Jeff Breidenbach 2005-07-31 9:31 ` Gordon Henderson 2005-07-31 16:06 ` Multiplexed RAID-1 mode Al Boldi 2005-08-01 4:22 ` Neil Brown 2005-08-01 6:09 ` Jeff Breidenbach 2005-08-01 6:23 ` Neil Brown 2005-08-01 14:12 ` Al Boldi 2005-07-31 11:58 ` [RAID] SATA RAID-1 benchmarks Julian Cowley 2005-07-31 18:36 ` Jeff Breidenbach
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).