linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hardware vs. Software Raid Speed
@ 2006-08-23  6:52 Marc Perkel
  2006-08-23  7:25 ` Andre Tomt
  0 siblings, 1 reply; 7+ messages in thread
From: Marc Perkel @ 2006-08-23  6:52 UTC (permalink / raw)
  To: linux-kernel

Running Linux on an AMD AM2 nVidia chip ser that supports Raid 0 
striping on the motherboard. Just wondering if hardware raid (SATA2) is 
going to be faster that software raid and why?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Hardware vs. Software Raid Speed
  2006-08-23  6:52 Hardware vs. Software Raid Speed Marc Perkel
@ 2006-08-23  7:25 ` Andre Tomt
  2006-08-23  8:39   ` Alistair John Strachan
  2006-08-23 17:47   ` Tejun Heo
  0 siblings, 2 replies; 7+ messages in thread
From: Andre Tomt @ 2006-08-23  7:25 UTC (permalink / raw)
  To: Marc Perkel; +Cc: linux-kernel

Marc Perkel wrote:
> Running Linux on an AMD AM2 nVidia chip ser that supports Raid 0 
> striping on the motherboard. Just wondering if hardware raid (SATA2) 
> is going to be faster that software raid and why?

Beeing a consumer type board (AM2), the "raid on the motherboard" is in 
99.999% of the cases just software raid implemented in their Windows 
drivers, a bootup setup screen plus some BIOS magic to get the OS booting.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Hardware vs. Software Raid Speed
  2006-08-23  7:25 ` Andre Tomt
@ 2006-08-23  8:39   ` Alistair John Strachan
  2006-08-23 17:47   ` Tejun Heo
  1 sibling, 0 replies; 7+ messages in thread
From: Alistair John Strachan @ 2006-08-23  8:39 UTC (permalink / raw)
  To: Andre Tomt; +Cc: Marc Perkel, linux-kernel

On Wednesday 23 August 2006 08:25, Andre Tomt wrote:
> Marc Perkel wrote:
> > Running Linux on an AMD AM2 nVidia chip ser that supports Raid 0
> > striping on the motherboard. Just wondering if hardware raid (SATA2)
> > is going to be faster that software raid and why?
>
> Beeing a consumer type board (AM2), the "raid on the motherboard" is in
> 99.999% of the cases just software raid implemented in their Windows
> drivers, a bootup setup screen plus some BIOS magic to get the OS booting.

MD has so many benefits anyway that it doesn't make sense to use anything but 
the finest hardware RAID.

For starters, with Linux MD, you can RAID partitions on a disk independently, 
even with different RAID types, and you can port your array to another 
machine without any reconfiguration, on completely different hardware. You 
can also RAID two different technologies, for example PATA and SATA, hot-add 
spares, run with a deliberately failed array, build incomplete arrays (nice 
if you're just about to start a RAID5 but don't have enough discs), the list 
goes on..

-- 
Cheers,
Alistair.

Final year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Hardware vs. Software Raid Speed
  2006-08-23  7:25 ` Andre Tomt
  2006-08-23  8:39   ` Alistair John Strachan
@ 2006-08-23 17:47   ` Tejun Heo
  2006-08-23 17:55     ` Marc Perkel
  2006-08-23 19:42     ` Mario 'BitKoenig' Holbe
  1 sibling, 2 replies; 7+ messages in thread
From: Tejun Heo @ 2006-08-23 17:47 UTC (permalink / raw)
  To: Andre Tomt; +Cc: Marc Perkel, linux-kernel

Andre Tomt wrote:
> Marc Perkel wrote:
>> Running Linux on an AMD AM2 nVidia chip ser that supports Raid 0 
>> striping on the motherboard. Just wondering if hardware raid (SATA2) 

SATA2 has nothing to do with hardware RAID.

>> is going to be faster that software raid and why?
> 
> Beeing a consumer type board (AM2), the "raid on the motherboard" is in 
> 99.999% of the cases just software raid implemented in their Windows 
> drivers, a bootup setup screen plus some BIOS magic to get the OS booting.

And, yeah, they're all software RAID.  Also, there isn't much to be 
gained from making RAID0/1 hardware.  The software overhead isn't that 
big.  For RAID5, having XOR done in hardware helps.

-- 
tejun

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Hardware vs. Software Raid Speed
  2006-08-23 17:47   ` Tejun Heo
@ 2006-08-23 17:55     ` Marc Perkel
  2006-08-24  5:13       ` Joel Jaeggli
  2006-08-23 19:42     ` Mario 'BitKoenig' Holbe
  1 sibling, 1 reply; 7+ messages in thread
From: Marc Perkel @ 2006-08-23 17:55 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Andre Tomt, linux-kernel



Tejun Heo wrote:
> Andre Tomt wrote:
>> Marc Perkel wrote:
>>> Running Linux on an AMD AM2 nVidia chip ser that supports Raid 0 
>>> striping on the motherboard. Just wondering if hardware raid (SATA2) 
>
> SATA2 has nothing to do with hardware RAID.
>
>>> is going to be faster that software raid and why?
>>
>> Beeing a consumer type board (AM2), the "raid on the motherboard" is 
>> in 99.999% of the cases just software raid implemented in their 
>> Windows drivers, a bootup setup screen plus some BIOS magic to get 
>> the OS booting.
>
> And, yeah, they're all software RAID.  Also, there isn't much to be 
> gained from making RAID0/1 hardware.  The software overhead isn't that 
> big.  For RAID5, having XOR done in hardware helps.
>

Thanks - I suspected that Raid 0 didn't gain anything in hardware unless 
they provided additional buffering or something but I just thought I'd 
ask in case there was something I was overlooking.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Hardware vs. Software Raid Speed
  2006-08-23 17:47   ` Tejun Heo
  2006-08-23 17:55     ` Marc Perkel
@ 2006-08-23 19:42     ` Mario 'BitKoenig' Holbe
  1 sibling, 0 replies; 7+ messages in thread
From: Mario 'BitKoenig' Holbe @ 2006-08-23 19:42 UTC (permalink / raw)
  To: linux-kernel

Tejun Heo <htejun@gmail.com> wrote:
> And, yeah, they're all software RAID.  Also, there isn't much to be 
> gained from making RAID0/1 hardware.  The software overhead isn't that 

The CPU cycles in fact don't usually matter. The I/O overhead (on the
PCI bus) due to multiple transfers of the (more or less) same data is
typically more interesting.


regards
   Mario
-- 
The secret that the NSA could read the Iranian secrets was more
important than any specific Iranian secrets that the NSA could
read.                           -- Bruce Schneier


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Hardware vs. Software Raid Speed
  2006-08-23 17:55     ` Marc Perkel
@ 2006-08-24  5:13       ` Joel Jaeggli
  0 siblings, 0 replies; 7+ messages in thread
From: Joel Jaeggli @ 2006-08-24  5:13 UTC (permalink / raw)
  To: Marc Perkel; +Cc: Tejun Heo, Andre Tomt, linux-kernel



Marc Perkel wrote:
> 
> 
> Tejun Heo wrote:
>> Andre Tomt wrote:
>>> Marc Perkel wrote:
>>>> Running Linux on an AMD AM2 nVidia chip ser that supports Raid 0
>>>> striping on the motherboard. Just wondering if hardware raid (SATA2) 
>>
>> SATA2 has nothing to do with hardware RAID.
>>
>>>> is going to be faster that software raid and why?
>>>
>>> Beeing a consumer type board (AM2), the "raid on the motherboard" is
>>> in 99.999% of the cases just software raid implemented in their
>>> Windows drivers, a bootup setup screen plus some BIOS magic to get
>>> the OS booting.
>>
>> And, yeah, they're all software RAID.  Also, there isn't much to be
>> gained from making RAID0/1 hardware.  The software overhead isn't that
>> big.  For RAID5, having XOR done in hardware helps.
>>
> 
> Thanks - I suspected that Raid 0 didn't gain anything in hardware unless
> they provided additional buffering or something but I just thought I'd
> ask in case there was something I was overlooking.

A hardware raid controller can buy you a battery backed write cache, so
there are potentially some performance/safety benefits potentially.

We have a mix of software raid and 3ware based hardware raid subsystems.
For the applications we support, in general I can say that performance
was not the discriminating reason to choose one over the other.

> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
------------------------------------------------------------------------
Joel Jaeggli             Unix Consulting              joelja@uoregon.edu
GPG Key Fingerprint:   5C6E 0104 BAF0 40B0 5BD3 C38B F000 35AB B67F 56B2

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-08-24  5:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-23  6:52 Hardware vs. Software Raid Speed Marc Perkel
2006-08-23  7:25 ` Andre Tomt
2006-08-23  8:39   ` Alistair John Strachan
2006-08-23 17:47   ` Tejun Heo
2006-08-23 17:55     ` Marc Perkel
2006-08-24  5:13       ` Joel Jaeggli
2006-08-23 19:42     ` Mario 'BitKoenig' Holbe

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).