DMA no active on HL-DT-STCD-RW/DVD
Dmitry Pryanishnikov
dmitry at atlantis.dp.ua
Sat May 13 19:20:21 UTC 2006
Hello!
On Sat, 13 May 2006, Marcin Jessa wrote:
>> WDMA corresponds to so-called "multiword DMA" transfer mode. It's slower than
>> UDMA (IIRC WDMA2 gives 16Mbytes/s, same as PIO4), but still should be
>> sufficient for CD/DVD drive (well, up to 8x-speed DVDs). Of course, it's
>> better to use WDMA2 than PIO4 because WDMA (as well as UDMA) doesn't use
>> CPU cycles for moving data between RAM and device. FreeBSD's ata driver
>> is quite conservative, and doesn't automatically enable WDMA mode for
>> ATAPI device even if hw.ata.atapi_dma=1, so you should just enable
>> this mode with atacontrol. E.g., you can add
>
> Does this mean I should set my laptop's drive mode to WDMA2 instead of
> UDMA100 (HD) and UDMA33 (CDRW)?
No, there is no point in using WDMA if your hardware works well in UDMA
mode. UDMA is faster (at least twice) than WDMA2, and provides data CRC
check = more reliable. But if device supports _only_ PIO and WDMA, it's better
to use WDMA mode.
> Marcin.
Sincerely, Dmitry
--
Atlantis ISP, System Administrator
e-mail: dmitry at atlantis.dp.ua
nic-hdl: LYNX-RIPE
More information about the freebsd-current
mailing list