Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi. I currently have 2 computers running Ubuntu 5.04. One of them is a Sony Vaio, 512 MB RAM, P4 2.8 GHz (no HT) 120 GB hda, 8 GB hdb, and I'm not sure what other info you need.
The other is an HP Pavilion AMD Athlon XP 2200+ (1.8 GHz), 1 GB RAM, 60 GB hda, 15 GB hdb and again, ask if u need more info.
On the Vaio, when I use the command hdparm -t to test hard disk performance, I get approx. 50 MB per second on hda and approx 15 MB per second on hdb.
On the Pavilion however, I only get between 6 and 7 MB per second for both harddrives. Both have DMA enabled. Since both harddrives are running slower than they should be, I have a feeling that it is something wrong with the MoBo and not the harddrives.
I'd tend to want to bet money that the 15GB has a slower rotational speed than the 120GB. That will acount for a lot of it. And I think that 50 is not a bad speed considering the overhead involved. Try storagereview.com for some background on disk i/o speeds.
The warning. hdparm has the possibility to corrupt data. I've never had it happen to me, but I only enable features that I know my drives support. From the information you posted, I can only conclude the following about your drives.
It is probably a good idea to benchmark your current settings a few times by running. hdparm -tT /dev/hda, and write down the two speeds so you can compare them to the speeds of the setting I suggest. If you don't like the setting I suggest, reboot and they will be cleared.
hdparm -d1 -m16 -X69 -u1 /dev/hda
hdparm -d1 -m16 -X68 -u1 /dev/hdb
Drive hda also supports auto-readahead, but the value that it supports isn't shown. You could add two switches to enable auto-readahead
-A1 to enable it
-a## to set how far to read ahead. Mine is 256, but your doesn't say how far it can read ahead.
I imagine you have support for 32bit I/O, but I can only guess that so I haven't included that switch.
hdparm is the worst documented utility in the world. You have to google it and read over 10 sites before you get the info you need to understand it. I have a notebook of linux related stuff and two pages are dedicated to how hdparm works.
Last edited by musicman_ace; 06-25-2005 at 10:10 AM.
I followed some instructions from a guide on the web and to help me tune my harddrive performace. it is going really fast for both hard drives now. Does any of the stuff below look like there might be a problem? I passed the switch -k1 to keep the settings, was this a good idea?
I've never used the -k, I put my settings in /etc/conf.d/local.start. As for file corruption, as I said I've never noticed any so I don't know if it takes days, weeks, months, or years. I've been using hdparm settings for years and haven't noticed any.
You posted the new speeds, but was there any increase? Without the old speeds, those new ones are meaningless to me.
The old ones were approx 6 MB per second for both HDDs. So it was quite a speed up. What I'm wondering is, did any of the changes I've made (you can see the differences by looking at the different posts I made) look dangerous to you?
if you used the commands I specified, they aren't dangerous because they are simply the features that the drives support. the -i and -I list information and features. I could add more switches to those, but I don't know for sure that the drive support them. What I recommended should be completely safe.
It appears that MutliSect is still off.
Is the 60GB a 7200RPM and 15GB 5400RPM?
Last edited by musicman_ace; 06-25-2005 at 07:58 PM.