![]() Marketplace:
|
Disk ParametersAfter installing Debian on Bach (98.18) a serious performance hit was noticed every time the disks were busy. With the use of hdparm the hard disk parameters could be set and with hwtools we could ensure the parameters were set on each reboot. The same process can help with access to CDs and DVDs as is discussed in Section 93.6.1.
To test your current performance (this one shows results after
tuning):
Here's one before tuning:
To determine the current settings for a disk drive use:
Then to get information about a disk drive use:
Various parameters can be set, such as turning on direct memory access (-d1), 16 multiple sectors (-m16), and 32 bit I/O support (-c1):
Be careful though as some settings may cause the disk to stop responding! This may require a hard reboot after which the default settings are returned. For example, on Bach an additional IDE controller (a CMD680 from Silicon Image) with 2 ST360021A disks, identical to the disk on the PIIX4 IDE controller, but setting the parameter -d1 hangs the shell on a test with -Tt.
To ensure new settings are saved for each reboot install the package
hwtools
and edit /etc/init.d/hwtools:
Also see http://linux.oreillynet.com/pub/a/linux/2000/06/29/hdparm.html for further introductory explanations.
|
Marketplace: |
|||||||||
| Facts: " Men are from Mars. Women are from Venus. Computers are from hell. " | |||||||||||
Monday 20 May 2013 21:17:37 1369084657