Serial ATA - technology backgrounder 

http://www.dvdoctor.net/content/item.php?item=1006

Author: David Ross
Published: Saturday 19th February, 2005

Intro 

Serial ATA is rapidly taking over from parallel ATA in desktop PCs. James Morris explains why we need this new hard-disk connection

One clear recent trend across PCs on all platforms is the arrival of new-generation serial interfaces to replace long-established parallel interfaces (and old-style serial interfaces, too).

On Macs, USB and FireWire serial interfaces have taken over from adb. On IBM PC-compatibles, USB is replacing or being fitted alongside the old 25-pin parallel port and the nine-pin serial port, while FireWire is finally starting to become standard, as well. In addition, the serial PCI Express motherboard bus is beginning to take over from parallel PCI.

Also on its way out is the IDE/parallel ATA (Pata) connection thats been with PCs in a variety of guises since IBM personal computers first came with hard disks.

Its replacement, Serial ATA (Sata), has been working its way onto motherboards and is now almost universal in new PCs. New-generation Macs, though, still carry IDE for connecting optical drives and burners, whether DVD or CD, and so do most Windows PC motherboards.

Satas seven-wire data cable is much smaller than Patas 40/80-wire cable and helps airflow around the case. But the tiny data plug is far less rugged than Patas and liable to break after multiple insertions

The Sata data and power connections are alongside one another to provide a single-plug quick-release option. On some Sata drives there is also an old-style power socket for backwards compatibility with the Molex connectors still standard on many PC power supplies

Downsides of Parallel ATA & SCSI 

Pata has been through various incarnations, increasing in bandwidth every few years. In Pentium I days, it was capable of 16.6MByte/sec, but this was raised using DMA modes to 33MByte/sec via the Ultra-ATA standard. Then came Ultra-ATA/66 with 66MByte/sec and Ultra-ATA/100 with 100MByte/sec.

Some motherboard makers have moved to using Ultra-ATA/133, offering 133MByte/sec bandwidth. Maxtor is the main supporter of this upgraded form of Pata - Hitachi has remained with Ultra-ATA/100. Since Ultra-ATA/66, the cable changed from 40 wires to 80, although the extra wires operate through the same 40-pin connector as before for backwards compatibility.

However, all these Pata performance figures are nominal. In reality, no form of Pata can sustain its maximum rated throughput. Maxtor, for example, admits that Ultra-ATA/133 can only achieve 85 per cent of its bandwidth, and even then only in burst mode. The overhead from control signalling reduces the real figure considerably.

And, though a single Pata channel can usually support two devices - typically configured as master and slave - they have to share the channel's bandwidth, though this currently isn't a major problem.

Few hard disks exceed 50MByte/sec average sustained data transfer rate and the interface can cope with around 100MByte/sec. But there's clearly not much future left for Pata when Ultra-ATA/133 maxes out at a little over 110MByte/sec.

A few Pata drives are able to sustain well over 50MByte/sec, such as Western Digital's Raptor, Seagate's 200GByte Barracuda 7200.7 and Maxtor's DiamondMax 10. Other makers will follow with their next-generation models.

So anyone planning to use more than one disk on a single ATA channel, particularly in a Raid configuration, will discover that Pata isn't up to the job.

Image

Serial ATA's throughput beats that of the fastest version of Pata,
and, for most applications, it will be dedicated to a single drive - giving
it the drop on SCSI, too

Traditionally, the way around the Pata bottleneck has been to use SCSI, the Small Computer Systems Interface. Although SCSI is also a parallel connection, each new version has kept it way ahead of Pata.

As well as having a higher nominal bandwidth than Pata, SCSI has had intelligent circuitry in its adapters and drives that meant that most of the throughput could be used.

The current fastest SCSI standard, Ultra320, offers 320MByte/sec. However, like Pata, that's shared between all the devices on the SCSI channel.

But there can be up to 15 devices on a single SCSI connection, all sharing the 320MByte/sec, so the SCSI bus itself will start to be the limiting factor if more than five fast disks are attached such as Seagate's Cheetah X15 15,000rpm model.

SCSI also carries a big price premium - the disks can be four or five times more expensive than their Pata or Sata equivalents, and faster adaptors aren't cheap either.

Although Sata's nominal 150MByte/sec is slightly better than the bandwidth of Ultra-ATA/133, that's not the only reason why it has a rosy future ahead of it.

No less important is that Sata's 150MByte/sec is dedicated to just one device - and no current Sata hard disks require even half that.

The fastest Sata drive currently available, Western Digital's 10,000rpm Raptor, averages 65MByte/sec, so it will be a while before any disk starts to push the limits of Sata - by then there will be a new Mk II version, as detailed below.

The data and power cabling for Sata is completely different to Pata. Although the many Sata drives include the standard Molex power connector for backwards compatibility, there is a new Sata power plug that, like the Sata data connection, is an entirely new in-line format.

For those disks without a Molex power connector, it's necessary to use Molex-to-Sata power adapters or a PC power supply with Sata power plugs.

Image Molex-to-Sata power adapter

On a hard drive, the two new connectors sit side-by-side to simplify use with slide-in disk caddies. Understandably, though, many makers of servers and other high-end systems consider the connectors too fragile for this kind of use.

Sata has potentially huge benefits for Raid, compared with SCSI. Each Sata disc has its own dedicated 150MByte/sec pipe, so a Sata Raid set up doesn't suffer the same limitations of SCSI Raid systems where all drives have to share 320MByte/sec of bandwidth.

Unfortunately, though, with Sata, the bottleneck shifts to the motherboard's PCI bus. That's why most current Sata Raid adapters - particularly those with four or more ports - use PCI-X, the 64-bit (but still parallel) version of PCI that offers many times the bandwidth of standard PCI.

Most of these adapters can also be used in PCI slots, but are then limited to PCI's 133MBytes/sec ceiling.

The Serial continues… 

The next version of Sata - Sata/300, also known as Sata II - will push the serial interface well beyond Pata, doubling maximum throughput to 300MBytes/sec. The physical-layer specification for Sata/300 was ratified in July 2004, and product is now starting to arrive.

But there's more to Sata II than raw performance. Other improvements are intended to increase throughput using more subtle means. Perhaps most important is Native Command Queuing (NCQ).

The idea of NCQ is that it boost performance by allowing a drive to optimise the order of the work that it carries out - ensuring that the heads travel across the drive's platters in the most efficient way for the fastest read/write speeds.

NCQ is already found in some Sata 1drives, including models from Seagate and Western Digital but WD's Raptor uses a derivative of the earlier Pata version, and it's not yet clear how compatible it will be with the full Sata II version.

Some Sata controllers are also available with NCQ support - including Pacific Digital's Talon ZL series and HighPoint's 1820 adapters - and it's built into Intel's integrated ICH6R controller, too.

However, the arrival of the Serial ATA II Extensions, will mean that NCQ becomes a standard feature of all Sata controllers. Sata II is also meant to bring about the hot-plug capabilities promised with the original version.

Also significant is the Port Multiplier function. This enables one Sata connection to handle up to four drives. As well as allowing multiple drives to be run from a single connection, it allows connections to be routed to a more convenient location and makes cabling tidier.

So, for instance, it might use one Sata/300 cable to route to a system-box backplane supporting up to four hot-plug hard disks. Supporting chipsets are already in production from companies such as Marvell (www.marvell.com), and the Port Multiplier will support Sata/150 devices as well.

Although it is possible to route Sata/150 externally, it will be using the same fragile cabling system as for internal devices

Much like USB and FireWire, Port Multiplier also makes it possible to use an external hub for connecting devices - and it can do this in tandem with a standard configuration for external cabling.

A few companies already offer adapters with external ports, notably HighPoint, but this uses the fragile internal connectors and is non-standard. Sata cabling has been widely criticised for its lack of robustness.

Port Multiplier 1.1 uses something called asynchronous notification, which comes from the Digital 1.1 specification. This allows the hub itself to tell the Sata host controller when devices are detached, making hot-swapping more seamless.

But a lot of Sata II enhancements are intended primarily for servers. Not so long ago, network devices such as storage servers used SCSI exclusively but the low cost of Sata disks, plus their higher capacity, has led to quite a few system builders releasing rack devices using Sata instead.

The Port Selector feature in Sata II allows a device to switch between multiple ports. This provides cabling redundancy - if one connection goes down, Port Selector can simply switch to another. Sata II also allows Sata channels to be aggregated into multi-lane pipes to increase bandwidth - again useful for routing from a host adapter to an external hub.

Sata - your future-proof option 

The price differential between Pata and Sata hard disks has fallen to a few pounds, making the barriers to adoption almost zero. However, for the time being the performance benefits apply only in Raid configurations.

In the future, though, it's likely that IBM-PC-compatible systems will start to appear with just one Pata channel intended only for optical disks - as is the case already with Apple PowerMacs.

But, the rationale for retaining Pata will disappear as Sata DVD and CD drives become the norm. That's still far from being the case but Sata DVD writers are now available - Plextor's PX-712SA was one of the first. So using Sata optical writers and readers now is a good way of ensuring these components can be reused in future.