Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2005 12:51:02 -0300
From:      Gustavo De Nardin <gustavodn@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: why CDROM operations cause system to be slow and HD operations do not
Message-ID:  <50af0a260507130851699caaa@mail.gmail.com>
In-Reply-To: <42D4C8C9.1030401@tsoft.com>
References:  <42D4C8C9.1030401@tsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13/07/05, Yuri <yuri@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 =3D UDMA100   <--- HD
Slave  =3D BIOSPIO
# atacontrol mode 1
Master =3D BIOSPIO   <--- CD
Slave  =3D PIO4

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

--=20
(nil)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50af0a260507130851699caaa>