James
3rd April 2004, 03:04 PM
This small guide will speed up your ultra dma hard disk drive access.
1. Log in as root as these commands can only be run as root.
2.*Open a terminal and type in hdparm -c3 -u1 -a64 -k1 /dev/hda
3. Now if you prefer using a gui you can browse to the location /etc/rc.d/ and open the rc.local file with your favourite text editor, now type in the same command into the config script hdparm -c3 -u1 -a64 -k1 /dev/hda , now save the file and the command will be run every time you start up fedora.
The above step can also be done from the command line by typing. emacs /etc/rc.d/rc.local and then adding the hdparm line as above, once finished save the current buffer and exit, you could also use vi /etc/rc.d/rc.local if you prefer vi.
* This is the explanation of the hdparm commands.
c3 = get/set IDE 32-bit IO setting
u1 = set unmaskirq flag to on
a64 = set fs readahead to 64
k1=turn on set keep_settings_over_reset flag
I experimented quite a bit with the settings and after numerous benchmarks, i found that these settings work best for me.
1. Log in as root as these commands can only be run as root.
2.*Open a terminal and type in hdparm -c3 -u1 -a64 -k1 /dev/hda
3. Now if you prefer using a gui you can browse to the location /etc/rc.d/ and open the rc.local file with your favourite text editor, now type in the same command into the config script hdparm -c3 -u1 -a64 -k1 /dev/hda , now save the file and the command will be run every time you start up fedora.
The above step can also be done from the command line by typing. emacs /etc/rc.d/rc.local and then adding the hdparm line as above, once finished save the current buffer and exit, you could also use vi /etc/rc.d/rc.local if you prefer vi.
* This is the explanation of the hdparm commands.
c3 = get/set IDE 32-bit IO setting
u1 = set unmaskirq flag to on
a64 = set fs readahead to 64
k1=turn on set keep_settings_over_reset flag
I experimented quite a bit with the settings and after numerous benchmarks, i found that these settings work best for me.