LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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

Reply
 
Search this Thread
Old 08-18-2000, 05:35 PM   #1
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,322

Rep: Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612
Arrow


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
 
Old 08-20-2000, 02:03 PM   #2
bickford
Member
 
Registered: Jun 2000
Location: SUNY Buffalo
Posts: 79

Rep: Reputation: 15
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?
 
Old 08-20-2000, 05:39 PM   #3
Larry James
Member
 
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Fedora, Ubuntu
Posts: 343

Rep: Reputation: 38
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
 
Old 08-20-2000, 08:03 PM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,322

Original Poster
Rep: Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612
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.
 
Old 08-20-2000, 09:18 PM   #5
Larry James
Member
 
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Fedora, Ubuntu
Posts: 343

Rep: Reputation: 38
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
 
Old 08-21-2000, 11:02 AM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,322

Original Poster
Rep: Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612
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.
 
Old 08-21-2000, 12:45 PM   #7
bickford
Member
 
Registered: Jun 2000
Location: SUNY Buffalo
Posts: 79

Rep: Reputation: 15
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.
 
Old 08-23-2000, 10:38 PM   #8
keef_keef
LQ Newbie
 
Registered: Aug 2000
Location: Scotland
Posts: 1

Rep: Reputation: 0
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
 
Old 08-23-2000, 10:51 PM   #9
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,322

Original Poster
Rep: Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612
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.
 
Old 08-27-2000, 10:37 PM   #10
gravel
LQ Newbie
 
Registered: Aug 2000
Posts: 17

Rep: Reputation: 0
64 MB in 5.80 seconds = 11.03 MB/sec


Is that good?
 
Old 08-27-2000, 10:51 PM   #11
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,322

Original Poster
Rep: Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612
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.
 
Old 09-04-2000, 09:15 AM   #12
bako
Member
 
Registered: Sep 2000
Location: Haarlem, The Netherlands
Distribution: Freesco, RedHat, Debian
Posts: 41

Rep: Reputation: 15
Exclamation

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 :-)
 
Old 09-04-2000, 11:27 AM   #13
bickford
Member
 
Registered: Jun 2000
Location: SUNY Buffalo
Posts: 79

Rep: Reputation: 15
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.
 
Old 09-05-2000, 04:12 AM   #14
bako
Member
 
Registered: Sep 2000
Location: Haarlem, The Netherlands
Distribution: Freesco, RedHat, Debian
Posts: 41

Rep: Reputation: 15
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.
 
Old 09-05-2000, 07:32 AM   #15
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,322

Original Poster
Rep: Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612Reputation: 2612
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Test Hard Drive performance? voxel Linux - Hardware 7 09-07-2005 01:44 AM
Horrible Hard Drive Performance????? linux-rulz Linux - Hardware 13 06-26-2005 08:10 PM
hard drive performance true_atlantis Linux - General 3 10-26-2004 03:15 AM
Did not get the Hard drive performance Raid0! alpha97 Linux - Hardware 21 07-24-2004 03:52 AM
hard drive performance bynaar Slackware 2 12-18-2002 06:21 AM


All times are GMT -5. The time now is 01:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration