Jump to content

HD tuning and Mdk 10.0


Recommended Posts

I forgot where I saw the hdparm thing, so I am posting this here. I attempted to run hdparm and it could not be found, even though it is installed.

 

I got looking around and found a text file in /etc/sysconfig called harddisks or hardisks. This contains the things for tuning your HDDs.

 

If you find that your HDDs are running on the slow side, like in Enterprise Kernel, all you need to do is uncomment 2 lines to get things running much faster:

 

The line for DMA access and the line for 32 bit access. Save and reboot.

 

You do have to be root to do this.

 

When you reboot, mandrake will set the parameters for all of your hard disks.

 

 

Edit: moved from Hardware by spinynorman

Link to comment
Share on other sites

Funny it couldn't find hdparm...you did try hdparm as root, right?

 

I hate to reboot and haven't in months. No need to reboot to enable DMA. As root just do:

 

# hdparm -d 1 /dev/hda (or whatever drive)

 

That will enable DMA on the fly.

 

Then edit line in /etc/sysconfig/hardisks that sets DMA (must be like this):

 

hdparm -d 1 /dev/hda

 

where '1' is enabled, '0' is disabled (i.e. slow). This ensures DMA is enabled when you do reboot without having to manually enable it again.

 

As for enabling 32-bit support, it may not always be a good idea 'cause it can actually slow a system down slightly. 32-bit is only needed for data transfers across a PCI or VLB bus to an interface card, standard ribbon connections will still be 16 bit. Read the section on the '-c' variable in 'man hdparm' before you do.

 

BTW, you can also set HD standby times manually, or at boot in /etc/sysconfig/hardisks by adding entries like this:

 

# For setting standby time:

hdparm -S 242 /dev/hda

hdparm -S 241 /dev/hdb

hdparm -S 241 /dev/hdd

 

No need to leave all those drives running all the time. 'man hdparm' explains the time settings (the '24*' numbers).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...