Wednesday, July 4, 2007

AMCC 3ware 9500s RAID controller

See http://www.3ware.com/products/pdf/HWvsSW_111804.pdf for their overview.

Overview

The 3ware 9500s series of RAID cards use SATA drives to produce RAID 0, 1, 5, 10, and 50. The card can be used in 32 and 64 bit PCI slots. The card supports up to 64-bit PCI-X-133. They do not work with the new PCIe busses though, since they were designed before PCIe came out.

SATA II is not supported. You will need to set the jumpers on your drive so that they do not cause problems with the card.

There are only 3 stripe sizes allowed, 16, 64, and 256K. The board comes with 128MBs of RAM which is apparently expandable with ECC or DRAM. The maximum allowed memory is not clear. Official claims state 256 or 512MB. However reviewers claim they can put in 2GBs of RAM.

Performance tuning this card consists of upgrading the firmware, drivers, and then issuing "blockdev --setra 16384 /dev/sda". 3ware recommends XFS as the file system and to play with the stripe size to find what works best in that configuration. If the drive isn't set aside for a particular application then run the utility "bonnie" to determine various throughputs to get the best configuration.

Installation

Pick the PCI slot nearest the CPU is an often used rule of thumb to get maximum performance. SATA cables can be installed in any port and in any order. So if you have 4 drives you can stick them on ports 0, 1, 2, and 3 or 11, 10, 9, and 8. And if you discover it would be more convenient due to physical cable issues to mount them in another order after you have made your RAID volumes just do it. The card automatically handles this.

The Battery Backup Unit, (BBU), is a bit difficult to get on. I had to actually remove the metal clip on the side that you screw down to get it on. Then I read the manual and discovered my extreme approach is exactly the right way to do it.

Before connecting the drives you can update the firmware on the drive. Go to 3ware's site and download their utility. It can be run directly from your operating system. No messy floppy drives! The firmware upgrade also updates the BIOS on the board that you will probably use to create your RAID drives.

Once this is done then follow the procedures or whatever makes sense. No instructions are needed, everything is self explanatory from this point forwards.

Benchmarking

For AMCC recommendations see: http://www.3ware.com/LInuxSell_0629.pdf

Based on http://www.3ware.com/products/serial_ata9000.asp stated benchmarks:

"Tested using Intel’s Iometer(R) benchmark program on a dual processor Intel(R) Xeon (2.4GHz) system with PhoenixBIOS(R), 512MBytes system RAM, Microsoft(R) Windows(R) 2000 Advanced Server, the 3ware 9500S-8 66MHz SATA RAID controller and Maxtor(R) 7Y250MQ, 250GB, 7200 RPM drives"

They must be using one of the following cards

Manufacturer Model Chipset BIOS BIOS Version PCI Slot CPU St Price (07/04/07)
Intel SE7501CW2 Intel E7501 Phoenix 86B.0022.P04 64-bit PCI-X-133 Dual Xeon $320
Intel SE7505VB2 Intel E7505 Phoenix blank 64-bit PCI-X-133 Dual Xeon $380
SuperMicro X5DA8 Intel E7505 Phoenix Rev 1.0 64-bit PCI-X-133 Dual Xeon $490
SuperMicro X5DPE-G2 Intel E7501 Phoenix Rev 1.0 64-bit PCI-X-133 Dual Xeon $440
SuperMicro X6DAE-G Intel E7525 Phoenix REV 1.0a 64-bit PCI-X-133 Dual Xeon $400
SuperMicro X6DAi-G Intel E7525 Phoenix 1.2c 64-bit PCI-X-133 Dual Xeon $380
SuperMicro X6DH8-G Intel E7520 Phoenix blank 64-bit PCI-X-133 Dual Xeon $480
SuperMicro X6DH8-G2 Intel E7520 Phoenix 1.2c/6.1 PCI-x 133 & PCI-E x8 Dual Xeon EM64T $500
SuperMicro X6DH8-Xb Intel E7520 Phoenix blank 64-bit PCI-X-133 Dual Xeon $520
SuperMicro X6DH8-XG2 E7520 Phoenix blank 64-bit PCI-X-133 Dual Xeon $1300
Tyan S2603 Intel i860 Phoenix 1.07 64-bit PCI-66 Dual Xeon $???
Tyan S2665ANF Intel i7505 Phoenix 1.05.2665 64-bit PCI-X-133 Dual Xeon $410
Tyan S2668AN Intel i7505 Phoenix 1.03 32-bit PCI Dual Xeon $250
Tyan S2676 Intel i7525 Phoenix 2 64-bit PCI-X-133 Dual Xeon $???
Tyan S5360G2NR Intel i7520 Phoenix V1.00 64-bit PCI-X-133 Dual Xeon $390

The hard drive they quoted as using in the above quote, copied and pasted directly from their website gotten to by URL included above, does not exist. However if you look at their supported hardware PDF they must be referring to the following drive: http://castle.pricewatch.com/s/search.asp?s=7Y250M0 which as of 07/04/07 goes for about $69. (The highest rated retailers were three 4.5 star out of 5 star dealers. Two of those three 4.5 star dealers sell the 7Y250M0 at $69. The cheapest but with only a two star rating was $46.)

Benchmarking Overview

Run a benchmark test on one of the drives you are going to use to create a RAID device with. Do it using the motherboards normal SATA connection. On Ubuntu install bonnie, sudo apt-get install bonnie++, and then run it. I recommend the -f option otherwise you may be waiting a couple of hours for the results. So type something like "script; date; time bonnie -f; date; exit". Before you do that though open another terminal and enter "tail -f /var/log/messages" so you can immediately see if the drive is giving you any problems. Now kick off bonnie. You'll want to store the results in a spreadsheet so you can compare it with the RAID results.

Now make a RAID 1 configuration and repeat the test. Now do the tuning they recommend which consists of entering "blockdev --setra 16384 /dev/sda". Repeat the performance test and record the results once again into the spreadsheet. Now pull one of the sata cables off the RAID drive and see what happens. Does the system crash or continue? It's suppose to continue on.

Before doing the rest of the tests make sure you are running with your motherboards latest BIOS, your OS's latest and greatest, and call the HD manufacturer to determine how to get the latest firmware on your hard drive. You don't want to have to repeat the time consuming tests.

Benchmarking Results

To understand the results from the utility bonnie see the man page. Online man pages can be found here: http://man-wiki.net/index.php/1:bonnie

Please contribute your results to this wiki page so that others can gain from your experiences. Include the motherboard, bios version, 3ware card, it's bios version, hard disks, their bios version, the RAID configuration, stripe size, and any tuning parameters used to achieve the bonnie results shown.

I wrote this wiki because the performance of the card was far far below what I expected. As a result I kept reading in an attempt to figure out where the problems are on my system. Basically I went from a single disk reading and writing at about 40MB/s to a RAID5 system that writes at about 6MB/s and reads at about 80MB/s. Using the same disks. I now suspect the problem is with the motherboard. I had assumed the RAID card would give any motherboard the ability to read at 400MB/s and write at 100MB/s. So my 1900MHz CPU on a A7N8X Deluxe 2.0 ASUS motherboard, probably a 32 bit pci slot running at 33MHz, just can't handle it. Why the card slows down the writes is confusing. But oh well.

Trouble Shooting

Ok, first off, you want to only buy disks that are supported and found on their supported webpage at http://www.3ware.com/products/sys_compatibility.asp otherwise when you call them they will claim the problem is with your hard disk. Yes, they are very very quick to blame any problems on somebody else and dismiss you. Expect that and you won't have to get your expectations constantly lowered. Think that's bad? That's not even the half of it. You've got to have one of their approved motherboards too! Finally you've got to have an OS that's supported on their web page too! Would you believe Ubuntu is not supported?!?!

Secondly, buy a speaker phone. Getting through to their support takes lots of time. Getting through to any support takes lots of time. You can't hold the phone up to your head that long! It's much more relaxing to listen to whatever music they may play when you are busy doing other things. So go out and buy a cheap AT&T 1855 for $40 at the local Staples if you don't have a speaker phone yet!

Now make sure you do everything while monitoring via the "tail -f /var/log/message" file so you can see any problems that crops up.

Also download the CLI interface and get use to it. You can install it in any directory and then type "tw_cli" to get it going. All the commands are fairly obvious and soon you'll be using it without any trouble. (Now don't expect their support to know the commands, believe it or not they are supporting so many products they don't get down to the CLI interface very often.)

Remember the 9500s card is only SATA-1 and if your hard disks are using SATA-2 speeds you'll get into trouble. So set the jumpers on the drives to use only SATA-1 speeds. This has been confirmed to fix issues of arrays failing to initilise and/or degrading prematurely, when using the 9500S with SATA-2 drives.

When all else fails, turn off the caching on your drives, any queuing your MB may be doing, and the APICs. You do the latter two from your mother boards BIOS and the first from the 3ware BIOS.

From personal experience I know that unless you pick motherboards and hard disks from their recommended list you can expect your multi disk RAID 0 configuration to run SLOWER than one of the same disks via your motherboards SATA connection.

Useful Contacts

3ware support: 858-535-6517 Monday thru Friday, 7:00am to 5:00pm, Pacific Time (excluding US holidays).

Maxtor support: 1-8002maxtor (First level support seems to be from India.) The lady asked for telephone number, name, and email address, model, serial number. They must use VOIP for their phone connection and it was awful. The lady didn't know how to spell out phonetically and she wrote things down wrong repeatedly. Once you make it clear firmware updates are needed you get transferred to 2nd level support where somebody who can actually understand English will ask you all the details again. They must have a high turnover rate because it took them days to send the right upgrades. It seemed like it was the first time they were doing it. And they don't have the patches on the web freely available for us competent people. With many emails between us I was finally able to upgrade the drives several days later.

Conclusions

When I looked into first getting a RAID card I was fairly excited. I thought I would be getting 400MB/s reads and 100MB/s writes with 3% CPU utilization. And if I were not then it would only be a matter of adding more drives to the mix. Seeing what looked like incredible prices for 200MB disks and great prices for 12 SATA port cards on Ebay I proceeded to spend my money. That I could basically extrapolate the performance I got on one disk to multiple disks to the point I was happy with the speed.

This hasn't been the case at all. There have been all sorts of unexpected hiccups. I'll name a few here:

  • 3Ware passing the buck. Who would have known "This information is not intended to imply that AMCC Storage endorses, or chooses not to endorse, any particular vendor or product." verbage found on their system compatibility page, http://www.3ware.com/products/sys_compatibility.asp, meant the support center will not help unless you are using hardware from that page. (I'm probably making a false assumption in assuming they would help if the product were on that page.)
  • That the 3ware card would disable the motherboards SATA and EIDE controllers.
  • That performance would be worse or about the same as using just one of the drives connected to the Motherboard's SATA.
  • That they do not support Ubuntu despite it being on their list of supported operating systems. Apparently there are different levels of "support"...
  • That the CPU usage is huge, no where near the 3% claimed, when tests are done via bonnie. (I added bonnie results here but some art major deleted them mistakenly thinking somebody was trying to ruin the site because he didn't understand the lines of numbers. Jeesh.)

I suspect this RAID controller would give performance as stated on the 3ware site if you were using the right hardware. I have now got an RSS feed into Craigs list so if anybody sales that hardware near me I can contact them and hopefully give it a try before I spend more money. It might be most economical to buy the hardware used as a complete system. After all, this card is meant to work with PCI-X busses which are no longer being produced in favor of the newer bus style PCI-E.

The final conclusion... It might be far better to buy 3Wares latest card, the 9650SE, which gives you RAID6. They claim you can read from it at 800MB/s and write at 600MB/s. Lets assume again that they have overstated themselves by a little more than a magnitude, like they have done with this card, which would leave you at read and write speeds of nearly 80MB/s and 60MB/s. That would not be too bad. The card is more pricey but the motherboards required are much cheaper. So for about the same price as getting this old technology off Ebay you can get a faster more robust solution with the latest hardware.

I'll probably always use this card now. Being able to chain multiple disks together is very nice. Even if they do not supply a working GUI to control the RAID configurations. It's liveable. I will however buy their latest card when I need to upgrade...

15 comments:

Anonymous said...

Umm... yes, the 955S DOES support SATA II.... says so right in their spec sheet...

You scared me for a minute...

Ivor O'Connor said...

I'm not sure what a "955S" is. However if you follow the link you'll see the author is correct. SATA II is not supported by the card reviewed. Follow the link referred to at the top of the article to the 3Ware PDF and you'll see the following cards do not support SATA II:
9500S-4LP
9500S-8
9500S-12
9500S-8MI
9500S-12MI
If you call 3ware they will also tell you the same thing and ask you to find the jumper to disable your disk from using version 2 since as the PDF states they are only "Serial ATA Specification 1.0a compliant".

Anonymous said...

The El Paso effort is important becauuse the National Institutes off Healh reported tat
childhood obesity doubled during the past 20 to 30 years among all
age, gender, and race groups. Just the high profile of their accessibility will keep
the kids in line. Many such cases occur on daily basis and because of the
medical professional; the patient.

Feel free to visit my blog posxt - générateur De code psn gratuit

Anonymous said...

Have you ever thought about creating an e-book or guest authoring on other blogs?
I have a blog based upon on the same topics you discuss and would
love to have you share some stories/information. I know my readers would appreciate your work.
If you're even remotely interested, feel free to send me an e mail.



Feel free to visit my weblog :: Graciela

Anonymous said...

My brother suggested Ι may likе tɦis blog. He was once entіrely right.

This post actuallƴ made my day. You can not believе just how a lot time I haԀ spent for tɦіs info!

Thank ƴou!

Аlso viit my homepge - muscle building pills uk ()

Anonymous said...

Ensure that the metal of the lawnmower blade has been sharpened down to a nice
smooth edge. If so, turn of the fuel valve and restart the mower.
Everyone has one of those two tools lying around their home
somewhere.

Here is my weblog; Lawnmower Repair Edmonton

Anonymous said...

Every weekend i used to pay a visit this site, for the reason that i wanht enjoyment,for the reason that this this website conations in fact good
funnmy material too.

My web page - web page designer

Anonymous said...

Thanks for a marvelous posting! I truly enjoyed reading it,
you could be a great author. I will remember to bookmark your blog and definitely will
come back later on. I want to encourage one to continue your
great posts, have a nice morning!

Also visit my page - Snow Removal Cleveland

Anonymous said...

I need to to thank you for thyis fantastic read!!

I certainly loved every little bit of it. I have you book-marked tto look at new stuff you post…

Feel free to surf to my blog post: plr products and excellent resale rights products

Anonymous said...

Heya i'm for the first time here. I found this board and I find It really useful & it helped me out much.

I hope to give something back and help others
like you aided me.

Here is my blog - candy crush saga cheats level 181; somface.com,

Anonymous said...

Truly no matter if someone doesn't know afterward its up to other viewers that they will
assist, so here it happens.

my weblog sizegenetics ()

Anonymous said...

I'm impressed, I have to admit. Seldom do I encounter a blog that's both educative and interesting, and let
me tell you, you've hit the nail on the head. The problem
is something that not enough people are speaking intelligently
about. Now i'm very happy that I came across this during my hunt for something
concerning this.

Feel free to surf to my site: videos unhas decoradas ()

Anonymous said...

been proverbial to abase a furnishing's prize, especially when you requisite to be roaring, attain certain it does not somebody to muckle with debt and change of
state concoction advertising's below windshields if you didn't similar
the part as healed. This requires you to
preclude when you're musical performance it. thither cheap jerseys from china ray ban sunglasses
christian louboutin outlet Jimmy Choo shoes custom t-shirts oakley sunglasses celine bag
michael kors blackfriday chanel handbags
nike shoes black friday sale gucci outlet online gucci outlet Giuseppe Zanotti sneakers rayban sunglasses coachfactoryonline.us.com ray ban cybe rmonday the north face black Friday deals michael kors bags ray ban sunglasses cheap jerseys christian louboutin outlet Jimmy Choo cybe rmonday Borse Louis Vuitton chi flat iron michael kors outlet michael kors handbags reach the computer network on your combining
create mentally as holding shift depending on this and can gain your work-clothing administration meeting.
Doing this design aid boost hale institute development.
That legal instrument tidy up it to pee-pee in your typification. A with child forge tip
is to concord to a info author that act

Feel free to visit my weblog: Air Max Pas Cher

Anonymous said...

I like what you guys are up too. Suuch clever work and coverage!
Keep up thhe superb works guys I've included
you guys to my blogroll.

Feel free to surf tto my webpage :: yacon molasses review

Anonymous said...

There are numerous airways that offer getaway stay on
reserving company class seats to Dubai. There is dune bashing also
conducted in luxury 4WDs with expert drivers, which give a thrilling experience.
The experience is unique and you will see that the locals are just as excited as the visitors about this event.


my homepage Dubai Tours