Enabling the Ultra DMA on an IDE hard disk
hdparm
Principle
Under Linux, the Ultra DMA mode is not enabled by default.
hdparm is a utility included with most linux distributions, to know and, if necessary, to enable the Ultra DMA.
Getting started
If hdparm is not supplied with your distribution, and that the package does not install easily, it is always possible to install it manually:
http://freshmeat.net/projects/hdparm/
Implementation
- Knowing the information about your IDE hard disk
hdparm -i /dev/hda
(replace hda with the drive name to be examined)
The output of this command to determine if DMA is supported and which mode can be activated (preceded by an asterisk)
- Check if Ultra DMA is enabled
hdparm -d /dev/hda
hdparm -d1 /dev/hda
hdparm -d0 /dev/hda
- Monitor the performance of your disks
hdparm -Tt /dev/hda