[PLUG] harddisk dma modes, information using hdparm command

Kapil Pendse kapil.pendse at gmail.com
Fri Aug 15 00:11:58 IST 2008


>
> i am using disk sda in example.
>
> hdparm /dev/sda
>
> will list present settings.
>
>  hdparm -d1 /dev/sda
>
> will set disk to dma mode
>
> htparm -tT /dev/sda
>
> will let you test the disk performance . if you want to save settings
> then
>
> hdparm -d1 -k1 /dev/sda
>
> i hope this will do.
>
>
> irfan


Thanks Irfan!

But what I want to know is that from the following lines (output of hdparm),
can I draw the conclusion that the harddisk is already in dma mode?
~~~~~~~~~~~~~~~~~~~~~~~
DMA: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2 udma0 udma1 udma2 udma3 udma4
udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
~~~~~~~~~~~~~~~~~~~~~~~

Thanks,
Kapil



More information about the Plug-mail mailing list