Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


June 1997

SCSI and IDE:Defining the Differences


RSS
Subscribe to Windows IT Pro | See More Storage Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
SideBar    A Little IDE Math, Data Transfer Methods, SCSI Termination

Origins of IDE
Besides SCSI, the other widespread controller storage standard for PCs is IDE. The original 1985 IDE specification (its formal name is AT-Attachment-- ATA--because of its compatibility with the AT bus used in IBM PC/AT-compatible computers) defined a 40-pin interface that ran on the ISA bus and offered a maximum throughput of 8.3MBps (although real-life average throughputs usually hovered around 2MBps to 3MBps). IDE also defined several modes of operation, including three PIO modes (0, 1, and 2), and one DMA mode of operation (DMA Mode 0). Compaq and Western Digital spearheaded the specification, which offered several major benefits to PC hardware vendors. Cost savings and simplicity, rather than performance, inspired the development of the IDE/ATA interface. By integrating drive controller electronics on the drive rather than on an expensive controller card, IDE let manufacturers produce cheaper drives that offered decent performance. This cost effectiveness still holds true today: IDE drives typically cost 25 percent to 40 percent less than SCSI drives of similar capacities.

In addition to cost-saving features, IDE offered features that simplified configuring hard drives. You could set up IDE drives in a master/slave relationship without concern for electrical termination. However, different vendor implementations of the original IDE/ATA specification caused drive incompatibility problems: Drives from one manufacturer sometimes failed to work with those from another. As with SCSI, however, the ease of IDE/ATA device interoperability has improved as the specification has evolved and matured.

EIDE and Beyond
With the advent of Windows 3.x in the early 1990s, the demand for faster PC performance grew to new levels, and IDE began to show its age. In 1993, Western Digital offered the Enhanced IDE (EIDE) specification, which permitted faster, higher capacity drives. EIDE supported the use of IDE on a local bus (e.g., a VL-Bus) in addition to the slower ISA bus. EIDE offered a variety of new features that removed the four primary limitations of the original IDE specification: EIDE supported drives exceeding 528MB capacity; significantly faster data transfer rates (up to 13.3MBps for DMA Mode 1 operation); an additional channel for up to four IDE devices; and a new interface specification, AT Application Programming Interface (ATAPI), for connecting non-disk drive peripherals such as CD-ROMs and tape drives. Ironically, the ATAPI specification is essentially a simplified SCSI command set; it owes much to SCSI's design for device communications.

Since EIDE's introduction in 1993, standards organizations, such as ANSI and the Small Form Factor (SFF) Committee, and drive vendors have extended and improved the IDE/ATA specification. The second version of IDE, dubbed ATA-2, encompasses several proprietary vendor implementations, including EIDE and two specifications (Fast ATA and Fast ATA-s) promoted by Seagate Software and Quantum. The ATA-2 specification also defined two new PIO modes, PIO Mode 3 (at 11.1MBps) and PIO Mode 4 (at 16.6MBps). ATA-2 introduced two new DMA-based modes, DMA Mode 1 (at 13.3MBps) and DMA Mode 2 (at 16.6MBps).

The latest ATA-3 specification defines still faster data transfer modes, including PIO Mode 5 (at 22.2MBps) and DMA Mode 3 (at 33.3MBps). Quantum's implementation of ATA-3, Ultra ATA, appears to be the early favorite at press time--a large number of hardware vendors are supporting it. Together, these new specifications have extended IDE's life span and keep it a viable desktop technology for use with most modern operating systems.

IDE and NT: Oil and Water?
Unfortunately, even with all these new specifications, IDE/ATA still suffers from some inherent design limitations that make it less than appealing for use with NT. For example, IDE is highly CPU-intensive compared with SCSI, burning precious CPU cycles to perform its work. With IDE PIO modes, the host system's CPU carries out all the I/O operations for IDE devices, which can drain CPU resources and decrease system performance.

ATA-2 interfaces also suffer from a problem known as slipped revolutions, whichprevents the interfaces from keeping pace with fast ATA-based drives. (For an explanation of this problem, see the sidebar, "A Little IDE Math," page 170.) The new ATA-3 and Ultra ATA specifications eliminate this problem by doubling the interface burst transfer rate to 33.3MBps. (Table 2, page 167, summarizes the data transfer modes and the relative transfer rates defined by various implementations of the ATA interface.) An ATA-3 or Ultra ATA interface can keep up with even the fastest ATA-based drives and optimize the performance of the IDE subsystem. However, the new ATA-3 and Ultra ATA specifications do not solve IDE's CPU utilization problem. Despite enhanced ATA features such as DMA Mode 2, Bus Mastering DMA, larger block sizes, and 32-bit addressing, the host CPU still must perform a significant number of I/O operations compared with SCSI.

As I mentioned previously, NT's asynchronous I/O model works most efficiently with a SCSI subsystem because SCSI can handle multiple I/O requests simultaneously. IDE/ATA systems can handle only one I/O operation at a time, which limits their performance under NT. The drive controller talks to only one drive on a channel at a time; any other drive that needs I/O servicing at the same time must wait its turn until the first drive has finished. This aspect of IDE/ATA drives is the reason why you should never consider using them on NT servers, which must handle heavy loads of file I/O requests.

These types of problems aren't nearly as prevalent under operating systems such as DOS and Windows 3.x, which employ serialized I/O models. Even Windows 95 lacks a fully asynchronous I/O model and maintains a significant degree of serialization in its low-level drivers. You frequently see head-to-head comparisons of Fast ATA-2 and SCSI-2 or Ultra SCSI drives yielding similar performance results under these operating systems. In these situations, choosing an IDE/ATA drive probably won't cause any significant performance loss. You can make a similar claim about single-tasking environments in which a user typically runs only one application at a time; SCSI's performance benefits don't really take off until two or more SCSI device- related tasks run simultaneously. At that point, the multitasking features of SCSI generate a significant performance advantage over ATA-based systems.

Here's another interesting note about native IDE/ATA support under NT: Currently, NT's highest supported ATA PIO mode is PIO Mode 2, which defines an 8.3MBps burst data transfer rate. Even if you use a Fast ATA-2 subsystem capable of 16.6MBps with a PIO Mode 4 drive, under NT you realize a maximum potential throughput of only 8.3MBps.

Keep in mind that the IDE/ATA specification relies on the system's BIOS, and IDE/ATA features such as ATAPI support and disk capacities that exceed 528MB require three-way support by the system BIOS, the peripherals, and the operating system. Although software BIOS enhancements extend BIOS features and allow (for example) hard disk partitions greater than 528MB on older systems, many of these utilities are not compatible with NT. Fortunately, almost all modern PCs include Logical Block Addressing (LBA) support for IDE drives. LBA uses a logical addressing scheme similar to what SCSI uses to break the 528MB barrier.

More Bad News
A final thought for the would-be IDE drive purchaser: IDE has other built-in limitations besides the ones I've already mentioned. IDE/ATA specifications define a significantly shorter maximum cable length than SCSI implementations. Whereas most SCSI implementations (differential SCSI excepted) provide for cable lengths of approximately 3 meters (about 10 feet), the maximum length for cables on IDE/ATA subsystems is 45 centimeters (slightly less than 18 inches). To make matters worse, use of drives supporting the fastest PIO or DMA modes cut this distance in half--to just under 9 inches. With such cabling limitations, you can easily understand why no specifications exist for connecting external IDE/ATA devices: There wouldn't be enough cable to connect them to the host system. Remember to make provisions for devices' internal electronics when you calculate cable distance; these invisible lengths count as part of the total bus length. In some cases, this distance can be as high as 6 inches or more (you typically can budget about 3 inches to 5 inches per device).

Another gotcha with modern IDE is the difference between the primary and secondary IDE controllers on most motherboards. As you probably know, all modern implementations of the ATA interface include two separate IDE channels (usually built onto the motherboard), each of which can handle two devices. What you might not know, however, is that sometimes these two channels differ significantly. Many older Pentium motherboards place the primary IDE channel (which typically uses IRQ14) on the PCI bus (which can operate at rates up to 33MHz), but place the secondary channel (which typically uses IRQ15) on the slower ISA bus. This arrangement limits the maximum data transfer rate of this channel to ISA's 8MHz transfer rate. If you configure an IDE drive subsystem on these older systems, you need to avoid putting fast PIO Mode 4 drives on the slower channel whenever possible.

You can expect significant performance penalties when you mix different kinds of IDE devices on the same IDE channel. IDE slows down when you combine fast and slow IDE/ATA devices on the same channel. For example, combining a fast ATA-2 PIO Mode 4 hard disk on the same channel with a slower PIO Mode 2 IDE CD-ROM drive effectively cripples the performance of the hard disk by forcing it to continually wait for I/O operations when the CD-ROM is active. Under these circumstances, the fleet effect takes place: The fleet goes only as fast as the slowest ship. In these circumstances, a better solution is to place your slower IDE peripherals (such as CD-ROMs and tape drives) on IDE's slower second channel, keeping them off the channel that contains your fast hard disks. However, if you use more than two IDE hard disks on your system, you won't have a choice; you will be forced into the fleet effect situation. With SCSI, these issues are non-existent.

As if these issues aren't bad enough, you can find a significant number of IDE/ATA controllers that use only a single command queue shared between the primary and secondary IDE channels. This situation can result in major performance delays when devices on both channels try to talk to the system simultaneously. The problem is further aggravated when the two channels are fully populated with IDE devices.

The Best Choice
Because of its extensive array of performance-related features and its leveraging of NT's asynchronous I/O model, SCSI is clearly your best choice for disk subsystems on NT computers--especially disk-bound computers such as file servers and systems you use for application development. However, if finances or other factors require you to deploy IDE subsystems in your NT systems, be sure to limit such use to basic user workstations and other light-duty machines in which the effects of increased CPU utilization and serialized drive access won't hurt as badly. If money isn't a problem, I recommend you use SCSI whenever and wherever possible on your NT systems. By doing so, you'll reap the rewards of a highly sophisticated and versatile interface, and maximize the performance of NT.

Additional information that supplements this article is available at the Windows NT Magazine Web site: http://www.winntmag.com.

End of Article

   Previous  1  [2]  Next  


Reader Comments
In Sean Daily’s June 1997 article, “SCSI and IDE: Defining the Differences,” I read that NT 4.0 (and earlier) provides only PIO Mode 2 speed (8.3MBps) for Enhanced IDE (EIDE) drives. Does Microsoft plan to provide PIO Mode 4 support for NT 5.0? With all the laptops running NT for development, you would think that getting support at the driver level for PIO Mode 4 (or better) would be a priority.<br>
--Gerry High<br><br>

<i>I have not heard anything from Microsoft regarding expanded PIO or direct memory access (DMA) ATA support in NT 5.0. I wouldn’t be surprised if this support remains status quo with NT 5.0. First, Microsoft has traditionally focused on SCSI for NT and de-emphasizes IDE support over expanded SCSI driver availability. Second, several third-party drivers (from IDE chipset and controller card vendors) provide support, making it less critical that Microsoft provide enhanced drivers.<br>
--Sean Daily</i>

Gerry High August 10, 1999


As painful as it is to admit (for reasons I’ll describe later), Sean Daily’s June article, “SCSI and IDE: Defining the Differences,” June 1997, is the best article I’ve read to date. I’ve used NT since version 3.5 (hardly a veteran, but I’m scarred nonetheless), and I remember the pains I went through deciding what hardware to put into a machine. Windows 95 was not available yet, I needed a 32-bit OS (instead of WIN32S), and SCSI drives and controllers were pricey. All the articles I read said EIDE at PIO4 was comparable to Fast SCSI if you didn’t need the multitasked IO. I didn’t, so I went with EIDE drives.
So now you tell me I can get only PIO2 speed on NT 4.0? Well that’s frustrating, isn’t it? 8.3Mbps max? (This fact might explain why all the benchmarks rate my uncached disk scores disgustingly low, even with an Ultra EIDE drive on an Ultra-supporting motherboard.) Why PIO2? Is there any intent to update this specification? Is it the ATDISK driver? Do you know of any workaround? I have a TEKRAM controller, which I’ve since yanked in favor of the EIDE on the motherboard. Am I doomed? Sorry for the barrage of questions. But hey, when you write such an informative article, these things happen. Good work, Sean.<br>
--Nigel Vickers<br><br>

<i>Your story is a familiar and an unfortunate one—users with dashed hopes about the performance of their latest-and-greatest EIDE/UltraATA drivers who have found out that the real-world performance under NT is just...well, not there. The problem is not that NT cannot technically support higher PIO and DMA modes, because it certainly can. But Microsoft (and even the drive and IDE chipset vendors) hasn’t made the development effort to provide the drivers. Microsoft’s mantra has always been that SCSI is the way to go for NT. This intent is reflected in the practical ignorance in driver support for the latest IDE technology that’s out there. I don’t expect this support from Microsoft any time soon, either; if this support is to come, the IDE chipset manufacturers (e.g., Intel, CMD) will have to provide it. However, my opinion stands firm that SCSI is always the best bet for an NT system. After all, most people buy NT for higher performance and an enhanced feature set. You don’t want to cripple these abilities with devices that artificially limit NT’s potential.<br>
--Sean Daily</i>

Nigel Vickers August 13, 1999


I enjoyed Sean Daily’s June article about SCSI and IDE. I was surprised to learn that NT supports only Mode 2 in IDE drives. Do you know whether the piixide driver from Intel supports modes higher than 2?<br>
--Will Corley<br><br>

<i>I don’t have any details on that driver, but a quick search of Intel’s site yielded some interesting information about its newest busmaster IDE drivers. For systems capable of using them, these drivers will use up to DMA Mode 2 (compared with the default PIO Mode 2 that NT’s default driver uses). This ability should yield faster transfer rates and lower CPU utilizations. For more information, check http://developer.intel.com/design/pcisets/busmastr. Be sure to check out the FAQ section, which describes the enhanced driver’s capabilities.<br>
--Sean Daily</i>

Will Corley August 13, 1999


I just finished reading Sean Daily’s June article, “SCSI and IDE: Defining the Differences,” and wanted to let you know how much I enjoyed it. Notably, the informative table about the different transfer rates was great. As a diehard SCSI fan, I can appreciate the technical value of such a chat. Thanks for the wonderfully written article.<br>
--Oscar Miranda

Oscar Miranda August 13, 1999


Sean Daily’s June article, “SCSI and IDE: Defining the Differences,” was excellent. My company has different NT configurations at our customer sites. Some have workgroups, and some have domains. We have a peripheral device, a puncher/reader, that can be hooked only to a COM port (COM1 or COM2). The puncher/reader is hooked to a COM port on an NT workstation or server, and we want users to be able to access this COM port from other NT workstations. How can I allow peer-to-peer sharing of COM ports between NT LAN workstations (asynchronous port sharing) so that NT workstations on the LAN can share peripherals attached to a COM port?<br>
--James Owusu <br><br>

<i>You can accomplish this connection with a program such as SpartaCom Asynchronous Port Sharing (SAPS) from TSP Companies (http://www.tspco.com). It lets Windows 3.x, Win95, and Windows NT clients on a network share one or more serial devices on an NT server. Other products that offer similar functionality include RASport and WINport from LANSource Technologies (http://www.lansource.com).<br>
--Sean Daily</i>

James Owusu August 13, 1999


Excellent Article , seems up to date. I had a HPVectra 90 upgraded to a 200mhz w/ a bootable scsi drive and app data drives. This system ran circles around 350/400 mhz systems running IDE. I am going to Athlon 500 on FIC board . Unfortunatly I am unable to boot the sys, so I may got to an Ultra DMA for the boot and scsi for the others.
Wht do you think?

John Costa March 22, 2000


<br>I found Sean Daily's "SCSI and IDE: Defining the Differences" (June 1997) very informative. Are the facts the same with Windows 2000 and the latest ATA/IDE drives? We were thinking about using IDE drives instead of SCSI in our CAD workstations. I would rather not because I feel IDE slows down the systems, even if the processors are fast and you have a lot of memory installed. ATA/IDE seems to be a dying specification. Every IDE device emulates a SCSI device, and Windows lists IDE devices as SCSI devices. The price difference is minimal, especially when you consider performance. Also, Windows XP will be here soon, so the home market gets an OS that can benefit from SCSI for tasks such as video editing and realtime CD burning. I'd appreciate your insight on the future of IDE.<br>

Chip Atkins June 05, 2001


<br><i>IDE has come a long way since I wrote that article. Built-in driver support in Win2K and the latest Windows NT service packs are quite good for the fastest Programmed I/O (PIO) and direct memory access (DMA) modes, and third-party drivers often take full advantage of the particular controller or drive capabilities. However, SCSI remains the best choice for servers and high-end workstations because of its performance edge--especially in situations in which I/O requests come from different applications or users simultaneously (e.g., on a server
or a heavily multitasking workstation). Basically, manufacturers target IDE to the home, small office/home office (SOHO), and generic business desktop PC markets; SCSI is targeted to the power-user, high-end workstation, and server markets.<br>
I don't believe that IDE will disappear in favor of SCSI. The en-
tire industry (PC and Macintosh) adopted IDE as a cost-effective
standard, and despite its technical limitations (e.g., the number of supported devices per channel), the industry continues to promote and use it. This fact alone maintains a price differential between SCSI and IDE. If SCSI adapters were included as standard equipment on the average desktop, the picture would be different. But unless that happens, the picture isn't likely to change.<br>
<i>--Sean Daily</i>

Sean Daily June 05, 2001


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...


Storage Whitepapers Turn to a Proven Server and Storage Migration Solution

The Impact of Disk Fragmentation on Servers

Take Control of Your Email: Understand the Business Reasons for Email Storage Management

Related Events Disk-to-Disk Grows Up

Deep Dive into Windows Server 2008 R2 presented by John Savill

Think That Intelligent Data Storage Systems Exceed Your IT budget? Think Again!

Check out our list of Free Email Newsletters!

Storage eBooks A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Keeping Your Business Safe from Attack: Encryption and Certificate Services

Related Storage Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement