Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am just curious whether or not my observation is correct. I have a Maxtor Serial-ATA 60GB hard disk (7,200 RPM). I get the following numbers from the hdparm command:
Code:
hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 64 MB in 1.27 seconds = 50.36 MB/sec
I take it to mean that the hard disk has a data transfer rate of about 50 MB/sec. Am I correct? If so, does it theoretically mean that an Ultra160 SCSI hard disk, with a data transfer rate of 160 MB/sec, is more than three times as fast as this Serial-ATA hard disk?
What you are seeing there is the sustained transfer rate of the disk. 150 Mbits is the peak rate of transfer for a SATA 150 device. Problem is, the speed of the drive can't keep up with 150 Mbits. The only time you'll see the peak rate is a burst read from the cache of the disk.
This, of course, is no different for SCSI disks. SCSI disk can have faster motors (10,000 rpm or 15,000 rpm in some cases) which would allow for a faster sustained transfer rate.
Originally posted by jtshaw What you are seeing there is the sustained transfer rate of the disk. 150 Mbits is the peak rate of transfer for a SATA 150 device. Problem is, the speed of the drive can't keep up with 150 Mbits. The only time you'll see the peak rate is a burst read from the cache of the disk.
I see what you mean. (I believe you meant to say the peak transfer rate of SATA is 150 Mbytes per second.) So what you're saying is that in theory, the maximum data transfer rate of the current Serial-ATA is about the same as that of Ultra160 SCSI, but the performance of the actual hard disk isn't keeping up with it. Did I get it right?
Originally posted by jtshaw Ya, and your right, in this case I did mean MBytes
Thanks a lot... you helped me understand a bit more about how hard disks work.
It leaves me wondering how much the maximum data transfer rate really matters, though. Sure, Ultra320 SCSI can do the max of 320 MB/sec, but if the hard disk can only do 50 MB/sec most of the time, isn't it kinda silly to spend a lot of money on an Ultra320 SCSI interface?
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269
Rep:
After reading your thread, I had to see what "hparm -t" gave me on my system. And I am curious isn't SATA faster than ATA133?? Or are the Linux drivers lacking?
I have a Maxtor ATA133 8mb buffer 250GB 7200rpm hard drive(I got it for storage, not speed); Which I would think would have slower transfer rates, in theory right?
My output:
Quote:
bash-2.05b# hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 174 MB in 3.01 seconds = 57.81 MB/sec
bash-2.05b# hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 174 MB in 3.01 seconds = 57.81 MB/sec
Can anyone explain? I even ran it twice to verify.
From what I understand now, the sustained transfer rate (STR) of a hard disk has nothing to do with the (external) data transfer rate of the interface. In our case, my Serial ATA interface is capable of transferring 150MB/sec whereas your ATA133 is capable of transferring 133MB/sec.
However, the STRs of our physical hard disks are an entirely different story. My Maxtor drive, even with the Serial-ATA interface, only gets an STR of 50MB/sec whereas yours can do faster - 57 MB/sec.
My other Linux box has an ATA/133 Maxtor drive (200GB). The interface is actually ATA/100 on the motherboard. The STR comes out as 57 MB/sec, though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.