Slashdot Mirror


SCSI vs. IDE In The Real World

An anonymous reader writes "Gerard Beekmans has a really good comparison of the speeds of IDE and SCSI drives up over on devchannel.org. Should help put an end to the myth of IDE erasing SCSI's speed advantage." Note that Beekmans' test handicaps the SCSI disk a bit, with interesting results. (DevChannel, like Slashdot, is part of OSDN.)

56 of 586 comments (clear)

  1. Meaningless.. by grub · · Score: 5, Insightful


    a really good comparison of the speeds of IDE and SCSI drives

    Oh please. With all due respect to the submitter and Mr. Beekmans, this "comparison" ignores all sorts of other factors: write caching, command overlap, rotational speeds, et al ad nauseum. Yes, some of these are mentioned but a comparison such as this should have hard numbers in a table not opinions. Not that I'm suprised or upset that SCSI trounces IDE, but his comparison is virtually meaningless.

    There are many benchmarking suites out there, I'd suggest these be used for the next test to provide some meaningful results.

    --
    Trolling is a art,
    1. Re:Meaningless.. by grub · · Score: 2, Insightful


      Regardless of the things he ignored... 7 minutes to 1.5 minutes is a huge difference

      Indeed it is but taking one small test's result and implying that the results can be applied across the board is misleading at best.

      --
      Trolling is a art,
    2. Re:Meaningless.. by gladbach · · Score: 2, Insightful

      I was thinking the same thing... those raptors are supposed to scream... BUT, they arent exactly the old breed of ATA drives anymore.

      the lack of cpu usage needed is still what cuts it for me w/ scsi. IDE may be as fast, etc, but on a high load, real time performance server, SCSI is a must, any way you cut it.

      --
      "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms,
    3. Re:Meaningless.. by Hoser+McMoose · · Score: 4, Informative

      Sure it's huge, but I could get just as big of a difference between two runs using the EXACT same hard drive.

      The tester didn't even bother to check and see if the files are fragmented, let alone checking to see if the files are on the same part of the disk. The original poster was right, this was NOT in any way a "good" comparison.

      If you actually do want a good comparison, head on over to www.storagereview.com. They have compared many different SCSI and IDE drives and have a VERY good grip as to where and when SCSI's performance advantage comes into play.

      Here's a quick and easy way to do things: Click on "Performance Database" at the top of the page, and then do a head to head comparison of a bunch of few SCSI drives and a few IDE drives. This will give you a whole whack of benchmarks. What you'll find is that on desktop applications, a 7200rpm IDE can almost always outperform a 7200rpm SCSI drive and is usually about on-par with a 10,000rpm SCSI drive. But, as soon as you get into their server benchmarks, the SCSI drives wipe the floor with the IDE drives.

      Then it simply becomes a question of whether you run a server or a desktop. Different drives for different markets.

    4. Re:Meaningless.. by tchuladdiass · · Score: 2, Interesting

      I'd like to see, just for kicks, a IDE drive hooked up to a scsi controller via an Acard ide-scsi bridge. Is the speed of scsi mostly from the controller, or from the drive mechanics?

    5. Re:Meaningless.. by BrookHarty · · Score: 2, Informative

      Storagereview.com rocks, I use to check on HD statistics, speed, cpu usage, compare against current HDs. The Benchmarks section is the only place to look for true speeds on HD compared to all brands.

      They have a leaderboard which REALLY shows how HD's compare. One thing I really like is how CPU usage is going down with newer IDE HD's. I always hated how IDE spikes the CPU. Ive always tempted to buy an addon ide raid controller to help smooth out the IDE spikes, but keep the size advantage of IDE. If money was no object, I'd be running a Raid setup with Maxtor Atlas 15K 73gig SCSI drives.

    6. Re:Meaningless.. by adam872 · · Score: 2, Informative

      A bit of both. There is no doubt that the Tagged Command Queing in the SCSI protocol helps enormously with high transaction rates...The drives are often better made as well.

    7. Re:Meaningless.. by omaha · · Score: 2, Informative

      Poppycock. That used to be true but it isn't anymore. Many IDE and SCSI drives use the exact same platters. There is no difference in the technologies. Desktop users wouldn't accept the failure rate. In fact, everytime a series came out that had problems of this type, that company suffered quite a bit. (Everone quit buying them and the word spread fast) As a result, the big name manfs use quality platters.

      As to the head and mechanisms, that may differ. The way I see it, the biggest stick that SCSI currently has over top of the line IDE is command queueing.

  2. IDE for end-user... by seriv · · Score: 3, Insightful

    and SCSI for servers. It is that simple, it will stay that way because of cost, not because of speed.
    -Seriv

  3. scsi and laptops by KhanAFur · · Score: 3, Interesting

    This article show that scsi drive have a considerable advantage over the same spindle speed of ide drives. Laptops tend to have slower drives. Has anyone considered using scsi drives in laptops?

    Does anyone know fo laptops that use scsi drives?

    -Mary

  4. Real world by someguy456 · · Score: 2, Insightful

    In the real world, you must also take into consideration different file size ranges, tree structures, and file systems. Comparing two hd technologies while keeping these factors constant isn't very "real world" to me.

    1. Re:Real world by Ed+Avis · · Score: 4, Insightful

      In the real world, you must also take into consideration cost. A fair test would be to take a budget of $500 and try two setups, one with IDE and one withSCSI, with any leftover cash spent buying as much RAM as possible. Then see which system perfoms better with a variety of benchmarks.

      --
      -- Ed Avis ed@membled.com
  5. Re:Does it matter? by barc0001 · · Score: 2, Insightful

    Negligable? 7 minutes to 28 seconds is negligible? What was the Columbia reentry? Almost great?

    And just how exactly does it "all even out" in a RAID setup? IDE RAID and SCSI RAID are still two very different animals...

  6. Holy shit. by Ophidian+P.+Jones · · Score: 3, Insightful

    I can't believe this kind of bullshit gets posted on Slashdot. For those who didn't read the article (and I know you're out there), the guy compared how long it takes to open his maildir file in Mutt on SCSI and then IDE.

    Since it went faster on his SCSI drive, he concludes that SCSI is faster. Wow! How comprehensive!

    If Slashdot keeps this up, I hope they start to get a reputation like Tomshardware.com (those people are full of shit as well).

    1. Re:Holy shit. by nolife · · Score: 3, Funny

      IMHO, It not too bad but

      [next page]

      he has alot of advertising and

      [next page]

      in some instances I get the impression

      [next page]

      some of this reviews are biased.

      [next page]

      This article brought to you by some advertising dollars.
      Click here for the "best" prices.

      --
      Bad boys rape our young girls but Violet gives willingly.
    2. Re:Holy shit. by G00F · · Score: 2, Insightful
      Maybe some day they will test a nice 15000RPM SCSI drive against a nice 15000RPM IDE drive. Then we'll really know what's fastest!

      You mean testing a 10 year old 15k rpm SCSI drive vs a brand new 15k rpm IDE drive?

      --
      The spirit of resistance to government is so valuable on certain occasions that I wish it to be always kept alive
  7. You get what you pay for. by Sheetrock · · Score: 4, Interesting
    Besides the speed advantage, SCSI drives also typically last two to three times longer than their IDE counterparts, and generally go through more rigorous testing.

    Tape drives are like this, too. They look the same, they act about the same during the write process, but the cheapie drives that come with some servers will fail to reread the tapes if they're reused as constantly as they are in most businesses (who, on average, reuse the same weekly tapes for a full year or more!). Better to put the money into a DLTtape solution than to rely on what's bundled with the server.

    --

    Try not. Do or do not, there is no try.
    -- Dr. Spock, stardate 2822-3.




    1. Re:You get what you pay for. by Anonymous Coward · · Score: 2, Funny

      What if you steal it ?

    2. Re:You get what you pay for. by BWJones · · Score: 2, Interesting

      Besides the speed advantage, SCSI drives also typically last two to three times longer than their IDE counterparts, and generally go through more rigorous testing.

      This is absolutely true. Apple used to ship all SCSI drives in their machines and I still have twelve year old Macs that have never had a hard drive failure. The new IDE drives however are a different story. That said, Apple appears to do more quality testing on their hard drives in that since Apple started shipping Macs with IDE drives, I have had two failures. Compare this with Wintel boxes like Dells where I have had close to ten IDE drive failures.

      The other issue that folks should know is that if you are doing any work that is truly disc intensive (like photoshop or scientific computing) then SCSI has historically been the protocol of choice with much faster speeds possible with SCSI. For instance, I have insisted on 10-15k RPM drives for my work and they are much faster than even the fastest IDE devices. This is starting to change with fast SATA drives however and I am looking forward to some new options with the G5.

      --
      Visit Jonesblog and say hello.
    3. Re:You get what you pay for. by rangek · · Score: 2, Informative
      If you actualy run your tape backups on a nightly basis, religiously, you have no business buying anything less than a DLT drive. The DAT drives and all the other cheaper solutions are "consumer-grade", meaning they're only intended for the occasional use (such as doing a full backup right before wiping out or upgrading your hard drive). They'll quickly wear out and break down if you do much more than that with them.

      What about VXA? We run at least five tapes a week through our VXA-1 drive, and have had almost zero problems with the tapes (I think we had one tape "wear out" and get eaten in two years.) And it's not like we don't know if our backups are good. Just last week some one snagged some files they accidentally deleted off an old tape.

    4. Re:You get what you pay for. by Naeleros · · Score: 2, Insightful

      Like anecdotal evidence?

      I have owned 10 wintel PC's in the last 8 years (I usually sell systems when I upgrade.. but, still have a few of them). Never had a hard drive failure.

      I work for two places and have probably seen 50+ wintel PC (desktops) move through in the last couple years (including the new ones we purchased this year). Never had a hard drive failure.

      At one place we have 6 Mac's (2 brand new). We've had 1 hard drive failure.

      What does it mean?

      Not a damn thing. Its totally anecdotal and worthless 'evidence' of anything.


      p.s. One of the easiest sells in marketing.. is that if something costs more.. it must be 'better'. Ask a salesman sometime ... particularly computer or used car...LOL

    5. Re:You get what you pay for. by Naeleros · · Score: 2, Interesting

      And why wouldn't Western Digital just make contracts with their customers for certain quantities of drives meeting certain specifications at certain prices, all of which could vary from customer to customer, be it Dell, Apple, or whomever?

      The reason for this has to do with "Just In Time Manufacturing" (no inventory) & low margins. Its not permissible to have inventory because of JITM. Its not feasible to have multiple assembly lines for the same process (excepting if you need the production capacity because of order volume) because of low margins. And, its not reasonable to keep 'resetting' your main production line for a different customer's procedures (imagine you're in the middle of a several day process of changing over when you get a call from your biggest customer saying he needs 16 hrs of parts TOMORROW... it happens all the time...keep those lines ready).

      Its just far simpler to find a common QA level that everyone can agree to. If you have a customer that demands a certain high level of quality on a product line.. then that's what you produce (if his volume is high enough to warrant) for all. You can certainly have varied product lines (which probably span multiple assembly lines). Those varied product lines almost certainly do have varying degrees of QA/testing.

      What I'm asserting is that you don't make 2 products that are exactly alike in every respect except the level of quality that you use for your customers (for big markets like HDDs... if you work out of your garage.. its no biggie). If you have an 'assembly line' that is 'better'.. then you make a new 'product line' and charge more than you charge for the other one. (I'm also saying that Dell/Apple use the same line of HDD's...now that Apple has dropped SCSI as standard.)

  8. Not an accurate test by pagercam2 · · Score: 2, Interesting

    The document lists one and only one case. I don't doubt that SCSI has performance benfits that is pretty well known. I've always wondered why they don't upgrade IDE with a better command set much like SCSI, well they haven't they just increase the clock speed and offer better buffering. So there is a valid case for a comparison between SCSI and IDE. This review does one and only one test which proves that SCSI wins on one test this is not a good article. He reads one and only one file. The real question is how well IDE and SCSI operate under real multi-treaded OS conditions. Slashdot editors should be rejecting this article in favour of one with a real indepth analysis. SCSI will win but not for the reasons listed in this article.

    1. Re:Not an accurate test by Frostalicious · · Score: 2, Informative

      He reads one and only one file.

      No, he read 50,000 files.

      every email message is stored in a separate file....I used a maildir folder containing 50,000 emails.

      Sure it would have been better for him to run a number of scenarios, but he couldn't build himself a whole lab due to cost factors. Even with this rudimentary testing, a difference of 8 times indicates to me that there is an effect.

    2. Re:Not an accurate test by pjrc · · Score: 2, Informative
      I've always wondered why they don't upgrade IDE with a better command set much like SCSI,

      ATA-5 added multiple command queuing and disconnection (the primary benefits of SCSI). A few drives today support it. Someday, almost all will.

      Tagged command queuing and better drivers in linux are most likely the reason the SCSI drives were able to read 50000 files much more rapidly than a similar IDE drive.

      well they haven't they just increase the clock speed

      DMA modes 0 -> 1 -> 2, followed by UDMA 66 -> 100 -> 133, and now SATA gen1 (150 Mbytes/sec), and in a year or two SATA gen2 (300 MBytes/sec)... and maybe someday gen3 (600 MBytes/sec)... and likely faster speeds thereafter, but this is what is officially approved and published today.

      and offer better buffering.

      Shopped for drives lately. 2 and 8 meg buffers?

      This review does one and only one test which proves that SCSI wins on one test this is not a good article. He reads one and only one file.

      Yes, 1 test. No, 50000 files rather than just 1 file.

      Slashdot editors should be rejecting this article in favour of one with a real indepth analysis.

      Slashdot "editors" should do many things to be worth of the title "editor". At least lately they've been a lot better about spelling errors.

      Perhaps they didn't actually read the article (or merely skimmed it), or they weren't very knowledgable about the evolution of IDE and SCSI... much like their readership posting the majority of these comments.

  9. Re:Does it matter? by pstreck · · Score: 4, Insightful

    Negligble? Umm, when you can unpack a kernel in a third of the time and see a 6 and a half minute difference in large reads these performance gains are not negligble. If this was a hairline race that was a matter of a few seconds I could understand, but anyone who does work that is disk intensive will benifit from scsi.

    --

    Later,
    Phil
  10. FYI: Gerard Beekmans... by Aardpig · · Score: 3, Informative

    ...is the original creator of Linux From Scratch, and therefore registers very high on all standard 7331-meters

    --
    Tubal-Cain smokes the white owl.
  11. And back to reality. by DAldredge · · Score: 3, Insightful

    And in the REAL real world, the author of this piece discovered that, for his application, the SCSI drive was at least 300% faster.

    Why isn't his test, done with real world data, not a 'real world' test?

  12. Re:SCSI vs. IDE: Same experiences by jawtheshark · · Score: 2, Informative
    Same experience here too... I have a P166 server with 128Meg RAM, and before it ran just from an IDE disk. It was terribly slow. I later replaced it with an Adaptec 2940UW with an relatively old IBM 18Gig SCSI harddisk. The difference was mindblowing. It was as if I had upgraded the CPU with a P-II...

    It's insane... SCSI is worths it's money... I just don't have the money... ;-)

    --
    Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
  13. Oh, come ON. by SlashChick · · Score: 3, Insightful

    That "benchmark" was ridiculous. "I have this two-year-old IDE hard drive and I'm going to benchmark it against this SCSI drive. Woop, look! It read my mail directory faster! SCSI must be better!"

    Look, I'm not denying that SCSI is faster. But he neglected to even do any other tests! He also neglected to use a newer IDE drive, which hampered the IDE performance dramatically. (Who's going to use a 2MB cache IDE drive in any area where hard drive performance is critical?)

    Personally, I'd like to see the test of an IDE RAID array running off a 3Ware card. For the price of one SCSI drive, you can get 3 8MB cache IDE drives, plus the 3Ware card. Oh, sure, it will probably still be a bit slower than SCSI. But at least the benchmarks will show some sort of logical comparison (and the benefit of IDE -- namely, tons of disk space.)

    Is it just me, or have the articles posted on Slashdot recently been pretty lame? I just don't understand how some of this stuff gets posted to the front page. This is not a review. This is not a benchmark. It's one guy who tested one application of hard drives and made a conclusion based on that test. This type of stuff can be found in any newsgroup or forum on a daily basis. It should not have been posted to the front page of Slashdot.

  14. Re:SCSI vs. IDE: Same experiences by Zocalo · · Score: 2, Interesting
    Here's some anecdotal evidence for you. Many moons ago, when CD ROMs were still a rare beast, I had two models of the same dual speed drive on my desk, one IDE and one SCSI. These were state of the art drives at the time. I had a sample disc with a large Video for Windows file - must have been 10MB at least! On the IDE model playback was jerky and the CPU was maxed at 100%, while on the SCSI version the CPU never got above 50% and playback was smooth as silk.

    The reason for this being that SCSI handles far more of the overhead of managing the disk on the controller than IDE, which left much of the work to the CPU. Of course, this technological gap has narrowed considerably with the evolution of IDE into EIDE and now ATA drives.

    I have to confess, I'm a die hard SCSI fan when I can justify it (although I might be swayed by second generation SATA). While the real world performance gap of SCSI-vs-IDE is long gone, SCSI drives are still synonomous with servers, which usually translates into a more robust product. How much is *your* data worth compared to the SCSI price premium?

    --
    UNIX? They're not even circumcised! Savages!
  15. pretty outdated hardware... by Malor · · Score: 4, Insightful

    He tested a 40gb IDE drive versus a 9gb SCSI drive, both 7200 RPM. The SCSI drive was a lot faster, but this isn't any particular shock; this is pretty old hardware.

    Basically he just told us that circa 2001, SCSI was faster. I think we mostly knew that already.

    It would be a lot more interesting to see the test run with one of the 36gb WD Raptors. They are 10K RPM and are *very* fast drives. I use a pair of them striped as RAID 0 in my main desktop; they're faster than anything I've ever used before, including 10KRPM SCSI. (I haven't used 15KRPM SCSI, which I imagine is probably faster still, but very noisy, which is why I went with the Raptors. )

    Note also that IDE drives in general are "tuned for desktop usage patterns". I'm not entirely sure what that entails, but I suspect it involves a lot of read-ahead caching; single-user systems tend to be actively reading only one or two things at a time. SCSI is tuned for server performance, and the test of "read lots of small files" is probably much closer to a "server" load than to a "desktop" load.

    What I'd like to see is testing of streaming performance in working with really big files. That's something I do fairly frequently. How fast can you extract, say, a 500MB RAR file back to the same disk? How fast is it if you're reading from one and writing to a second? On a personal basis, I do that a lot more than putting 50,000 files in a directory and then reading every single one of them.

    However, if I ever DO plan on putting 50,000 files in a directory and then reading all of them on a frequent basis, I'll be sure to choose SCSI. :-)

  16. Re:Comparo? by rusty0101 · · Score: 2, Insightful

    2.2 Ghz processor with IDE drive outperformed by 750 Mhz processor w/ 3 year old SCSI drive of similar specifications (same size, spindal speed, smaller buffer) by a 7 times margine.

    Note also that the IDE drive was used exclusively for this test at the time of the test, and the SCSI drive was in a server which was active doing other things as well.

    I would think that the 50,000 message folder would be of a wide variety of file sizes. Though it would be really easy to create such a folder of all one file size, simply by running a script that creates that many simple message files with the word "hello" in the subject and the body. As a developer for "Linux from scratch" I would suspect however that this is his message archive, which is likely to contain anything from a "this package sux" message on up to messages carrying a significant portion of the source code to Linux.

    As to your comparison of a .22 and an RPG, I would think that a more appropriate comparison would be a .44 automag to a .22 revolver. The .22 is less likely to bother the neighbors. The .44 automag is more likely to stop the rampaging bull. Which is more appropriate for use will depend upon the use.

    For my own needs an IDE drive works well. Then again I don't build and install a new Linux kernel every couple of days either.

    Obviously your milage may vary.

    -Rusty

    --
    You never know...
  17. Re:Does it matter? by hayesjaj · · Score: 5, Informative

    Yes, it does matter. The applications that he tested did not include cpu usage, which are assumed to be neglegable. Try doing an IDE Raid setup while your cpu usage is already high (e.g., a cpu and disk intensive game or running many applications in virtual memory). The simple fact that the scsi controller handles the io operations will cause your performance to increase even more than the article suggests. Now, do you need to spend 500+ dollars to store mp3s and your pron? Probably not.

    --
    The world is a comedy to those who think and a tragedy to those who feel.
  18. Holy war? by BenjyD · · Score: 4, Interesting

    What is this? Holy war week on Slashdot? In the last week or so we've had stories on BSD vs Linux, Linux vs Solaris, PHP vs Java, Exchange vs Sendmail , x86 vs PPC and now IDE vs SCSI. All that's missing is Vi vs Emacs and I think we'll have pretty much every major computing disagreement covered.

  19. Next on Slashdot: P4 beats Apple ][! by op00to · · Score: 2, Funny

    From the is-this-worth-wasting-the-time-on dept:

    My Pentium 4 is faster than my Apple ][. I did benchmarks!!!!!!!

  20. Explaination of results by darkwiz · · Score: 4, Insightful

    One would expect the SCSI drives to consistently wallop similarly configured IDE drives (same buffer, spindle, size, #heads and every other physical characteristic you can think of) based solely on one observation: Tagged Command Queuing.

    TCQ allows a drive to execute commands out of order to optimize the access pattern. This can have a HUGE impact on performance. Relatively few drives support TCQ on ATA, and very few chipsets support it as well. This is mostly because people who buy ATA aren't *real* performance freaks. They want high streaming performance (like hdparm -tT), but don't know to care about random access performance as it may not be relevant to them.

    Server/database access patterns are far more random than typical desktop usage, and this is where SCSI wipes the floor with ATA.

    Some have pointed out that RAID enclosures are moving towards IDE drives. This is due to the fact that the integrators are using optimizing logic in the controller to handle emulating TCQ. So you can have a stone-dumb drive in there and it doesn't matter as long as the physicals are there.

    SCSI drives also typically come with caching algorithms which are intended to try to increase cache hits by using more intelligent cache allocation and predictive reading.

    Combine that with better, more intelligent controllers, command detachment, and infinitely better bus sharing - and SCSI cannot be compared to ATA in high demand situations.

  21. But *why*? by pla · · Score: 2, Informative

    I have done similarly-informal tests myself, with comparable results.

    I can't say I understand why SCSI performs so much better than IDE, however. In this particular test, he compared what amount to evenly-matched drives, specs-wise, and even gave the IDE drive the better machine. Yet, the SCSI drive completely crushed the IDE drive, no question about it. And as I mentioned, my own informal tests have shown the same results.

    What explains the difference? Same spindle speeds, similar read rates (both buffered and unbuffered), similar seek times... What other factors exist that make so much of a difference? Just higher quality controller hardware? And if so, would an IDE drive on a high-end controller perform comparably?

    Personally, I'll still take 4x the size for the same price, since cost and size (with "okay" performance) matters more to me than raw speed. But I wish I knew why one performs so much better than the other.

  22. The True Path by Corgha · · Score: 4, Funny

    (let me help get you started)

    vi? Emacs? What are these things of which you speak?

    Ed is the standard text editor!

  23. Differences between SCSI and IDE by vlad_petric · · Score: 2, Informative
    The main difference is how the bus deals with transactions. SCSI is a split transaction bus, which means that you tell the drive - give me D, A, C, B (in a non-blocking way). The drive will give you back data in the order it finds more convenient (let's say A, B, C, D if it were at one end of the drive) - it effectively rearanges the requests/responses. The operating system already does that to some extent (elevator algorithm), but the OS can't do a better job than the disk controller itself. This is very crucial for servers, where multitasking happens a lot (clearly mutt won't see any difference)

    The second - CPU utilization. A SCSI controller does a lot more work by itself than an IDE one - therefore it requires much less interaction with the CPU.

    Then we have the bus bandwidth - this is probably no longer an issue, as ATA/66/100/133 can pipe enough bytes per second

    Finally, the most important one - manufacturers simply don't make a 10k RPM hardrive IDE drive ... And 10k - 7200 makes a hell of a difference.

    --

    The Raven

  24. Re:Unfair comparison by fishnuts · · Score: 2, Informative

    The number of tracks a drive has is inconsequential to the access time. The time it takes for the read/write head to move across the platter (since the platters in ide and scsi drives are nearly the same size) is a product of how heavy the heads are and the strength of the motor assembly (which is actually a pair of coils moving between two very strong magnets). I'm inclined to believe that the IDE drive's slower seek performance is actually because if a cheaper head/motor mechanism. After all, the IDE drive _is_ cheaper, so this is one place where costs are cut.

    As far as buffering is concerned, random access reads, such as when reading in many small files, does NOT benefit in speed from larger on-drive caches. That cache is used mostly for multi-block read-ahead and write-back on sequential accesses, and is usually segmented into "areas", where sections of cache memory are linked to sections (cylinder groups) of the platters. The more cache you have on the drive, the less "thrashing" the drive has to do when many disperse files are written to, since it can group many operations into their appropriate "areas" of cache. This doesn't help as much for random reads (like maildir!) as for sequential reads.

    So why does scsi really have an advantage?
    1) tagged queuing. The host controller can queue up to 255 (depending on the controller and drives) commands to each drive, and can request the drive to "update" the controller on its status completely asynchronously, and in groups of responses. With one single "message" from the controller, the scsi drive gets up to 255 times as many low-level commands (block reads/writes/seeks/cache ops) as one command between an ide controller and its drive. For the test in that article, the host OS simply had to read the directory, and send off a bunch of commands to the SCSI controller to read a list of blocks, and notify the host when it was done moving everything into memory. Meanwhile, the IDE drive was busy doing every operation one at a time.

    2) multi-processing-friendly communications protocol. Because of the way scsi offloads most of the processing from the host, the host can spend less time waiting for an interrupt to complete (remember, an IDE device can only complete one low-level command at a time, per interrupt), and group commands from many processes together into one stream of scsi commands, or multiplex commands to multiple devices on the scsi bus in one operation. IDE is incapable of sending commands to two devices on the bus simultaneously. i.e. It must wait for an operation to the master drive to complete before sending something to the slave on the same channel, or to a drive on a different channel. In the test, the SCSI drive performed so well even though it was on a 'server' sharing resources with other processes because the OS was able to group commands together from all the different processes, while the IDE system had to "pause" programs that were waiting "in line" for ide operations from another process to finish. These processes can also include kernel disk read-ahead threads, write-back buffering, other programs on the system, etc.

    IDE will eventually have tagged queuing (some controllers/drives already support it), but there's still the problem of the IDE controller holding the host in an interrupted state (interrupt contention) while the operations complete. It's how the IDE spec works. DMA helps a lot here, but only makes the data transfer faster. The time the various low-level commands take and how they tie up the host cpu is still the bottleneck. To be fair, SATA should have all this stuff covered, and will likely bridge the gap between IDE and SCSI performance, but I don't believe it'll approach the overall reliability and robustness of SCSI.

    Disclaimer: I've described the advantages/disadvantages above as best as I could recall. corrections welcome.

  25. Re:This is not a review by Cynikal · · Score: 2, Insightful

    of course its not a real review/benchmark.. look at the reasons for the test.. he plainly states:
    "before my wife would allow me to"...

    the whole point of the testing was to convince his wife to let him buy one.. and she most likely was asleep at "integrated IDE controllers".. apon waking up, all he had to say was "From my testing I concluded that SCSI being faster than IDE is not a myth. It is very much a reality." and obviously got the go ahead

    remember, in the immortal of homer simpson "facts, schmacts... facts can be used to prove anything that is even remotely true"

  26. Re:SCSI vs. IDE: Same experiences by pjrc · · Score: 4, Informative
    Obviously someone has never read the ATA specs... even ATA-2 from the early 90s...

    In IDE, the OS has to position the head, wait x sectors, read a sector, save it into memory, go to the next sector, read again, store again, and so on.

    No. It's NEVER been that way in ATA. Not even the earliest IDE drives. With MFM drives before IDE, and on the Apple ][ and C-64 this sort work was done, but IDE has never been anything like this.

    With ATA (a.k.a. IDE), you write 5 bytes to registers to indicate the starting sector number and the number of sectors you want. Then, you write to the command register to transfer control to the drive and it begins working on your command. All modern systems will (usually) issue the "read multiple" command, which instructs the drive to read many sectors into its buffer and give an interrupt when they are all available in the buffer. This isn't something new. The read multiple command has been in the ATA specs for a long time, and PCs have made use of it since at least the days of Windows95 and Linux kernel 1.0. When the drive has all the sectors in its buffer, it asserts the interrupt pin. The read multiple command comes in PIO and DMA flavor, and if you wrote the DMA version to the command register, a DMA operation happens to transfer all those sectors to whereever you set up the DMA controller to store them.

    SCSI gets most of its advantage from tagged command queuing and disconnection. These features have appeared in the very latest IDE specs, and so far very few ATA drives support them.

  27. ATTN: Slashdot community by fliptout · · Score: 3, Insightful

    As this "article" painfully demonstrates, we need the ability to moderate things on the front page.

    If the editors cannot distinguish what is trash or what isn't, let the community decide.

    Thank you.

    --
    A witty saying proves you are wittier than the next guy.
    1. Re:ATTN: Slashdot community by tmark · · Score: 2, Interesting

      If this site really used user-moderation to determine what should show up on the front page, much of the time there wouldn't be much up there. Web sites like these depend on having eyeballs, so the editors need to keep throwing stuff up there. If there's some other more interesting article, people will read those instead. But look at how much time you, and the others who (rightly) hated the article spent reading and then posting about it, and look at how long we spent responding to your posts. And think of all the people who read some of the posts and then just went on without responding. Those constitute a lot of eyeballs. Ever wonder why we keep seeing essentially the same stories about e.g. how Windows/Linux/MacOs is better/worse ? Ever wonder why there are so many dupe stories ? Ever wonder how anyone ever gave Jon Katz a soapbox ? Ever wonder how sometimes the most ridiculous stories/claims get a ton of posts ? Eyeballs are eyeballs, whether they're happy or not. It's not such a bad strategy to purposely put up crappy articles, even if only to make the "angry" readership feel welcome.

      Forget your delusions about this being a site for a "community". It's a business.

  28. Re:SCSI vs. IDE: Same experiences by ergo98 · · Score: 2, Insightful

    The SCSI cd-rom was a quad, and the IDE a 6X. It took 30 seconds to load a level on the 6X IDE system and 4 seconds to load on the quad SCSI system...

    You see, here's the problem with armchair benchmarkers, such as the site linked by Slashdot, and your, er, benchmark - You do realize, of course, that a 6x CDROM has a throughput of a blistering 1MB/second, right? That even on traditional IDE the controller subsystem sat around waiting for data about 97% of the time? The idea that there is any measureable difference between interfaces at such an absurdly low throughput, even accounting for massive interrupt overhead (such that classic IDE had, but modern IDE doesn't) would be just a blip on the radar. Your methodology is crap, and the more likely explanation is that the IDE drive had a physical problem such as overspeed or a focusing issue.

    The ONLY advantage IDE has is price. End of story.

    Wow, I guess we might as well wrap this whole discussion up right now!

  29. Real-world Price Comparison by SlashChick · · Score: 2, Informative

    Okay, I know it's bad form to reply to your own post, but I thought I'd add the results of a little Pricewatch search I ran.

    I said in my earlier post that you can get 3x8MB cache drives plus a 3Ware IDE RAID card for about the cost of one SCSI drive. Here are the actual cost breakdowns. All prices include shipping.

    IDE SYSTEM
    1 x 3Ware 7500-4 4-port RAID card: $250
    3 x Western Digital WD800JB hard drives (IDE; 80GB; 8MB cache) = $219.

    TOTAL for IDE system: $469.
    Total usable space: 160GB.
    Bonus points for RAID-5 redundancy.

    SCSI SYSTEM
    1 x Adaptec 29320 U320 SCSI adapter (64-bit PCI card): $179.
    1 x 73GB U320 10,000RPM drive by Maxtor: $296.

    TOTAL for SCSI system: $475.
    Total usable space: 73GB.
    Bonus points for raw speed.

    Now, if you want to run a real benchmark, pit these two systems against each other in a nice server (dual Xeon preferred.) Make sure it's the same hardware being used. This would be a benchmark that I'd be interested in seeing the results from. I'd take any test pitting these types of systems against each other a lot more seriously than any "benchmarks" in the current article.

    1. Re:Real-world Price Comparison by raptor21 · · Score: 2, Informative

      Why use a U320 card if all you plan on connecting is one drive?

      The bus bandwidth only comes into play if you have more than 4 disks on the SCSI bus. The max sustained bandwidth of a 10k RPM SCSI disk is ~70 MB/s. You would need a U320 controller if you plan on putting about 4 of these disks on the same bus that is 4x70 MB/s = 280 MB/s.

      You could get away with an LSI logic single chanel U160 64 bit PCI controller for $46.75 shipped (pricewatch). Maxtor 10K rpm 73GB U160 drive can be had for $147 shipped.

      So your total for SCSI with two drives = $294 + $47 = $341

      Added bonus you can connect 15 drives to the SCSI controller and only 4 to the IDE RAID controller. you can get a dual channel lsi1010 controller for $64.

  30. Check out storagereview.com by spinkham · · Score: 2, Insightful

    Check out storagereview.com
    Great drive reviews, the best out there..
    At the moment, the best scsi drive has about a 2x lead over the best IDE drive in "Server style" loads, and about a 20% lead in desktop type loads.

    Note that this really isn't an interface issue, but a market issue. With tagged command queuing in serial ATA, one of the main reasons for SCSI's dominance is gone. Unfortunatly, no enterprise class drives support it yet.

    The difference between SATA and SCSI is market.
    The fastest SATA drive goes for $160, while the fastest SCSI for about $700.

    SCSI drives are manufactured for the "no compromise" audience, and are therefore traditionally faster and more reliable.
    SATA puts IDE drives in the same interface class as SCSI, and more "enterprise class" drives are starting to be built with that interface.

    Given a well-built SATA drive that includes all the SATA features like TCQ and drive with the same build quality in SCSI, I bet that the difference would be minimal. There are no comparable products at the moment though, so time will tell..

    --
    Blessed are the pessimists, for they have made backups.
  31. Re:Does it matter? by ckaminski · · Score: 2, Informative

    I got a Raid 5 ide setup on the Promise SuperTrak Sx6000, and that 3disk array doesn't even come CLOSE to touching the performance of some of my SCSI arrays at my workplace. Do one task, and it's fast. Start any amount of multitasking, and it dies, quick. SCSI would never fall over so badly.

    Granted the large caches make up for it, but comparing speed of IDE vs. SCSI is as pointless today as it was 10 years ago. (try finding cheap reliable 15K RPM IDE drives). Price/performance, maybe IDE wins depending on who you are...

  32. SCSI over NFS better than Local ATA for me! by MarcQuadra · · Score: 4, Interesting

    I get better real-world performance from my Ultra-2 SCSI drive _over NFS_ than I do for my local ATA/100, and the SCSI disk itself is about 5 years old.

    That says something.

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
  33. Re:IDE w/ 2meg cache? by ericman31 · · Score: 2, Interesting

    Pieroxy wrote: Dude: 7 minutes vs 28 seconds. That's more than 1:14!!!

    Dude: This comparison leaves so much out that it is completely meaningless.

    • No mention is made of data layout, I would say that the "benchmark" author didn't bother to ensure that he had the exact same data layout and filesystem layout between the two disks.
    • Were the files clean, or fragmented? Was one disk clean and the other fragmented?
    • Were these the only disks in each system? Or was some of the other I/O mentioned hitting against a different spindle and/or controller?
    • More spindles, smaller disks on the spindles, will give better performance than one spindle (or a few) with a larger disk. I'm betting that he added the SCSI drive to his server and much of the I/O activity on the system was hitting a different disk, possibly a different controller as well.
    • What drivers is he using and what operating system? Is it exactly the same, down to the kernel version on both systems? Did he use a generic IDE driver on one and the vendor's highly optimized and tuned SCSI driver on the other?
    • Are both systems basic PC in nature? Or is one a laptop and the other a low end server?

    I have actually been part of benchmarks that had such a wide disparity in performance. But we could back up our results with rigorous benchmark standards and results. The benchmarks involved several different database engines on the exact same server hardware, storage subsystem and operating system. All system parameters, data load processes, operating system optimizations, DBMS tuning and queries were carefully documented and reviewed by independent SME's. Benchmark results were documented and reviewed after being repeated multiple times for each system. At the end of it all we had a benchmark that was acceptable to our customers, the engineers and the PHB's.

    This so called benchmark would be laughed out the door. SCSI generally performs better for I/O intensive scenarios and that can be proven with appropriate benchmarking. But this "benchmark" was not rigorous or thorough and proved nothing.

    --
    In my universe I'm perfectly normal, it's not my fault you don't live in my universe.
  34. Bad Science begets Meaningless.. by MrChuck · · Score: 2, Insightful
    SCSI *is* faster by a good bit than IDE (and SATA is the same interface, really, just fewer wires with fast serializers at each end)

    However, the test is about as bogus and incomplete as the 2.6.0 vs. 2.4.x vs *BSD tests earlier this week.

    Old, crufty files on IDE, all over.
    Good test would move the files to an empty, freshly formatted IDE drive.
    And to an empty SCSI drive (he did just the latter).
    And SCSI will be faster and the test will be better.

    I have mail scattered across a crufty barracuda. It was NOTABLY faster when I tarred it up to move it to a fresh disk for /home. The exact SAME disk (but without 2 other partitions on it).
    So all my files were together and contiguous and on the outer sectors.

    RE: Note that the controller is an Ultra160 and is a 64-bit card put into 32-bit PCI slot. The drive itself is an Ultra320. The speed increase would be higher if I were to purchase an Ultra320 controller with a motherboard that supports 64-bit PCI slots.

    'scuse me while I wipe up the milk I just blew out my nose.

    Yes, in theory this would be faster in a 64 bit slot. And you will run at full speed until that cache is empty (think gazillionth of a second). You would gain if the bottleneck were that pesky 32bit PCI slot. But its not. After the cache burst is done, you are limited by the disk speed. And a 5400 RPM disk will not put out more than 8-10MB/s in real use (dd is NOT real use).

    I *do* use Ultra160 SCSI on RAID boxes that contain 15-20 15000 RPM disks and several hundred MB of battery backed read and write cache. And we get a (real world) 80-100MB/s throughput (again, dd(1) is not real world).

    It's a pity, because doing these tests CORRECTLY would have been worth while. And coming from ! Tom's Hardware, (just which manufacturers are funding them?) is a good thing. But this is bad science.

  35. bad test - so what? by jester42 · · Score: 2, Funny

    I don't even care which one is faster because to me SCSI is just much more sexy than IDE[period]

  36. Better comparison by ValourX · · Score: 2, Informative

    I wrote this months ago using newer hardware and comparing RAID arrays as well:

    Comparing Hard Drives

    It was really meant to be a comparison of brands, RAID vs single drives, and SCSI vs. IDE. At the time SATA wasn't out yet and I couldn't get any SATA drives to add to the comparison later.

    -Jem
  37. reason it's biased by ShadowRage · · Score: 2, Interesting

    is because he just shelled out $700 on his new drive.
    so, he has to make it out as good to prove to himself what he just bought will beat ide.

    also, not to mention he never stated brand names.
    certain manufacturers are very different.