why CDROM operations cause system to be slow and HD operations do not

Gustavo De Nardin gustavodn at gmail.com
Wed Jul 13 15:52:02 GMT 2005


On 13/07/05, Yuri <yuri at tsoft.com> wrote:
> When I read something from CDROM my system gets visibly slow and HD
> reads/writes do not have the same effect.

By default:
hw.ata.ata_dma: 1        <--- affects HD
hw.ata.atapi_dma: 0      <--- affects CD

So:
# atacontrol mode 0
Master = UDMA100   <--- HD
Slave  = BIOSPIO
# atacontrol mode 1
Master = BIOSPIO   <--- CD
Slave  = PIO4

Put 'hw.ata.atapi_dma=1' in /boot/loader.conf to get the CDROM using
DMA on the next boot; use atacontrol to turn DMA mode at runtime.

-- 
(nil)


More information about the freebsd-questions mailing list