Skip to contentSkip to conversation

Which raid card to buy for Sarge

DISCUSSION [email protected] 18 participants 40 messages Mar 31, 2004 – Apr 16, 2004 MD RAID

lore
Share & tools
lore
#0 lore raw

Hi,

I wanted to buy an IDE raid card, to run inside a stock debian Sarge box. I was hoping someone could point me to a card that will play nice with Sarge out of the box. Seems like all the cards support the usual distros (RH, Suse...) but none seem to mention debian (and more specifically Sarge). I'd like a card that can run raid 1 and 5.

If it doesn't run right out of the box, how about one that isn't too hard to get working (I know "too hard" is subjective)

Any suggestions would be very appreciated

Thanks
Jay

#1 lore raw
Quoted 8 lines · [email protected] wrote:

Hi,

I wanted to buy an IDE raid card, to run inside a stock debian Sarge box. I was hoping someone could point me to a card that will play nice with Sarge out of the box. Seems like all the cards support the usual distros (RH, Suse...) but none seem to mention debian (and more specifically Sarge). I'd like a card that can run raid 1 and 5.

Quoted 4 lines

If it doesn't run right out of the box, how about one that isn't too hard to get working (I know "too hard" is subjective)

Any suggestions would be very appreciated

look for 3ware cards,
the driver is in the stock linux 2.4 kernel,
so it works out of the box.

Signature · 1 line
Luca Berra -- [email protected]
#2 lore raw

Seems like 3ware is the card of choice. I'll probably pick one up at cdw, unless anyone knows where I can get them on the cheap.

Speaking of cheap, anyone ever have any luck with the Highpoint RocketRaid cards on Sarge? They're roughly 80% the price of 3ware (maybe you get what you pay for)

Thanks
Jay
----- Original Message -----
From: "Luca Berra" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, March 31, 2004 10:15 AM
Subject: Re: Which raid card to buy for Sarge

Quoted 5 lines
Quoted 3 lines · [email protected] wrote:

Hi,

I wanted to buy an IDE raid card, to run inside a stock debian Sarge

box. I

Quoted 1 line
Quoted 1 line

was hoping someone could point me to a card that will play nice with

Sarge

Quoted 2 lines
Quoted 2 lines

out of the box. Seems like all the cards support the usual distros (RH, Suse...) but none seem to mention debian (and more specifically Sarge).

I'd

Quoted 3 lines
Quoted 3 lines

like a card that can run raid 1 and 5.

If it doesn't run right out of the box, how about one that isn't too

hard to

Quoted 16 lines
Quoted 3 lines

get working (I know "too hard" is subjective)

Any suggestions would be very appreciated

look for 3ware cards,
the driver is in the stock linux 2.4 kernel,
so it works out of the box.

Signature · 6 lines
Luca Berra -- [email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw
Quoted 5 lines · <[email protected]> writes:

Seems like 3ware is the card of choice. I'll probably pick one up at cdw, unless anyone knows where I can get them on the cheap.

Speaking of cheap, anyone ever have any luck with the Highpoint RocketRaid cards on Sarge?

I don't use debian, but my rocketraid is doing well with recent kernels.

Quoted 2 lines

They're roughly 80% the price of 3ware (maybe you get what you pay for)

80%? You must mean 20%. The Highpoint cards are software raid cards, meaning that they are just regular ATA cards with a "RAID" label slapped on the box.

Signature · 7 lines
Måns Rullgård
[email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw

Am Mittwoch, 31. März 2004 18:58 schrieben Sie:

Quoted 7 lines
Quoted 5 lines · <[email protected]> writes:

Seems like 3ware is the card of choice. I'll probably pick one up at cdw, unless anyone knows where I can get them on the cheap.

Speaking of cheap, anyone ever have any luck with the Highpoint RocketRaid cards on Sarge?

Quoted 8 lines

I don't use debian, but my rocketraid is doing well with recent kernels.

Quoted 2 lines

They're roughly 80% the price of 3ware (maybe you get what you pay for)

80%? You must mean 20%. The Highpoint cards are software raid cards, meaning that they are just regular ATA cards with a "RAID" label slapped on the box.

If would not use the "raid" feature of the Highpoint cards, because it is only software raid and not so performant as a hardware raid. If you don't need a high-end system, then you can make a software raid with linux standard tools
like: mdadm. If you need performance, then you should think about a scsi raid setup and a good adapter, maybe adaptec or 3ware or something like that.

If software raid, then I would prefer a linux software raid (with mdadm for example) and would not use not good supported third-party software raid "drivers". For mdadm you will find more support and you can migrate the disks in another linux box and it will read the raid... With the Highpoint raid function you are forced to continue using the highpoint card.

And just for your information, you don't have to look after a card that is specially supported by Debian. Debian uses a normal linux kernel (+ some patches, but nothing revolutionary) so it can handle each raid adapter that is supported by the linux kernel... It's the same for SuSE and RedHat, because they support each adapter supported by the standard linux kernel plus maybe some patched-in drivers). But even when the adapter is not supported in the vanilla kernel you can patch a kernel-source by yourself... But it is always a good decision to only use hardware that is supported in a stock kernel.

So better look after general linux support. I think there is not one piece of hardware that is declared as: "ready for debian sarge" :))
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
Quoted 2 lines

If would not use the "raid" feature of the Highpoint cards, because it is only software raid and not so performant as a hardware raid. If you don't need a

please don't say things like this. HW raid is *NOT* generally faster or better than software raid. yes, if you're building a quad-gigabit fileserver out of an old P5/100 you had sitting around, you're not even going to start looking at sw raid.

but for a normal FS config (dual opteron or xeon, >1GB ram, 2-400 MB/s sustained disk throughput), software raid is The Right Choice.

- speed: it's easy to do hundreds of MB/s with sw raid. it's surprisingly hard to break even 100 MB/s using sw raid.

- you don't pay through the nose for a crappy embedded processor to do your parity calculations

- hw raid *does* reduce the amount of PCI-X traffic you generate, but do you really care, at 1 GB/s?

- sw raid *does* consume some host CPU cycles, but do you care, given that this is a fileserver?

- give me mdadm and normal userspace tools over some wheel-reinventing hw raid configurator.

- you've probably got the hardware to fix an exploded sw-raid server already in your office (other computers, normal disk controllers, etc). replacing that hw raid card WILL take more than 30 minutes, obviously will take money, and will eventually become impossible.

#6 lore raw
Quoted 10 lines · Mark Hahn

please don't say things like this. HW raid is *NOT* generally
faster or better than software raid. yes, if you're building a quad-gigabit fileserver out of an old P5/100 you had sitting around, you're not even going to start looking at sw raid.

but for a normal FS config (dual opteron or xeon, >1GB ram, 2-400 MB/s sustained disk throughput), software raid is The Right Choice.

- speed: it's easy to do hundreds of MB/s with sw raid. it's surprisingly hard to break even 100 MB/s using sw raid.

<snip> further points I agree with.

I have spent some time benchmarking a dual xeon 2.4 with 1 GB and a 3ware 7506LP with 4 x 250 GB 7200RPM on 2.4.25 with XFS.

I would very much prefer to run software RAID 10 on this setup, for a few reasons including being able to use mdadm for everything (I am using a software RAID 1 for the OS) and the fact that 3dmd seems to have a negative impact on disk writes, plus the other negatives you mention.

However, after extensive tests with iozone at the filesize (1.2MB), that this server will be predominantly dealing with, varying stripe sizes and the myriad of XFS variables, here are my best results:

3ware hardware RAID 10: Reads - 92.8MB/s Writes - 88.9MB/s

Software RAID 10: Reads - 53.7MB/s Writes - 94.9 MB/s

If anyone is running similar hardware and is able to get better software RAID performance, I would be very interested to hear the parameters.

Regards,

Richard Scobie

#7 lore raw
Quoted 6 lines · * Richard Scobie ([email protected]) [20040401 08:19]:

3ware hardware RAID 10: Reads - 92.8MB/s Writes - 88.9MB/s
Software RAID 10: Reads - 53.7MB/s Writes - 94.9 MB/s

If anyone is running similar hardware and is able to get better software RAID performance, I would be very interested to hear the parameters.

I've tested some configurations with 128 GiB streams (iozone) on a dual Xeon 2.4GHz 2G RAM machine (running XFS).

3ware HW-RAID1, Linux SW-RAID0: read 263 MiB/s, write 157 MiB/s
3ware HW-RAID5, Linux SW-RAID0: read 243 MiB/s, write 135 MiB/s
Linux SW-RAID5: read 225 MiB/s, write 135 MiB/s
3ware HW-RAID10: read 119 MiB/s, write 91 MiB/s

Peter

Signature · 7 lines
    .+'''+.         .+'''+.         .+'''+.         .+'''+.         .+''
 Kelemen Péter     /       \       /       \     [email protected]
.+'         `+...+'         `+...+'         `+...+'         `+...+'
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#8 lore raw
Quoted 15 lines · KELEMEN Peter
Quoted 7 lines · * Richard Scobie ([email protected]) [20040401 08:19]:

3ware hardware RAID 10: Reads - 92.8MB/s Writes - 88.9MB/s
Software RAID 10: Reads - 53.7MB/s Writes - 94.9 MB/s

If anyone is running similar hardware and is able to get better software RAID performance, I would be very interested to hear the parameters.

I've tested some configurations with 128 GiB streams (iozone) on a dual Xeon 2.4GHz 2G RAM machine (running XFS).

Quoted 7 lines

3ware HW-RAID1, Linux SW-RAID0: read 263 MiB/s, write 157 MiB/s
3ware HW-RAID5, Linux SW-RAID0: read 243 MiB/s, write 135 MiB/s
Linux SW-RAID5: read 225 MiB/s, write 135 MiB/s
3ware HW-RAID10: read 119 MiB/s, write 91 MiB/s

Peter

Thanks Peter,

This array is obviously larger than the 4 disc one I have. Unfortunately you do not have the one result I would really like - SW-RAID10.

It would be interesting to see how it compares to 3ware HW-RAID10.

Regards,

Richard Scobie

#9 lore raw
Quoted 5 lines · * Richard Scobie ([email protected]) [20040404 16:47]:
Quoted 3 lines · KELEMEN Peter
Quoted 2 lines · * Richard Scobie ([email protected]) [20040401 08:19]:

3ware hardware RAID 10: Reads - 92.8MB/s Writes - 88.9MB/s
Software RAID 10: Reads - 53.7MB/s Writes - 94.9 MB/s

Quoted 8 lines
Quoted 4 lines

3ware HW-RAID1, Linux SW-RAID0: read 263 MiB/s, write 157 MiB/s
3ware HW-RAID5, Linux SW-RAID0: read 243 MiB/s, write 135 MiB/s
Linux SW-RAID5: read 225 MiB/s, write 135 MiB/s
3ware HW-RAID10: read 119 MiB/s, write 91 MiB/s

This array is obviously larger than the 4 disc one I have. Unfortunately you do not have the one result I would really like - SW-RAID10. It would be interesting to see how it compares to 3ware HW-RAID10.

Well, I did those tests as well for the sake of interest.
Linux SW-RAID10: read 221 MiB/s, write 105 MiB/s

Peter

Signature · 7 lines
    .+'''+.         .+'''+.         .+'''+.         .+'''+.         .+''
 Kelemen Péter     /       \       /       \     [email protected]
.+'         `+...+'         `+...+'         `+...+'         `+...+'
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#10 lore raw

Re: Which raid card to buy for SargeD

Sorry, this might be a silly question, since I am new to RAID, how do I do those tests, I would like to check out our RAID.

Thanks a lot in advance!

Jeff

Quoted 21 lines · KELEMEN Peter
Quoted 5 lines · * Richard Scobie ([email protected]) [20040404 16:47]:
Quoted 3 lines · KELEMEN Peter
Quoted 2 lines · * Richard Scobie ([email protected]) [20040401 08:19]:

3ware hardware RAID 10: Reads - 92.8MB/s Writes - 88.9MB/s
Software RAID 10: Reads - 53.7MB/s Writes - 94.9 MB/s

Quoted 8 lines
Quoted 4 lines

3ware HW-RAID1, Linux SW-RAID0: read 263 MiB/s, write 157 MiB/s
3ware HW-RAID5, Linux SW-RAID0: read 243 MiB/s, write 135 MiB/s
Linux SW-RAID5: read 225 MiB/s, write 135 MiB/s
3ware HW-RAID10: read 119 MiB/s, write 91 MiB/s

This array is obviously larger than the 4 disc one I have. Unfortunately you do not have the one result I would really like - SW-RAID10. It would be interesting to see how it compares to 3ware HW-RAID10.

Well, I did those tests as well for the sake of interest.
Linux SW-RAID10: read 221 MiB/s, write 105 MiB/s

Peter

Quoted 9 lines

--

    .+'''+.         .+'''+.         .+'''+.         .+'''+.         .+''
 Kelemen Péter     /       \       /       \     [email protected]

.+' +...+' +...+' +...+' +...+'
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#11 lore raw

Re: Which raid card to buy for SargeD

Quoted 2 lines · * Yu Chen ([email protected]) [20040409 09:07]:

Sorry, this might be a silly question, since I am new to RAID, how do I do those tests, I would like to check out our RAID.

Grab iozone¹ and run a throughput test:
iozone -Mce -t1 -i0 -i1 -s128g -r256k -f /path/to/raid/IOZONE

Peter

¹ http://www.iozone.org/

Signature · 7 lines
    .+'''+.         .+'''+.         .+'''+.         .+'''+.         .+''
 Kelemen Péter     /       \       /       \     [email protected]
.+'         `+...+'         `+...+'         `+...+'         `+...+'
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#12 lore raw
In reply to Mark Hahn

Am Mittwoch 31 März 2004 21:50 schrieben Sie:

Quoted 3 lines
Quoted 3 lines

If would not use the "raid" feature of the Highpoint cards, because it is only software raid and not so performant as a hardware raid. If you don't need a

Oh, my sentence should have started with: "I would not use ..." not with:
"If.." :)

Quoted 2 lines

please don't say things like this. HW raid is *NOT* generally faster or better than software raid.

I never said that it is "better" than software raid, because I don't think so. I am using mdadm myself and I think it is great software (together with the kernel code). But normaly a real hardware raid is without a doubt faster than a software raid. But the most servers/computers don't really need hardware raid, because the don't produce this huge amount of data.

With the sentence you quoted from me, I only wanted to say, that I wouldn't use the software of the highpoint card to build a software raid, because it's closed software (if I remeber right) and it is only there to fake the people, because highpoint doesn't say clearly (on the product box for example) that it is a "software" raid IDE100/133 Card (so it should be called: IDE Adapter with software raid tools). If you are not so familiar with this kind of stuff you maybe even think years later that this is a real hardware raid (espacially under windows).

I would use the HPT Adapter only as normal ide adapter and build a software raid, or if I need the performace I would use a hardware raid, but only then. I don't have to much money, like the most peole, so I don't buy useless stuff. (in my private I still use a pentium 60 as gateway with firewall, ntp server, some other small thinks)

But you are right, only a few servers really need a hardware raid. The most are idleing the most time :) But many customers (and I am working for a isp) wants a hardware raid (even if they haven't good a clou of such stuff and doesn't really need this for their server). The words: "hardware raid" are good for marketing... Its like ide and scsi drives :) And if a customer wants something it not always a good idea trying to convert him to another solution.

Quoted 6 lines

yes, if you're building a
quad-gigabit fileserver out of an old P5/100 you had sitting around, you're not even going to start looking at sw raid.

but for a normal FS config (dual opteron or xeon, >1GB ram, 2-400 MB/s sustained disk throughput), software raid is The Right Choice.

i never said that software raid is slow! I just said that hardware raid is faster... That's a difference :) I never would say that a amd athlon xp is slow, but without a doubt a amd athlon 64 is faster :)

Quoted 8 lines

- speed: it's easy to do hundreds of MB/s with sw raid. it's surprisingly hard to break even 100 MB/s using sw raid.

- you don't pay through the nose for a crappy embedded processor to do your parity calculations

- hw raid *does* reduce the amount of PCI-X traffic you generate, but do you really care, at 1 GB/s?

it's not about me and if I care... I only tried to help Jay choosing the right solution for his raid setup... I only said that I think the hpt adapters are fakes raid adapters, because it's software raid, and that if HE wants hardware raid, he should take another adapter.

Quoted 10 lines

- sw raid *does* consume some host CPU cycles, but do you care, given that this is a fileserver?

- give me mdadm and normal userspace tools over some wheel-reinventing hw raid configurator.

- you've probably got the hardware to fix an exploded sw-raid server already in your office (other computers, normal disk controllers, etc). replacing that hw raid card WILL take more than 30 minutes, obviously will take money, and will eventually become impossible.

I also said this... I had some broken disks in hardware raids and in software raids in the last 2 years. Both solutions have advantages and disadvantages again:

- Advantage: its faster to fix a broken sw raid setup. It's only a shutdown, change disk, restart, rebuild the array in the background. In the hardware raid you normaly have to rebuild the array in the bios and so the computer is offline for at least that time.

- Disadvanage: Sometime linux crashes if a hard disk in an array broke. I don't know for sure why this happens, but I guess it has something to do with the ide channel which is marked as busy and never gets useable again. A crash after a disk broke down never happend to me on a hardware raid.

I know that this a kernel ml for the software raid in linux, but hey, I only told jay what are advantages and disadvantaged in the hpt software raid, the linux mdadm software raid and a a hardware raid is. I think there was nothing wrong about it and I even think that we have more or less the same optinion in sw/hw raids.

Once again: i am using mdadm myself and think that the linux software raid is great, no question... I never wanted to say something else. So don't understand this wrong, but _even_ hardware raid has the right to life .))

--Ralph
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#13 lore raw
Quoted 1 line · Ralph Paßgang

kernel code). But normaly a real hardware raid is without a doubt faster than a software raid.

Well... Regardless of hardware or software RAID, the kernel I/O limits and the drive I/O limits are the main limiting factor. Hardware RAID mainly helps for RAID1 and RAID5 writes, eliminating duplicate copies of data going across the PCI bus... at the expense of relinquishing control over your data to the hardware RAID's firmware.

A UDMA/133 PATA hardware RAID from a large company I won't mention is quite a bit slower than any SATA software RAID that I've tested...

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#14 lore raw
In reply to Ralph Paßgang

I have not seen a hardware RAID that is faster than md (software RAID). I also have not used any hardware RAID within the last 3 years. On my P3-500 SMP system, the CPU usage of MD is less than 5% during a re-build. Re-builds at about 5M/s on 14 disks.

So, when you say HW RAID is faster, I disagree. But, I admit some HW RAID may be faster than some software RAID. Depends on the hardware!

Also, from what I have seen a HW RAID system is limited to the SCSI busses on the RAID card. You can't RAID drives on other cards/busses. md can use any disk on any buss. You can even mix SCSI, SATA and IDE with md.

Guy

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ralph Paßgang
Sent: Wednesday, March 31, 2004 3:43 PM
To: [email protected]
Subject: Re: Which raid card to buy for Sarge

Am Mittwoch 31 März 2004 21:50 schrieben Sie:

Quoted 1 line
Quoted 1 line

If would not use the "raid" feature of the Highpoint cards, because it

is

Quoted 1 line
Quoted 1 line

only software raid and not so performant as a hardware raid. If you

don't

Quoted 1 line
Quoted 1 line

need a

Oh, my sentence should have started with: "I would not use ..." not with:
"If.." :)

Quoted 2 lines

please don't say things like this. HW raid is *NOT* generally faster or better than software raid.

I never said that it is "better" than software raid, because I don't think so.
I am using mdadm myself and I think it is great software (together with the kernel code). But normaly a real hardware raid is without a doubt faster than
a software raid. But the most servers/computers don't really need hardware raid, because the don't produce this huge amount of data.

With the sentence you quoted from me, I only wanted to say, that I wouldn't use the software of the highpoint card to build a software raid, because it's
closed software (if I remeber right) and it is only there to fake the people,
because highpoint doesn't say clearly (on the product box for example) that it is a "software" raid IDE100/133 Card (so it should be called: IDE Adapter

with software raid tools). If you are not so familiar with this kind of stuff
you maybe even think years later that this is a real hardware raid (espacially under windows).

I would use the HPT Adapter only as normal ide adapter and build a software raid, or if I need the performace I would use a hardware raid, but only then.
I don't have to much money, like the most peole, so I don't buy useless stuff. (in my private I still use a pentium 60 as gateway with firewall, ntp

server, some other small thinks)

But you are right, only a few servers really need a hardware raid. The most are idleing the most time :) But many customers (and I am working for a isp)

wants a hardware raid (even if they haven't good a clou of such stuff and doesn't really need this for their server). The words: "hardware raid" are good for marketing... Its like ide and scsi drives :) And if a customer wants
something it not always a good idea trying to convert him to another solution.

Quoted 6 lines

yes, if you're building a
quad-gigabit fileserver out of an old P5/100 you had sitting around, you're not even going to start looking at sw raid.

but for a normal FS config (dual opteron or xeon, >1GB ram, 2-400 MB/s sustained disk throughput), software raid is The Right Choice.

i never said that software raid is slow! I just said that hardware raid is faster... That's a difference :) I never would say that a amd athlon xp is slow, but without a doubt a amd athlon 64 is faster :)

Quoted 8 lines

- speed: it's easy to do hundreds of MB/s with sw raid. it's surprisingly hard to break even 100 MB/s using sw raid.

- you don't pay through the nose for a crappy embedded processor to do your parity calculations

- hw raid *does* reduce the amount of PCI-X traffic you generate, but do you really care, at 1 GB/s?

it's not about me and if I care... I only tried to help Jay choosing the right
solution for his raid setup... I only said that I think the hpt adapters are

fakes raid adapters, because it's software raid, and that if HE wants hardware raid, he should take another adapter.

Quoted 10 lines

- sw raid *does* consume some host CPU cycles, but do you care, given that this is a fileserver?

- give me mdadm and normal userspace tools over some wheel-reinventing hw raid configurator.

- you've probably got the hardware to fix an exploded sw-raid server already in your office (other computers, normal disk controllers, etc). replacing that hw raid card WILL take more than 30 minutes, obviously will take money, and will eventually become impossible.

I also said this... I had some broken disks in hardware raids and in software
raids in the last 2 years. Both solutions have advantages and disadvantages again:

- Advantage: its faster to fix a broken sw raid setup. It's only a shutdown,

change disk, restart, rebuild the array in the background. In the hardware raid you normaly have to rebuild the array in the bios and so the computer is
offline for at least that time.

- Disadvanage: Sometime linux crashes if a hard disk in an array broke. I don't know for sure why this happens, but I guess it has something to do with
the ide channel which is marked as busy and never gets useable again. A crash
after a disk broke down never happend to me on a hardware raid.

I know that this a kernel ml for the software raid in linux, but hey, I only
told jay what are advantages and disadvantaged in the hpt software raid, the

linux mdadm software raid and a a hardware raid is. I think there was nothing
wrong about it and I even think that we have more or less the same optinion in sw/hw raids.

Once again: i am using mdadm myself and think that the linux software raid is
great, no question... I never wanted to say something else. So don't understand this wrong, but _even_ hardware raid has the right to life .))

--Ralph
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#15 lore raw
In reply to Mark Hahn
Quoted 6 lines · Mark Hahn
Quoted 1 line

If would not use the "raid" feature of the Highpoint cards, because it is only software raid and not so performant as a hardware raid. If you don't need a

please don't say things like this. HW raid is *NOT* generally
faster or better than software raid. yes, if you're building a quad-gigabit fileserver out of an old P5/100 you had sitting around, you're not even going to start looking at sw raid.

One point. Hardware raid (and faux hardware raid) provides real hot swap with on-the-fly rebuilds.
Linux software raid can't (yet).
Both promise and highpoint proprietary ide raid drivers can, but no raw kernel or libata drivers can as yet, and the interface between the hotswap driver and md driver is no where near there.

With the Highpoint driver I get a drive failure and the card starts beeping. I fire up the management util, remove the faulty drive, swap it out and insert the new drive in the array. The array starts rebuilding - no effect on the uptime and only a slight loss in throughput. Plus it's seamless.

I used a pair of Highpoint Rocketraid 1540 cards with the Highpoint driver (as it presented all 8 drives as 8 units on a scsi chain) with linux md raid-5, and I have now moved onto 3 Promise SATA150-TX4 units in an md raid-5.

I did play with the highpoint raid-5 (which can now span controllers) and it's management features, hotswap and hot-rebuild were quite good.

Not that I'm advocating hardware or faux hardware raid, just noting that linux software raid still has a large deficiency.

Regards,
Brad

#16 lore raw
Quoted 2 lines

One point. Hardware raid (and faux hardware raid) provides real hot swap with on-the-fly rebuilds. Linux software raid can't (yet).

umm. That's surprising. My software raid arrays running on dell powervault 221s scsi boxes with adaptec 39160 controllers are hotswappable and when I put in a new disk and add it to the array it resyncs on the fly.

Are you just talking about ide-based raid?

-sv

#17 lore raw
Quoted 10 lines · seth vidal
Quoted 2 lines

One point. Hardware raid (and faux hardware raid) provides real hot swap with on-the-fly rebuilds. Linux software raid can't (yet).

umm. That's surprising. My software raid arrays running on dell powervault 221s scsi boxes with adaptec 39160 controllers are hotswappable and when I put in a new disk and add it to the array it resyncs on the fly.

Are you just talking about ide-based raid?

Yes. ATA and SATA raid (Which is the majority of low budget linux software raid stuff) I realise scsi is hotswap. It comes with the turf.

I would find it pretty hard to justify the expense of scsi for my 7 drive 1.4TB low speed array (Low speed because I never *need* more than about 2MB/s in any direction but I need heaps of space)

Brad

#18 lore raw

Your RAID is 2MB/s? I don't know how you make it so slow! Today's IDE disks are much faster than that!
I bet something is configured wrong!

My P3-500 system gives me 30-40MB/s on a 14 disk RAID5. It's SCSI, but my disks are slow compared to today's IDE disks.

Guy

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Brad Campbell
Sent: Thursday, April 01, 2004 12:02 AM
To: seth vidal
Cc: [email protected]
Subject: Re: Which raid card to buy for Sarge

Quoted 1 line · seth vidal
Quoted 1 line

One point. Hardware raid (and faux hardware raid) provides real hot swap

with on-the-fly rebuilds.

Quoted 9 lines
Quoted 1 line

Linux software raid can't (yet).

umm. That's surprising. My software raid arrays running on dell powervault 221s scsi boxes with adaptec 39160 controllers are hotswappable and when I put in a new disk and add it to the array it resyncs on the fly.

Are you just talking about ide-based raid?

Yes. ATA and SATA raid (Which is the majority of low budget linux software raid stuff)
I realise scsi is hotswap. It comes with the turf.

I would find it pretty hard to justify the expense of scsi for my 7 drive 1.4TB low speed array (Low
speed because I never *need* more than about 2MB/s in any direction but I need heaps of space)

Brad
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#19 lore raw
Quoted 7 lines · Guy

Your RAID is 2MB/s? I don't know how you make it so slow! Today's IDE disks are much faster than that!
I bet something is configured wrong!

My P3-500 system gives me 30-40MB/s on a 14 disk RAID5. It's SCSI, but my disks are slow compared to today's IDE disks.

No, it's about 90MB/s read and 15-20MB/s write.
I said I *need* only 2MB/s.

Brad

#20 lore raw
In reply to Brad Campbell

I have hot swapped software RAID disks, and re-synced without a re-boot. Another time the system had a disk failure and re-synced to the hot spare. I was there and using the system and never knew until the next day. So, very little performance impact.

With software RAID (md) you must invoke some commands to do the hot swap. It's not auto-magic. Some of the hardware RAID systems I know of don't need any user input to re-sync. Just swap the bad disk for a good one.

It would be nice if md could detect a disk being replaced and do everything needed without user input.
BUT!! md has a big difference on that point.
md does not mirror disks!
Read the above line again!

md mirrors partitions. I think it is a major difference. You must partition the disk that is replacing the failed disk. A hardware RAID system usually (maybe always) works on the whole disk. Since md only works on partitions it makes having a hot spare a real pain. I have 2 disk that make up "/boot" and "/". Each are mirrored using these 2 disks. I also have 14 disks in a RAID5 array. I have 1 spare. The spare is configured with 1 partition. It is a spare for the RAID5 array. It can't spare for the other 2 disks since they have 2 partitions.

Guy

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Brad Campbell
Sent: Wednesday, March 31, 2004 11:49 PM
To: [email protected]
Subject: Re: Which raid card to buy for Sarge

Quoted 1 line · Mark Hahn
Quoted 1 line

If would not use the "raid" feature of the Highpoint cards, because it is

only

Quoted 1 line
Quoted 1 line

software raid and not so performant as a hardware raid. If you don't need

a

Quoted 6 lines

please don't say things like this. HW raid is *NOT* generally faster or better than software raid. yes, if you're building a quad-gigabit fileserver out of an old P5/100 you had sitting around, you're not even going to start looking at sw raid.

One point. Hardware raid (and faux hardware raid) provides real hot swap with on-the-fly rebuilds.
Linux software raid can't (yet).
Both promise and highpoint proprietary ide raid drivers can, but no raw kernel or libata drivers can
as yet, and the interface between the hotswap driver and md driver is no where near there.

With the Highpoint driver I get a drive failure and the card starts beeping. I fire up the
management util, remove the faulty drive, swap it out and insert the new drive in the array. The
array starts rebuilding - no effect on the uptime and only a slight loss in throughput. Plus it's
seamless.

I used a pair of Highpoint Rocketraid 1540 cards with the Highpoint driver (as it presented all 8
drives as 8 units on a scsi chain) with linux md raid-5, and I have now moved onto 3 Promise
SATA150-TX4 units in an md raid-5.

I did play with the highpoint raid-5 (which can now span controllers) and it's management features,
hotswap and hot-rebuild were quite good.

Not that I'm advocating hardware or faux hardware raid, just noting that linux software raid still
has a large deficiency.

Regards,
Brad
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#21 lore raw
Quoted 6 lines · Guy

With software RAID (md) you must invoke some commands to do the hot swap. It's not auto-magic. Some of the hardware RAID systems I know of don't need any user input to re-sync. Just swap the bad disk for a good one.

It would be nice if md could detect a disk being replaced and do everything needed without user input.

Yes, agreed. This sort of communication would be the [simple] interface alluded to in other messages.

Quoted 5 lines

BUT!! md has a big difference on that point.
md does not mirror disks!
Read the above line again!

md mirrors partitions. I think it is a major difference. You must

No, that's not the major difference. You are very close, though:

The difference is that md manipulates anonymous block devices. The block devices can be whole disks, partitioned disks, un-partition-able media (nbd or ramdisk), whatever. As long as it's a block device, md can handle it.

So, functioning at the Linux block device level as it does, md is much more abstract and generic than hardware RAID, or "controller-focused software RAID" (i.e. Adaptec host raid, DDF, Promise pdcraid, hptraid, Silicon Image Medley RAID, ...)

Jeff

#22 lore raw
In reply to Brad Campbell
Quoted 6 lines · Brad Campbell
Quoted 4 lines · Mark Hahn
Quoted 1 line

If would not use the "raid" feature of the Highpoint cards, because it is only software raid and not so performant as a hardware raid. If you don't need a

Quoted 8 lines
Quoted 3 lines

please don't say things like this. HW raid is *NOT* generally
faster or better than software raid. yes, if you're building a quad-gigabit fileserver out of an old P5/100 you had sitting around, you're not even going to start looking at sw raid.

One point. Hardware raid (and faux hardware raid) provides real hot swap with on-the-fly rebuilds.
Linux software raid can't (yet).
Both promise and highpoint proprietary ide raid drivers can, but no raw kernel or libata drivers can as yet, and the interface between the hotswap driver and md driver is no where near there.

No real need to have much interfacing. As long as the low level hardware and driver support hotswap, md will notice when the drive stops responding, or starts spitting out nothing but errors. Of course, it is the nice thing to do, to use mdadm to hot-remove the drive first :)

Quoted 1 line

With the Highpoint driver I get a drive failure and the card starts beeping. I fire up the management util, remove the faulty drive, swap it out and insert the new drive in the array. The array starts rebuilding - no effect on the uptime and only a slight loss in throughput. Plus it's seamless.

Yeah, md+mdadm can do all this right now, provided the hardware and driver support is there...

Jeff

#23 lore raw
Quoted 5 lines · Jeff Garzik
Quoted 1 line

With the Highpoint driver I get a drive failure and the card starts beeping. I fire up the management util, remove the faulty drive, swap it out and insert the new drive in the array. The array starts rebuilding - no effect on the uptime and only a slight loss in throughput. Plus it's seamless.

Yeah, md+mdadm can do all this right now, provided the hardware and driver support is there...

Yes, my point however is for low budget stuff with software raid the driver support is not yet there in a vanilla kernel.
I can't just whack a sata drive off one of my promise SATA150-TX4 controllers, pop another one in and have the kernel rescan the partition table and realise a new drive was present. (YET!)

My entire point was that for the types of controllers that were being discussed (Highpoint was particularly mentioned, but you can really interchange any multi-port ATA/SATA controller for this) that the kernel support was not there *yet* but hardware raid or faux hardware raid will buy you this support *now*.

Regards,
Brad

#24 lore raw
Quoted 10 lines · Brad Campbell
Quoted 7 lines · Jeff Garzik
Quoted 3 lines

it out and insert the new drive in the array. The array starts rebuilding - no effect on the uptime and only a slight loss in throughput. Plus it's seamless.

Yeah, md+mdadm can do all this right now, provided the hardware and driver support is there...

Quoted 5 lines

Yes, my point however is for low budget stuff with software raid the driver support is not yet there in a vanilla kernel.
I can't just whack a sata drive off one of my promise SATA150-TX4 controllers, pop another one in and have the kernel rescan the partition table and realise a new drive was present. (YET!)

I'm sort of confused... which are the combinations that allow me to hotswap a disk w/ software raid. I don't mind doing some mdadm operations, I'm just interested in how I can avoid rebooting.

I thought I couldn't, now I learn you can "provided the hardware and driver support is there"... can you detail a little more?

thanks
sandro
*:-)

Signature · 3 lines
Sandro Dentella  *:-)
e-mail: [email protected] 
http://www.tksql.org                    TkSQL Home page - My GPL work
#25 lore raw
Quoted 14 lines · Sandro Dentella
Quoted 10 lines · Brad Campbell
Quoted 4 lines · Jeff Garzik
Quoted 1 line

it out and insert the new drive in the array. The array starts rebuilding - no effect on the uptime and only a slight loss in throughput. Plus it's seamless.

Yeah, md+mdadm can do all this right now, provided the hardware and driver support is there...

Yes, my point however is for low budget stuff with software raid the driver support is not yet there in a vanilla kernel.
I can't just whack a sata drive off one of my promise SATA150-TX4 controllers, pop another one in and have the kernel rescan the partition table and realise a new drive was present. (YET!)

Quoted 6 lines

I'm sort of confused... which are the combinations that allow me to hotswap a disk w/ software raid. I don't mind doing some mdadm operations, I'm just interested in how I can avoid rebooting.

I thought I couldn't, now I learn you can "provided the hardware and driver support is there"... can you detail a little more?

Yup. Currently, SCSI has the hardware and driver support. SATA has the hardware support, but not the driver support (Yet).

Regards,
Brad

#26 lore raw
In reply to Sandro Dentella
Quoted 14 lines · Sandro Dentella
Quoted 10 lines · Brad Campbell
Quoted 4 lines · Jeff Garzik
Quoted 1 line

it out and insert the new drive in the array. The array starts rebuilding - no effect on the uptime and only a slight loss in throughput. Plus it's seamless.

Yeah, md+mdadm can do all this right now, provided the hardware and driver support is there...

Yes, my point however is for low budget stuff with software raid the driver support is not yet there in a vanilla kernel.
I can't just whack a sata drive off one of my promise SATA150-TX4 controllers, pop another one in and have the kernel rescan the partition table and realise a new drive was present. (YET!)

Quoted 6 lines

I'm sort of confused... which are the combinations that allow me to hotswap a disk w/ software raid. I don't mind doing some mdadm operations, I'm just interested in how I can avoid rebooting.

I thought I couldn't, now I learn you can "provided the hardware and driver support is there"... can you detail a little more?

AFAICS, the steps should be:

1) (optional) be nice, and tell md you are about to yank a drive using hot-remove
2) (required on ICH5, optional on others) be nice, and tell SATA you are about to yank a drive (not implemented yet in libata)
3) unplug the SATA cable
4) swap out drives
5) plug in the SATA cable (kernel automatically notices the new device; not implemented yet in libata)
6) new device is probed by kernel SATA driver
7) kernel executes /sbin/hotplug (normal for any hotplug event)
8a) /sbin/hotplug magic issues the md ioctls to hot-add a new device. This requires some knowledge in code, or in a config file, of how to associate a new device on a random controller with a specific array.
or
8b) sysadmin uses mdadm to hot-add the new device, to the specified array.

#27 lore raw
In reply to Brad Campbell
Quoted 4 lines

I used a pair of Highpoint Rocketraid 1540 cards with the Highpoint driver (as it presented all 8
drives as 8 units on a scsi chain) with linux md raid-5, and I have now moved onto 3 Promise SATA150-TX4 units in an md raid-5.

This is probably slightly off-topic, but has anyone heard of successful use of the Rocket 1540 (non-RAID, HPT374 based) card on Linux 2.6.x yet? Highpoint provides binary drivers for Redhat and SuSE, but no other distros and no source - anyone any idea where to get hold of functional drivers?

Cheers all,

--

Nick Maynard
[email protected]

#28 lore raw
Quoted 7 lines · Nick Maynard
Quoted 4 lines

I used a pair of Highpoint Rocketraid 1540 cards with the Highpoint driver (as it presented all 8 drives as 8 units on a scsi chain) with linux md raid-5, and I have now moved onto 3 Promise SATA150-TX4 units in an md raid-5.

This is probably slightly off-topic, but has anyone heard of successful use of the Rocket 1540 (non-RAID, HPT374 based) card on Linux 2.6.x yet?

I'm running four disks off a RocketRAID 1540 SATA card with Linux software RAID since kernel 2.6.0. The driver included with the kernel works just fine. Any card using the hpt374 chip should work, whatever the name on the box happens to be.

Quoted 3 lines

Highpoint provides binary drivers for Redhat and SuSE, but no other distros and no source - anyone any idea where to get hold of functional drivers?

Perfectly good drivers are included with the kernel.

Signature · 7 lines
Måns Rullgård
[email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#29 lore raw
Quoted 4 lines

I'm running four disks off a RocketRAID 1540 SATA card with Linux software RAID since kernel 2.6.0. The driver included with the kernel works just fine. Any card using the hpt374 chip should work, whatever the name on the box happens to be.

Yea. You should note that I have a Rocket 1540, not a RocketRAID 1540. There's a difference - shown particularly by the fact that Highpoint release open drivers for the RocketRAID and not the Rocket.
Should doesn't necessarily mean does, unfortunately. My reasoning was exactly the same as yours, except it's bitten me where it hurts...

Quoted 1 line

Perfectly good drivers are included with the kernel.

And this is where I got bitten. The standard kernel drivers (HPT374 is supported by hpt366.o) in 2.6.5 (and 2.4.something) lock up on boot, during the probe bit I think. Are you using any other module?

Cheers,

--

Nick Maynard
[email protected]

#30 lore raw
Quoted 6 lines · Nick Maynard
Quoted 4 lines

I'm running four disks off a RocketRAID 1540 SATA card with Linux software RAID since kernel 2.6.0. The driver included with the kernel works just fine. Any card using the hpt374 chip should work, whatever the name on the box happens to be.

Yea. You should note that I have a Rocket 1540, not a RocketRAID 1540. There's a difference

More than the box and the BIOS?

Quoted 2 lines

- shown particularly by the fact that Highpoint release open drivers for the RocketRAID and not the Rocket.

I wouldn't use those drivers, having looked briefly at the source code they do release. It wasn't pretty.

Quoted 1 line

Should doesn't necessarily mean does, unfortunately.

Could the onboard bios be messing with you? Can it be disabled? I'm using the card in an Alpha machine that pretty much ignores the bios extensions.

Quoted 7 lines

My reasoning was exactly the same as yours, except it's bitten me where it hurts...

Quoted 1 line

Perfectly good drivers are included with the kernel.

And this is where I got bitten. The standard kernel drivers (HPT374 is supported by hpt366.o) in 2.6.5 (and 2.4.something) lock up on boot, during the probe bit I think. Are you using any other module?

I'm using the htp366 driver.

Signature · 6 lines
Måns Rullgård
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#31 lore raw
In reply to Nick Maynard
Quoted 4 lines · Nick Maynard
Quoted 1 line

Perfectly good drivers are included with the kernel.

And this is where I got bitten. The standard kernel drivers (HPT374 is supported by hpt366.o) in 2.6.5 (and 2.4.something) lock up on boot, during the probe bit I think. Are you using any other module?

Sounds like the same problem I had with a Rocket100 (not RAID) which uses the HPT370A chip. I'm hoping eventually the hpt366 driver will be fixed to support this chip (if it hasn't already).

----------------------------------------------------------------------

 Jon Lewis *[email protected]*|  I route
 Senior Network Engineer     |  therefore you are
 Atlantic Net                |

_________ http://www.lewis.org/~jlewis/pgp for PGP public key_________

#32 lore raw
In reply to [email protected]

I'd like to thank everyone who responded, and I didn't mean to start a software vs hardware war. But now that I did I'm sort of happy, because it's made me question if my direction is proper for my goals.

My goal is reliability, not really performance. I'd like to build a new box with a mirror (raid 1), and migrate an existing box onto the new box with the mirror.
Really the new box is an old box (450 Mhz PIII). I figured I could get a raid card and be done with it. But now I'm wondering if I shouldn't skip getting a raid card and do it with software raid.

Being totally new to Raid, I really don't know the criteria I should be considering that would lead me down one path or the other.

- I'm using a (fairly) old machine, I have to figure processor speed has to be an issue with software raid
- When the box is being stressed most of the work is computational, the process I run puts the CPU% at 98% (according to top).
- Most of the disk activity is read (the disks aren't very active in general)
- I'm going to use WD 7200 rpm drives
- going to do raid 1
- I'm going to want to do backups onto a tape drive

Thanks
Jay
----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 31, 2004 9:47 AM
Subject: Which raid card to buy for Sarge

Quoted 3 lines

Hi,

I wanted to buy an IDE raid card, to run inside a stock debian Sarge box.

I

Quoted 3 lines

was hoping someone could point me to a card that will play nice with Sarge out of the box. Seems like all the cards support the usual distros (RH, Suse...) but none seem to mention debian (and more specifically Sarge).

I'd

Quoted 3 lines

like a card that can run raid 1 and 5.

If it doesn't run right out of the box, how about one that isn't too hard

to

Quoted 13 lines

get working (I know "too hard" is subjective)

Any suggestions would be very appreciated

Thanks
Jay

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#33 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[email protected] wrote:

| - I'm using a (fairly) old machine, I have to figure processor speed has to

| be an issue with software raid
| - When the box is being stressed most of the work is computational, the
| process I run puts the CPU% at 98% (according to top).
| - Most of the disk activity is read (the disks aren't very active in
| general)
| - I'm going to use WD 7200 rpm drives
| - going to do raid 1
| - I'm going to want to do backups onto a tape drive

The only thing that comes to my mind is hot swapping. If you go with IDE drives it is highlu possible it is not going to work. which means, you don't have data loss if a drive fails, but downtime (depends on the server if this is critical).
If you use SCSI drives and Softwareraid you can make hotswap, then if you don't have an special reason for hardware raid, you can go for software raid.

- --
Clemens Schwaighofer - IT Engineer & System Administration
==========================================================
TEQUILA\Japan, 6-17-2 Ginza Chuo-ku, Tokyo 104-8167, JAPAN
Tel: +81-(0)3-3545-7703 Fax: +81-(0)3-3545-7343
http://www.tequila.co.jp
==========================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAa6EqjBz/yQjBxz8RApbuAKDf2q472lXPznFHPkpQ56dSLRkKJwCdGHWm agCc+RjOofOQk3aNaZRB4GY=
=w1b7
-----END PGP SIGNATURE-----

#34 lore raw
Quoted 4 lines · Clemens Schwaighofer

The only thing that comes to my mind is hot swapping. If you go with IDE drives it is highlu possible it is not going to work. which means, you don't have data loss if a drive fails, but downtime (depends on the server if this is critical).

It works in SATA just fine.

(for Linux, it will work when I release the code...)

Jeff

#35 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeff Garzik wrote:

| Clemens Schwaighofer wrote:
|
|> The only thing that comes to my mind is hot swapping. If you go with IDE
|> drives it is highlu possible it is not going to work. which means, you
|> don't have data loss if a drive fails, but downtime (depends on the
|> server if this is critical).
| It works in SATA just fine.
|
| (for Linux, it will work when I release the code...)

well, I was not 100% clear. I am sorry, SATA of course (depends on the chipset thought) can do hotswap. I was more referring to the old IDE (simple ATA drives).

- --
Clemens Schwaighofer - IT Engineer & System Administration
==========================================================
TEQUILA\Japan, 6-17-2 Ginza Chuo-ku, Tokyo 104-8167, JAPAN
Tel: +81-(0)3-3545-7703 Fax: +81-(0)3-3545-7343
http://www.tequila.co.jp
==========================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAa7kvjBz/yQjBxz8RAlBBAKCzMIik9EM3ClXh3yoc+VQr7RTsTwCgkOPA /RpQ3UNDF4azD4pTO4iD/Ls=
=tPeb
-----END PGP SIGNATURE-----

#36 lore raw
In reply to [email protected]
Quoted 3 lines · [email protected] wrote:

I'd like to thank everyone who responded, and I didn't mean to start a software vs hardware war. But now that I did I'm sort of happy, because it's made me question if my direction is proper for my goals.

Not your fault, it's inevitable ;-)

Quoted 4 lines

- I'm using a (fairly) old machine, I have to figure processor speed has to be an issue with software raid
- When the box is being stressed most of the work is computational, the process I run puts the CPU% at 98% (according to top).

98% cpu doing just raid 1? That sounds highly strange, even on an older CPU.

Typically RAID1 doesn't stress the cpu as much as PCI bus bandwidth and the drives...

Jeff

#37 lore raw

----- Original Message -----
From: "Jeff Garzik" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, March 31, 2004 11:58 PM
Subject: Re: Which raid card to buy for Sarge

Quoted 7 lines

98% cpu doing just raid 1? That sounds highly strange, even on an older CPU.

Typically RAID1 doesn't stress the cpu as much as PCI bus bandwidth and the drives...

Sorry, I was unclear. Currently (without raid) my process maxes out my cpu. If I move to raid won't I have performance problems? Maybe all the work happens at the PCI bus

Jay

#38 lore raw
Quoted 23 lines · [email protected] wrote:

----- Original Message -----
From: "Jeff Garzik" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, March 31, 2004 11:58 PM
Subject: Re: Which raid card to buy for Sarge

Quoted 8 lines

98% cpu doing just raid 1? That sounds highly strange, even on an older CPU.

Typically RAID1 doesn't stress the cpu as much as PCI bus bandwidth and the drives...

Sorry, I was unclear. Currently (without raid) my process maxes out my cpu. If I move to raid won't I have performance problems? Maybe all the work happens at the PCI bus

Quoted 9 lines

Jay

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

AFAIK there is no additional calculations on RAID1 so little or no CPU, as long as you make sure your drivers are not in an IDE master/slave relationship you will get equivalent performance to a single drive system, but with redundancy.

This assumes that the RAID array is not recovering at the time of course or doing an integrity check (after an unclean shutdown).

In general though I would not expect Linux software RAID1 to have any additional CPU cost over a single drive.

As an aside alone the 99% CPU utilization is perhaps not a good measure of your system load or capacity. You should also look at how much IO your process produces and also the total load on the system (how much processes are waiting to execute). Most processes if they do any significant IO are bound by that, not the CPU. If your process does little or no IO I would not expect any RAID config to have any impact at all, even RAID5.

see vmstat(8) and uptime(1)

Terrence

#39 lore raw

I think I'll read the how-tos and see if I can't get the software raid up and running

thanks
Jay
----- Original Message -----
From: "Terrence Martin" <[email protected]>
To: <[email protected]>; <[email protected]>
Sent: Thursday, April 01, 2004 1:31 PM
Subject: Re: Which raid card to buy for Sarge

Quoted 15 lines
Quoted 13 lines · [email protected] wrote:

----- Original Message -----
From: "Jeff Garzik" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, March 31, 2004 11:58 PM
Subject: Re: Which raid card to buy for Sarge

Quoted 3 lines

98% cpu doing just raid 1? That sounds highly strange, even on an older CPU.

Quoted 7 lines
Quoted 7 lines
Quoted 5 lines

Typically RAID1 doesn't stress the cpu as much as PCI bus bandwidth and the drives...

Sorry, I was unclear. Currently (without raid) my process maxes out my

cpu.

Quoted 37 lines
Quoted 12 lines

If I move to raid won't I have performance problems? Maybe all the work happens at the PCI bus

Jay

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

AFAIK there is no additional calculations on RAID1 so little or no CPU, as long as you make sure your drivers are not in an IDE master/slave relationship you will get equivalent performance to a single drive system, but with redundancy.

This assumes that the RAID array is not recovering at the time of course or doing an integrity check (after an unclean shutdown).

In general though I would not expect Linux software RAID1 to have any additional CPU cost over a single drive.

As an aside alone the 99% CPU utilization is perhaps not a good measure of your system load or capacity. You should also look at how much IO your process produces and also the total load on the system (how much processes are waiting to execute). Most processes if they do any significant IO are bound by that, not the CPU. If your process does little or no IO I would not expect any RAID config to have any impact at all, even RAID5.

see vmstat(8) and uptime(1)

Terrence