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 very confused by the output of testing my drive on one of my linux servers, when I run 'hdparm -Tt /dev/hda it will give me 3.25 MB/sec 2 or 3 times in a row then when I come back and try it I get 25.10 MB/sec, it will go back and forth - there is no middle ground on it, it is eather really low numbers or higher.
This server is not being used for anything so there is no proccess's taking up the time, it is not even plugged into the network.
Does anyone know why it would be doing this? DMA is enabled on the drive.
This machine is sopposed to be a squid cache server, we had it in production for about a week and it worked great, it was using about 6% proccessor, however every once in awhile I would see it jump to 100% use for about 25 to 45 seconds and then squid would start giving errors. As much as I could tell the hard drive was getting overrun with info, when I would run the hdparm -Tt /dev/hda it would come back with a throughput of only 3 to 6 MB/Sec then 15 minutes later it would report 25 MB/Sec
What I am wondering is if the MB is bad and switches off the DMA sometimes then a few seconds later resets the drive or something and the DMA starts again, I really don't know but it is starting to bug me :-)
667 MHz PIII Slot 1
384 Megs of pc-133 ram
40 Gig Western Digital 7200 rpm IDE Drive
3Com Network card
Thats pretty much the Hardware info the software that is running is:
Redhat 7.2 with updates on it
Squid
Webmin
SSH
There is not load on it now as I have pulled it and replaced it with a 1.6 GHz P4 but I now need this machine for a smaller site where its speed would work just fine if I could get the hard drive to be more stable with its throughput.
Actually I am only using about 3 gigs out of the 40 Gig Drive, I tried looking at the logs to see but they are huge from the times that it was running as a cache server, I will look again and see if I can find anything in them. It has been running really steady today but I did see it drop performance once today. I will check the logs to see if I can see anything from that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.