PDA

View Full Version : improving linux performance



terry_g
13th December 2005, 02:44 PM
I got this information from the cinelerra documentation. I am wondering if it applies to Fedora core 4.

SPEEDING UP THE HARD DRIVE

This is a very popular command sequence among Linux gurus, which is not done by default on Linux distributions.

hdparm -c3 -d1 -u1 -k1 /dev/hda

-c3 puts the hard drive into 32 bit I/O with sync. This normally doesn't work due to inept kernel support for most IDE controllers. If you get lost interrupt or SeekComplete errors, quickly use -c0 instead of -c3 in your command.

-d1 enables DMA of course. This frees up the CPU partially during data transfers.

-u1 allows multiple interrupts to be handled during hard drive transactions. This frees up even more CPU time.

-k1 prevents Linux from resetting your settings in case of a glitch.