SlackwareThis Forum is for the discussion of Slackware 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.
Now I have seen on some threads other peoples hdparm and they had some few differences like:
I have
Quote:
IO_support = 0 (default 16-bit)
and they had
Quote:
IO_support = 1 (default 32-bit)
.
I have
Quote:
unmaskirq = 0 (off)
and they had
Quote:
unmaskirq = 1 (on)
.
I have
Quote:
unmaskirq = 0 (off)
and they had
Quote:
unmaskirq = 1 (on)
.
The geometry option I belive is different from one to another depending on the disk capacity, model, vendor, etc.
So my question is to someone who has a clue with this things... wich parameters are right ? Mine or the other people ? And if mine are not OK how can I set them and what would be the right choices ?
This is long I know, but just wanted to be as explicit as I could to help with your answer. Thank you in advance.
Its depends of your hardware, cables and disk model.
If you are using flat cables with 80 wires and the disk is plugged on the first IDE channel, you may try to put your disk in 32 bit mode (-c 1) and udma5 (-X 69).
Use this options with caution. Read the hdparm man page. Using udma5 on a unsupported hardware can trash your system. If it is your personal computer, than its ok, at next reboot the system will be fine again.
After changes, run hdparm -t a couple times, and ignore the first run. Compare with previous runs to see any improvements.
The geometry option I belive is different from one to another depending on the disk capacity, model, vendor, etc.
So my question is to someone who has a clue with this things... wich parameters are right ? Mine or the other people ? And if mine are not OK how can I set them and what would be the right choices ?
Hi,
First you should get the disk(s) information by;
Code:
#hdparm -i /dev/hda #hd information at boot
#hdparm -I /dev/hda #get from drive user friendly output
#hdparm -I /dev/hdd #information
You can then use this output to select what is supported on the desired device. As long as the motherboard supports the desired options then you should be able select the options. Yes your cables should be 80 pin for the I/O devices hd,cdrom or whatever. As long as the device supports the desired data transfer.
When your system boots modern hard disk systems will select the optimum setting for the hardware that it is connected too. Sometimes this is not always correct. Then you can use the hdparm command to change to the desired setting(s).
If you man hdparm you will get a lot of useful information, sure the man hdparm is succinct but you can get a lot from the output.
gwsandvik, this is the output of those commands... could you tell by this if I should enable/disable anything further, I really am not into this and a bit afraid not to screw everything up. Thanks for replays.
Please remember I'm new to linux. I know enough know to get myself in trouble
But I have a very similar hard drive to yours, but I don't know what the differences are in my drive vs. yours.
It looks like after the 800JB-XXX where the XXX is the difference I'm talking of.
So what deviates my drive of 800JB-xxxxxx vs. WD800JB-00JJC0 I don't know. Maybe you can find out what that means at their site.
I can tell you with these settings, which slackware just did for me after installing. I didnt key any of these in. I'm on the stock kernel right now too, as I'm slowly reloading this pc.
The write caching and multi-sectors is off on yours. I've got an old laptop that slackware does not enable them on. I manually turned them on for my laptop and get a really big performance difference which I measured with 'hdparm -tT /dev/hda'
I wonder tho if slackware is detecting your IDE drivers correctly tho? I read somewhere before I got into tweaking this here for my laptop, and found that IDE drivers could be hindering what linux will let you run at.
Personally I read the man pages, and found them useless on this subject matter of hdparm and IDE channels for whatever it's worth.
I suggest finding the spec's for your drive not from Linux to be honest, but to go to Western Digital's web-site. They let you key in the make, model and serial number and tell you everything you need to know. I would say once you find that stuff out, then just change it in linux on the fly, if it works and no errors you're probably fine. Just be sure you know what you are doing before you make changes. This is definitely not a scenario where you simply want to copy other peoples settings, which is obviously why you posted
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.