Re: Raid: software or hardware



On Wed, 11 Jun 2008 11:33:03 +0200 Aragorn <aragorn@xxxxxxxxxxxxxxxxxxx> wrote:

| Hardware RAID is always preferable over software RAID *if* it is available.
| However, I sincerely doubt that the onboard SATA RAID of your motherboard
| will be a hardware RAID.

I have a Tyan S2927A2NRF with 6 SATA ports. I had 4 of them connected for
a while to 4 WD 750GB SATA drives. I achieved 96MB/s transfer rate when
accessing 1 drive at a time (linear reading/writing so the drive would be
doing more data transfer than seeking for this test). When I ran all 4
drives at the same time (4 separate processes doing reading), the speed
of each dropped to about 92MB/s, so I was getting an aggregate speed of
368MB/s. I don't know what caused the slowdown (controller, bus, driver,
scheduler) but the machine has 2x dual-core 2.8GHz Opeterons, so there is
at least enough CPU power there to work 4 processes easily. Nevertheless
it's still a decent throughput.

My question is, does your preference for hardware RAID still hold here?
Presumably I could get a 368MB/s peak with software RAID minus whatever
overhead that RAID would incur. Hardware RAID in the controller (it has
it but I've not determined if Linux can configure and work with it, and
it might be the "WinRAID" you mention) might do just as well. External
hardware RAID might be a problem as the aggregate transfer rate (2.944
Gbps) is pushing the limit of a SATA-II connection (hypothetically 3.0
Gbps).


| Most likely, it'll be a hardware-assisted software RAID, or if you will, a
| "WinRAID", just like a Winmodem isn't a real modem.

[*] El-cheapo devices that steal resources from the main CPU(s) so they can
market lower pricing.


|> 1. Using hardware, jmicron (creating raid from bios).
|> Will gentoo see it ? Is it stable ?
|
| I do not know the JMicron, but true hardware SATA RAID from a chip on the
| motherboard is extremely rare and would also make the board more expensive
| than its peers.

Seems to be common on server grade motherboards in the many-hundred-dollar
ranges.


| Even if you enable the RAID functionality of an SATA onboard
| hardware-assisted software RAID, this will only be seen as a RAID by
| Windows, and then will require you to load the appropriate driver for it,
| if Windows doesn't have a driver for it by itself.
|
| In GNU/Linux, such a device is seen as a simple SATA controller, regardless
| of whether the RAID functionality is enabled or not, because basically
| that's what it is.

I'm guessing if it is a "WinRAID" style, it has special queueing commands to
at least improve up having N separate SATA ports doing as software RAID.


|> If one disk fails how will i know ?
|
| Both true hardware RAID and software RAID would report this via /syslogd,/
| or possibly via an additional daemon like Adaptec's Storage Manager for
| Adaptec RAID adapters.
|
|> Will there be no problem with replacing bad disk with new one ?
|
| The replacement of a failed drive in a RAID array is always subject to
| certain delays and restrictions. Not all RAID adapters (or hard disks!)
| support hotplugging.

It appears the ones in the Tyan S2927A2NRF board do not. I connected a
couple ports to an eSATA adapter and tried plugging in an external SATA
drive (A WD 1TB drive with 3 interfaces). It would not recognize the
hotplugging automatically. If I had the drive plugged in while booting
up, it would find the drive OK.


| When a drive has been replaced, most hardware RAID adapters will
| automatically rebuild the array - which takes some time and will slow down
| the machine's performance somewhat - but in software RAID, I believe you
| have to rebuild the array manually using /mdadm./

Presumably some kind of RAID manager daemon could run in the background to
emulate the hardware RAID by doing this chore when it sees the drive being
added.

For a project I am studying which will need a lot of reliable file space,
I'm looking at using RAID only to expand the storage per server, and doing
redundancy between servers, with load balancing between servers as well.
Programs would run on the servers to compare each server tree to the others
and replicate anything found missing on one or more servers.

--
|WARNING: Due to extreme spam, googlegroups.com is blocked. Due to ignorance |
| by the abuse department, bellsouth.net is blocked. If you post to |
| Usenet from these places, find another Usenet provider ASAP. |
| Phil Howard KA9WGN (email for humans: first name in lower case at ipal.net) |
.



Relevant Pages

  • Re: Windows RAID
    ... repair on Unix is done manually after the basic automatic repairs ... preferred to use Linux software raid - but there was no good way to get ... the hardware raid controller to give me direct access to the disks. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: ahci + software raid (intel E7221, supermicro P8SCT) causes kernel BUG at drivers/scsi/scsi.c:29
    ... I've narrowed this down to a faulty SATA drive. ... Hot-swap raid cage. ... > when running software raid, two drives, in stripe mode. ... > Put another way, I can setup, prep and create a software raid.. ...
    (Linux-Kernel)
  • Re: "How I built a 2.8TB RAID storage array"... 7 months later
    ... is RAID necessary on this when it's hosting ... > and do you think SATA is more important to have than ATA? ... Using the Raptors would increase performance, ... >> Promise card does hardware RAID, ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: Windows RAID
    ... clearer - then manual disk repair or file recovery was practical. ... Hardware raid controllers could ... software raid can provide, ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: Raid: software or hardware
    ... | Hardware RAID is always preferable over software RAID *if* it is ... I have a Tyan S2927A2NRF with 6 SATA ports. ... I don't know what caused the slowdown (controller, bus, driver, ...
    (comp.os.linux.hardware)