[plug] Re: drive issues

Craig Ringer craig at postnewspapers.com.au
Wed Apr 9 18:33:46 WST 2003


> I should have been more clearer about what I posted but I though this may help.  the important issue is multiple devices and queuing of instructions.

I'm well aware of the present and future limitations of ATA and SCSI as
interface formats. This machine does not need high disk performance, but
instead lots of capacity, capacity which would be prohibitively
expensive with SCSI drives. The machine does need RAID (every server
does) but for a variety of reasons doesn't yet have it.

> This scenario is common in desktop computers where you connect a single device to a single adapter and perform data transfers. There is practically no difference between the two interfaces, this holds for bandwidth as well as resource usage (CPU) as both interfaces use the most efficient way to transfer data, namely DMA. This means that there is no point in purchasing a generally speaking more expensive SCSI based system when the cheaper ATA interface would do an equally good job. 

Not quite - SCSI drives tend to be 10k RPM not 7.2k RPM, have bigger
buffers, and be much more well tested. Then again, unless you like
getting 36g for the price of 200g ATA storage, its not for you.


> Connectivity: The ATA interface can only address two devices while SCSI can address eight devices (Narrow SCSI), 16 devices (Wide SCSI), 32 (Very Wide SCSI) or 126 (FireWire). There are also many peripherals available to SCSI only and not ATA. 

True. I've never has more than 8 drives in a box, and don't plan to
either. SCSI becomes important for /BIG/ stuff, but a small server
should have no need. I do think that RAID of some form is important, and
until recently the only real hardware RAID was SCSI based. Thankfully
for our wallets, this is no longer the case. Ever looked at the price of
3 120 gig SCSI drives intended for RAID 5 use, knowing that they could
be 4200RPM for all you care performance-wise? Some applications don't
/need/ lots of grunt from the disks, just huge capacities.

> Bandwidth: The demand for high transfer rates in servers can not be met using current ATA interfaces based on the two devices per adapter limit and even if it could carry more devices there simply isn't enough bandwidth and flexibility available for serious server application. 

Actually, one ATA drive can't possibly flood the ATA bus, and you just
use multiple buses with one drive per bus. Under 99% of cases 2 drives
can't flood ATA133 either.

SCSI can only have one command or data transfer on the bus at a time,
and can be inefficient with many drives. As I'm finding with my new SATA
raid controller on another box, this is /not/ true with independent SATA
buses.

> Efficiency: The ATA devices lack the intelligence to perform command queuing as well as their SCSI counterparts which can queue up to 256 commands per logical unit. SCSI hard disk drives aimed at the extreme performance server market have had a lot of research and development time on optimizing seek patterns and rescheduling commands to minimize seek times and maximize throughput. This may not be evident by looking at desktop benchmarks but under heavy server loads, this is evident.
> Also, SCSI hard disk drives generally tend to be designed to work well in RAID-systems where I/O load is spread across multiple drives. 



> Dependability: Most high-end SCSI hard drives are quite expensive but there are good reasons for it. They can sustain higher temperatures and stay mechanically functional despite the expansion of the metal parts with temperature and and generelly have better build quality. The net result is that they are the natural choice for enterprise server applications. Connectors suitable for hot-swapping drives in RAID-systems is something only SCSI boasts, and helps maintaining large disk arrays where down-time is unacceptable.

SATA supports hot-swap quite nicely. Tried it out the other day on my
new dual Xeon box's RAID controller.




More information about the plug mailing list