Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
08-18-2000, 05:35 PM
|
#1
|
root 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 9,585
|
I am interested in what kind of performance people are getting out of their hard drives in Linux. I would like a quick, and admittedly not extremely scientific, comparison. I would appreciate it if you could do the following. First at a root prompt type
Code:
hdparm -t /dev/harddrive
where harddrive is probably either hda (IDE) or sda (SCSI.) Then post you results here along with your drive specs and SCSI controller if applicable. Thanks.
Seagate Cheetah 18XL 10K RPM
Adaptec AIC-7880 SCSI
Timing buffered disk reads: 64 MB in 3.96 seconds = 17.16 MB/sec
|
|
|
|
08-20-2000, 02:03 PM
|
#2
|
|
Member
Registered: Jun 2000
Location: SUNY Buffalo
Posts: 79
Rep:
|
bastardized scsi drivers
Well, I WOULD post my hdparm results if it weren't for this little thing that's bugging me:
(scsi0:0:1:0) Synchronous at 40.0 Mbyte/sec, offset 15.
My hard drive isn't being used to it's full capacity apparently, seeing as how I have an Adaptec Ultra2 SCSI host adapter with a Seagate Ultra 2 hard drive. Shouldn't that read 80.0 Mbyte/sec or is that just me?
|
|
|
|
08-20-2000, 05:39 PM
|
#3
|
|
Member
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Fedora, Ubuntu
Posts: 305
Rep:
|
My four drives reads as follows:
/dev/hda:
Timing buffered disk reads: 64 MB in 7.43 seconds = 8.61 MB/sec
Checking hdb...
/dev/hdb:
Timing buffered disk reads: 64 MB in 16.25 seconds = 3.94 MB/sec
Checking hdc...
/dev/hdc:
Timing buffered disk reads: 64 MB in 6.64 seconds = 9.64 MB/sec
Checking hdd...
/dev/hdd:
Timing buffered disk reads: 64 MB in 4.00 seconds =16.00 MB/sec
The last one is an IBM 20G Deskstar.
-- L. James
|
|
|
|
08-20-2000, 08:03 PM
|
#4
|
root 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 9,585
Original Poster
|
Larry,
Do you have a little more info about the IBM drive (Model #, RPM, ATA-33 or ATA-66)? I thought the Cheetah should be faster, that is one of the reasons I started this thread. It seems to me that there should be more than a 1MB/sec disparity between an IDE drive (although the IBM Deskstar is definitely one of the best) and a 10K UWSCSI drive.
|
|
|
|
08-20-2000, 09:18 PM
|
#5
|
|
Member
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Fedora, Ubuntu
Posts: 305
Rep:
|
The IBM is housed outside the machine. The others are inside the case. I'll how to get the model numbers, etc... on the next power down...
Other Info on the IBM is:
Model DPTA-372050
RPM 7200
LBA: 40,088,160 sectors
CHS: 16383/16/63
Capacity: 20.5GB
Most of the other Drives are very old and will soon be replaced.
-- L. James
|
|
|
|
08-21-2000, 11:02 AM
|
#6
|
root 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 9,585
Original Poster
|
bickford,
I was actually having the same problem. I have an UW controller and it was reporting a 20MB/sec maximum speed. After a little poking around I just solved the problem. The adaptec board I have did NOT default to Ultra. If you go into your SCSI BIOS you should have an Advanced section. Make sure "Ultra Speed" is set to enable. Also make sure that enable disconnect is disabled for your hard drive. Here is the new benchmark:
Timing buffered disk reads: 64 MB in 3.96 seconds = 27.90 MB/sec
This seems much more reasonable to me. BTW Larry, I have that exact drive in one of my machines - it is an excellent drive. Probably the fastest IDE drive I have seen yet.
|
|
|
|
08-21-2000, 12:45 PM
|
#7
|
|
Member
Registered: Jun 2000
Location: SUNY Buffalo
Posts: 79
Rep:
|
Well, since I'm at work right now I can't get into my BIOS to make those modifications I'll post the pre BIOS changes specs, and then post my new results after I check that stuff out.
Timing buffered disk reads: 64 MB in 4.45 seconds = 14.38 MB/sec
I'll let ya know how it goes when I get home to make those modifications.
|
|
|
|
08-23-2000, 10:38 PM
|
#8
|
|
LQ Newbie
Registered: Aug 2000
Location: Scotland
Posts: 1
Rep:
|
Laptop, Redhat 6.2, Toshiba MK1214GAP 12GB drive
64 MB is 15.46 seconds = 4.14 MB/sec !
Although toshiba say's it has a 66.7MB's UDMA transfer rate
12 Gigabytes
9.5mm High
13ms Average Seek Time
ATA-4 Interface
66.7MB/s Ultra DMA Transfer Rate
1,024KB Buffer
300,000 MTTF Hours
3-year Warranty
|
|
|
|
08-23-2000, 10:51 PM
|
#9
|
root 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 9,585
Original Poster
|
66.7 MB/sec is just what the Ultra-ATA interface is capable of. You should have a sustained transfer rate, which is what the drive really performs at.
|
|
|
|
08-27-2000, 10:37 PM
|
#10
|
|
LQ Newbie
Registered: Aug 2000
Posts: 17
Rep:
|
64 MB in 5.80 seconds = 11.03 MB/sec
Is that good?
|
|
|
|
08-27-2000, 10:51 PM
|
#11
|
root 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 9,585
Original Poster
|
Well, "good" is a relative term. So far the low was 3.94 MB/sec and was an old IDE hard drive that was about to be replaced. The high was my 10K RPM UWSCSI drive at 27.90 MB/sec and that took some tweaking. If you have an IDE drive 11MB/sec seems pretty good compared to some of the other numbers here. The one that surprises me is keef_keef's 4.14MB/sec - that seems low for a Ultra-ATA drive to me, although laptop drives do tend to be slower.
|
|
|
|
09-04-2000, 09:15 AM
|
#12
|
|
Member
Registered: Sep 2000
Location: Haarlem, The Netherlands
Distribution: Freesco, RedHat, Debian
Posts: 41
Rep:
|
Quantum Atlas III 9100
(7,200 RPM)
Adaptec AIC 7890 Ultra2 SCSI
Timing buffered disk reads: 32 MB in 2.22 seconds =14.41 MB/sec
note: thats 'my' server at work... (PC at home is still missing BIOS chip, but they said it's in the mail and would reach me by tomorrow :-)
|
|
|
|
09-04-2000, 11:27 AM
|
#13
|
|
Member
Registered: Jun 2000
Location: SUNY Buffalo
Posts: 79
Rep:
|
Is that an Ultra2 SCSI hard drive as well? I have that exact same controller and I basically got the exact same results with a 10,000rpm hard drive, which kinda sorta makes me think that controller is a little wacky under Linux. I contacted Seagate (who's hard drive I own) and they basically dished me off to Adaptec. I have yet to contact Adaptec yet.
|
|
|
|
09-05-2000, 04:12 AM
|
#14
|
|
Member
Registered: Sep 2000
Location: Haarlem, The Netherlands
Distribution: Freesco, RedHat, Debian
Posts: 41
Rep:
|
Looking at the specs of the drive at the Quantum webside it seems to me like its an Ultra2 drive also. http://www.quantum.com/products/arch..._iii_specs.htm
I must say looking at the numbers I was astound to see others getting so much more out of there drives.
|
|
|
|
09-05-2000, 07:32 AM
|
#15
|
root 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 9,585
Original Poster
|
I am also surprised at some of the results. It seems that Linux SCSI drivers are still a work in progress.
Bickford - Do you have any non-LVD devices on your SCSI chain? I believe that if you do the whole chain will go down to 40MB/sec. Even at 40MB/sec it seems you should get more than the 14MB/sec you are getting. I am very interested to see what adaptec has to say.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:29 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|