From owner-freebsd-questions@FreeBSD.ORG Wed Jul 13 15:52:02 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4987316A41C for ; Wed, 13 Jul 2005 15:52:02 +0000 (GMT) (envelope-from gustavodn@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4FD143D45 for ; Wed, 13 Jul 2005 15:52:01 +0000 (GMT) (envelope-from gustavodn@gmail.com) Received: by wproxy.gmail.com with SMTP id i8so215193wra for ; Wed, 13 Jul 2005 08:52:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Rh10vtoVIRcJwEv88Dk12qidYh5kYkTDNLDE0QXyfCKTCBnMmdG89Cy92+zE2mSVv91ykKlW8qNSVv0VCmra6HtfAgKK1uIuEyPKBX6JkJHI5hay2ScyBHU2MVOWtsDKn43W8Ip1h7p2NhX+cxaGI79iDQsBIx/+8pHU0hDxk8g= Received: by 10.54.57.62 with SMTP id f62mr352559wra; Wed, 13 Jul 2005 08:51:02 -0700 (PDT) Received: by 10.54.34.63 with HTTP; Wed, 13 Jul 2005 08:51:01 -0700 (PDT) Message-ID: <50af0a260507130851699caaa@mail.gmail.com> Date: Wed, 13 Jul 2005 12:51:02 -0300 From: Gustavo De Nardin To: freebsd-questions@freebsd.org In-Reply-To: <42D4C8C9.1030401@tsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42D4C8C9.1030401@tsoft.com> Subject: Re: why CDROM operations cause system to be slow and HD operations do not X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 15:52:02 -0000 On 13/07/05, Yuri 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)