Linux - GeneralThis 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.
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.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602
Rep:
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
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?
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602
Original Poster
Rep:
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.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602
Original Poster
Rep:
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.
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.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602
Original Poster
Rep:
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.
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.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602
Original Poster
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.