Showing posts with label scsi. Show all posts
Showing posts with label scsi. Show all posts

Monday, April 7, 2008

The long-awaited SCSI Odyssey

What began as an amalgam of intention, performance lust and opportunity culminated this weekend in an electronic journey of mini-epic proportions.

To refresh: The conundrum so far was how to best utilize a pair of 74 gigabyte 10k SCSI drives. My former setup used a 160 and a 320 gig sata drive as system and storage respectively. Even with both drives at a full clip the capacity just wasn't there.



So I decided to favor speed instead.

Now I dare not try to educate anyone in the ways of SCSI and there are plenty of good damn reasons why this technology never took off. Allow me to briefly enumerate them here:

1) Cost - Going by the retail road would have made this project prohibitively expensive. The drives, card and cable would have been unaffordable. Even at newegg comparable equipment would total out at $400 for 1 cable ($35) 1 card ($155) and two drives ($210) At this rate the actual project would have cost far more than I would have been willing to spend. I make it a habit never to spend more on a single component than the rest of the build combined. Even the comparably cheap alternatives that I secured make duplication an ill-advised prospect.

2) Complexity - The card I ended up getting has its own BIOS which is neat. However there was already an array configured and I had to tinker with it to kill that. Once done it was pretty easy to set up the RAID 0 array that I wanted. The drivers proved difficult. More on that later.

3) The Bottom Line - Storage is cheap and marginal gains for hundreds of dollars don't make sense. The whole point of this adventure was to nudge along the slowest component for a few modest performance gains and to learn more about SCSI in the process. While I did learn about it the amount of money it would have required otherwise, the amount of time I spent reading up and searching for components that would mesh well and the pure frustration of the setup all sucked quite a bit of life out of me.

Here's how it happened, starting from after Zaps came to life and demolished every crash test I could devise. I woke up early on Saturday, watched Battlestar (hey it'd been a year) and then got to work. I hauled old Rorschach out of my desk and disconnected all (kb, mouse, vga, dvi, printer usb, backup usb, sound x3, ethernet and power) 11 cables. I haven't gutted the main system in months so there was some requisite dust removal to be done.

Opening the case revealed, once again, what I consider the only true flaw in my PC case.

Observe:

Notice anything ugly right off the bat? At the bottom of the case there is a HUGE honkin' video card that extends to within just a few inches of the front cages (where the hard drives live) A myriad of cables form an ugly clot right at that spot because of the bottleneck. I have developed great respect for single slot video cards and intend to get one next time around.

Here's Beebe interior for comparison:


Anyway. So when I began there were three drives installed. 160 Sata, 320 Sata and a 300 IDE drive. In case anyone cares that's .78 terabytes total. However this exercise pays homage to speed not storage so I ganked the IDE drive to make room for SCSI 1 and SCSI 2. This was touchy because of the bottleneck and the certain reluctance to remote everything out of the case for a few new parts. (The two drives on top are the SCSI drives, they are noticeably different in weight and heft than their SATA brethren.)

I struggled, I won. Connecting the drives was easy. I had to remove a capture card (mostly just a space filler) to make room for the raid card. This dropped in with no problems.



I turned her on and was immediately able to access the Raid BIOS. As I said before I had to kill off the old settings, demolish the mirrored array that was set up and create a new RAID 0 array. All told this took about 10 minutes. So far so good.

Not like Zaps with the fucking busted cable!! Click on the picture to see why the cable didn't work.

I kept my fingers crossed that the embedded drivers in XP would allow me to install without need for a floppy. Just to be clear I haven't willingly used a floppy since I was a freshman in college way back when. And with good reason!!!! How pathetic is this: In order to scrounge up a useable floppy I had to dig around and actually dug up one of my freshman papers. I'll post it later for a laugh.

Anyway, I rescued the disk and added the data cable for my unused and untested floppy drive when I hit a wall. There was no power! Worse as I examined my various modular power cables I could not find a mini-molex connector to save my life.

Drat! Needless to say I found a way around this hurdle by pulling the mini-molex out of Beebe, across into space and into the main case of Rorschach. I know its pretty ghetto but we does what we must.

So diskette in hand I was able to do my fresh install of XP with minimal difficulty. I had to restart once because I didn't set the boot order correctly in the BIOS but once done it was a snap. After that the total time between selecting the partition to install on and the first boot was only about 14 minutes.

Success! I was thrilled. Of course since I had chipped away at this on and off and had to pick up Alex I began the data transfer from the former system drive and went to bed. Sunday came and I was able to reinstall all the drivers, recover all my pics and music and generally return things to a state of normalcy once again.

And then. Benchmarking!!

So before I did the switchover I ran few HD benchmarks on HD tune for reference.


However I am starting to be a little skeptical about the first test because I have not been able to duplicate the access time. Anyway. Those are the benchies from the pre-SCSI setup.

Here are the SCSI ones.

Here's the more consistent 160 gig sata benchmark.
Basically, the Sata drive claims to have a much higher burst rate and and average data transfer rate of 60-70 mb/sec. The SCSI drive had a higher average minimum, maximum and average data transfer rate though the burst rate remained far below. Out of 6 trials only once did the SCSI burst rate break 100mb/sec.

So objectively, to use diablo terms, the SATA drive is lightning damage (IE a wide scope that ranges from really high to really low) and the SCSI setup is a more solid fire damage (average is higher but so are both ends of the spectrum)

Subjectively the system feels snappier and the install FLEW by compared to the original setup. While most of my work relates to online stuff I have noticed that transferring big chunks of data around on the hard drive seems to occur significantly faster. The biggest area of improvement is the virtual PC performance. Shutting down and starting these up goes by in about a third of the time (subjectively, I forgot to stopwatch it beforehand)

Closing thoughts: There is something to be said about character building exercises and this was one of those things. Quote me on that: SCSI builds character.

It's been such a long time...

I really need to get my own digital camera so I won't have my pc projects bottlenecked by the presence of wedding paraphenalia on nat's camera.

Suck.

The good news is that I can post a few screenies of my hard drive bench marks as this weekend conclude the long, drawn out SCSI odyssey which began way back in January.

Once I can get the camera out to upload pics for the actual installation I will indeed but until then content yourself with the following.

For reference the two systems affected by the SCSI Odyssey are my main PC 'Rorschach' and the new only recently completed 'Zaps' Sadly HD TUNE will not recognize the system drive for Zaps to bench mark so no screenies will follow. Instead I will recount the unusual tale of how Zaps came together out of scraps.

Life came to this unique little box from a myriad of sources. The case and mobo were gathering dust in an attic, the RAM tucked neatly away near a burgeoning gunsafe and the CPU/Video card were altogether somewhere else.

So these parts were culled into a seemingly impressive system. Intel server board, 3.2 ghz P4 chip, 2 gigs ram, 128 mb agp card (admittedly weak but better than onboard) all tucked away nicely in a sleek black mid-tower case.

Now there was work to be done aplenty, some retro junk had to be pulled out, screws tightened, fans taken out entirely (the noise was awful) and after much scraping, tooling and cleaning Zaps was coming together nicely. The only problem is that windows would NOT install no matter what I did.

Like any enterprising IT guy I did the obvious. I installed Linux. Kubuntu to be exact, its all there in the last post (look across the months long void to find it) and so it slept happily as I explored the bouncier and bluer world of the KDE.

However not long ago after offloading a surplus pc for a tidy profit I decided to revisit that box and attempt to resolve. However after three different hard drives failed to accept a fresh copy of XP I decided to give up and just use Linux.

However, in a cruel twist of fate, this option no longer presented itself. For in my haste and greed the system had fallen to the wiles of time and my daunting linux box became an omni-amputee. Lamentations fell and scattered. All seemed lost.

And then, what luck! Upon the acquisition of some SCSI drives a la Chad and the Adaptec controller card I was able to finally score some cables and begin the odyssey.

What began proved the strangest twist of all. There was no room in Beebe, the main system was wrapped up with work use and I didn't want pc guts strung out all over my office (any more so than usual!) so I did what I had to do. I dusted off Zaps, slapped in the card, terminated my drives and set them gently inside their cages.

My intention was to play with the RAID setup so that it would be breezy once the time came to migrate to Rorschach. How I was disappointed to learn that raid would be unavailable. Now when faced with a crucial decision I opted to spend my profits from the recent sale to procure some decent hardware. Approximately 100 bucks on ebay afforded me the following.

5x Amphenol Ultra 320 SCSI cables (4 devices per cable, terminator block included) ~20bucks
3x 36 gigabyte Ultra 320 SCSI drives (all working, rails attached)~40 bucks
1x Adaptec Raid card (o and 1 only, but thats all I wanted) ~40bucks

Granted this crushed my profits over the sale but I felt that it would be worth it. Also it allows me to sell the extra cables (possibly) and as you'll discover to offload Zaps onto some lucky soul.

So going back to discovering that the adaptec card Dom gave me was just a controller card I attempted to install windows and IT WORKED!!

I could not believe it. The crazy thing is that I installed XP on a 160 gigabyte IDE drive and not either of the SCSI drives. What luck, I thought. It worked and if I could just do a burn in then I wouldn't have to worry.

Of course removing the two 73 gig SCSI drives crashed the system and no amount of coaxing or prodding would bring windows back. To quote Neal Stephenson: Shit. Shit. Shit. Shit. Shit. Shit. Shit. Shit. Shit. Shit. Shit. Shit. Shit.

So the whole point of the ebay stuff was to acquire a working card for Rorscach and a dinky little drive to use with the original card so that Zaps could...zap stuff.

Once I went through the painfully tedious task of lowballing some bids for the necessary hardware setting up windows was pretty straightforward. There was a minor glitch because the raid card came with a 2 device cable. I tried unsuccessfully to use it with Zaps but nothing I did could get the drive to recognize. After a half hour of heart ache I made ready to chuck out the whole works when I noticed a potential source of failure. The two-device cable had a single wire broken off from the main strand.

Using a healthy cable instantly solved the first problem. After that the only real issue was fairly trivial. Drivers caused more issues than anything else. Once done XP installed and has gone through the 30 boot run and a few other torture tests (prime 95, 6 units of F@home)

So now my dead system is up and ready for resale once I find a willing bidder.

Pics to follow.