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.
If you are wondering why your ATA-66 or ATA-100 Harddrives are not putting up 66MB/s and 100MB/s respectively this would be because the 66MB/s and the 100MB/s are the max burst rates of the bus. There are currently no drives out there that can sustain that speed on ATA and there are not a lot of drives that will even burst at that speed.
I get about 6MB/sec data transfer rate on a WD 10.2 dma/66.I added this to my /etc/rc.d/rc.local:
#disk tweak
hdparm -c3 /dev/hdx
When I tried enableing dma,I got total lockup of system and had to do a hard shutdown and forced check on reboot.There are some issues mentioned in man hdparm about WD hdds and multicount settings.The multicount was already set to 16 in MDK7.1.I would really like to get more out of this hdd but I just threw my hands in the air after lockup and settled for the doubling of my I/O rate after the tweak I did.I've read the man page,the O'Reilly doc,the MUO doc,and looked around WD's site but couldnt find anything there.Maybe if I set multicount to 8 and tried the -d1 setting again?
lynch
/dev/hda:
Timing buffered disk reads: 64 MB in 19.54 seconds = 3.28 MB/sec
/dev/hdb:
Timing buffered disk reads: 64 MB in 17.92 seconds = 3.57 MB/sec
/dev/hdc:
Timing buffered disk reads: 64 MB in 27.37 seconds = 2.34 MB/sec
hda is a 20 gig deskstar 7200RPM ATA66 (but not being used to its potential)
hdb is a 12 gig bigfoot
hdc is a 2 gig drive that I threw in as a /var/spool/mail partition
The reason this is so slow is because Im running an old VIA board that only supports up to a P233MMX (which is whats in there) but for running my domain its more than enough!
Here are my scores from doing three "hdparm -Tt /dev/hda"
31.53 MB/sec
32.00 MB/sec
31.84 MB/sec
Note that these were done in single user mode. I think I may be able to increase this number since I don't think I compiled support for my Via chipset into the kernel (since it didn't mention KT133 in the make xconfig description). I may try to make a new kernel later.
My system specs:
Athlon Thunderbird 1100
MSI K7T Pro2-A (KT133 with ATA100 support)
128 MB PC-133 RAM
20 GB Western Digital ATA100 7200 RPM
RedHat 7.0 with kernel 2.4.2
Before I set up my DMA properly, with the -c and -d settings, I was getting:
32 MB in 5.92 seconds = 5.41 MB/s
after changing the DMA and 32 bit to on, I'm getting:
32 MB in 3.40 seconds = 9.41 MB/s
not bad, a free 4 MB/s there. Thanks for the tip! I'm running on an old P166 w/ a Quantum Bigfoot 6.4, I think it's ATA/33, but not sure. The drive's like 3-4 years old.
I saw a reference, by rimmer, to this post on another board. Here's the setting I use.
hdparm -c1 -d1 -m16 -u1 -W1 /dev/hda
Here's the results from the test
: root; hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.72 seconds =177.78 MB/sec
Timing buffered disk reads: 64 MB in 1.79 seconds = 35.75 MB/sec
: root; hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.67 seconds =191.04 MB/sec
Timing buffered disk reads: 64 MB in 1.85 seconds = 34.59 MB/sec
: root; hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.76 seconds =168.42 MB/sec
Timing buffered disk reads: 64 MB in 1.79 seconds = 35.75 MB/sec
: root;
The buffercache test would have been a bit faster but I was running setiathome.
The motherboard is an asus a7v133 and a 1G athlon overclocked to 1160 (multiplier is 8, fsb is 146MHz)
1/2 Gig memory
via southbridge vt82c686b (UDMA100 controller)
45G ibm 75gxp (7200RPM IDE)
Read the man page, there are lots of warnings concerning a lot of the settings that I'm using. So far so good but read the man page and understand the different opotions before you try. The most important options that I've found are: -c1 -d1 -m16. These appear pretty safe.
Regarding scsi performance, I did some timings on a system at work to compare to the box I just built. It is an adaptec 160 whatever adapter and a seagate 40G, 10K rpm.
hdparm was returning 45Mbytes/sec or so. If anybody has a burning interest in the exact numbers, I can run some tests on monday and post the results.
Regarding the comment that scsi was a work in progress in Linux, I've been able to do benchmarks between Suns and Linux boxes on various platforms since about 1996 and have never seen any particular difference in performance between two comparable hardware.
IBM Deskstar 75GXP ATA100 30.7GM model DTLA-307030 (not SCSI)
Abit 6BEII rev2 motherboard, BX chipset, HPT370 RAID controller (but NO raid, just one HD drive)
256M PC100 RAM
Intel P3 800MHz slot1 CPU
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.