Enable dma on ide drives in linux

From CPanelDirect
Jump to: navigation, search

Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly

The command hdparm on linux can be used to enable DMA on drives. A drive should have DMA enabled otherwise it will be very slow. To see if its enabled run

hdparm /dev/hda

Where hda is the main drive.

For example: <pre> hdparm /dev/hda

/dev/hda:

multcount    = 16 (on)
IO_support   =  0 (default 16-bit)
unmaskirq    =  0 (off)
using_dma    =  1 (on)
keepsettings =  0 (off)
readonly     =  0 (off)
readahead    = 256 (on)
geometry     = 19457/255/63, sectors = 312581808, start = 0

</pre>

How To Enable DMA

If using_dma shows off enable it with

hdparm -d1 /dev/hda

It will output <pre> hdparm -d1 /dev/hda

/dev/hda:

setting using_dma to 1 (on)
using_dma    =  1 (on)

</pre>

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox