From owner-freebsd-questions Fri Jul 5 9:18:17 2002 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 348EA37B400 for ; Fri, 5 Jul 2002 09:18:11 -0700 (PDT) Received: from fep06-app.kolumbus.fi (fep06-0.kolumbus.fi [193.229.0.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29C3443E31 for ; Fri, 5 Jul 2002 09:18:09 -0700 (PDT) (envelope-from juha.ylitalo@iki.fi) Received: from coat.st-paul ([212.54.20.95]) by fep06-app.kolumbus.fi with ESMTP id <20020705161806.HMJR20539.fep06-app.kolumbus.fi@coat.st-paul>; Fri, 5 Jul 2002 19:18:06 +0300 Received: from shoes.st-paul (shoes.st-paul [10.10.10.10]) by coat.st-paul (8.12.3/8.12.3) with ESMTP id g65GI6NB026211; Fri, 5 Jul 2002 19:18:06 +0300 (EEST) (envelope-from juha.ylitalo@iki.fi) Received: from shoes.st-paul (localhost [127.0.0.1]) by shoes.st-paul (8.12.3/8.11.6) with ESMTP id g65GI509000350; Fri, 5 Jul 2002 19:18:06 +0300 (EEST) (envelope-from juha.ylitalo@iki.fi) Received: (from jylitalo@localhost) by shoes.st-paul (8.12.3/8.12.3/Submit) id g65GI5vn000349; Fri, 5 Jul 2002 19:18:05 +0300 (EEST) X-Authentication-Warning: shoes.st-paul: jylitalo set sender to juha.ylitalo@iki.fi using -f Subject: Re: DMA on ATAPI (or lack of it ....) From: Juha Ylitalo To: Simon Dick Cc: questions@FreeBSD.ORG In-Reply-To: <1025883737.10728.4.camel@linux> References: <1025883140.270.53.camel@shoes.st-paul> <1025883737.10728.4.camel@linux> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-6wmGVHFJx2giJNMyoGoc" X-Mailer: Ximian Evolution 1.0.5 Date: 05 Jul 2002 19:18:05 +0300 Message-Id: <1025885885.277.5.camel@shoes.st-paul> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-6wmGVHFJx2giJNMyoGoc Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2002-07-05 at 18:42, Simon Dick wrote: ... > > My noname Athlon box seems to work nicely, except for those times, when > > I try to watch DVD movies (with ogle 0.8.4). Problem in movies is that > > framerate is 17-20 fps.=20 > > With quick check on system, problem turns out to be that DMA is turned > > on ATA, but not on ATAPI. Is there something (in BIOS, rearrange IDE > > devices, sysctl, kernel, ...) that I could do to change DMA on for atap= i > > and that way I would get better performance from DVD drive or should I > > simply settle on what I get out of it at the moment (since movies reall= y > > are only area, where it bothers me) and worry about it, when I buy my > > next machine, which will probably take at least 4-5 years (based on > > interval on my previous hardware upgrades). ... > Try adding this to /etc/sysctl.conf > hw.ata.atapi_dma=3D1 It seems that sysctl.conf is read at the end of rc and at that point, it seems to be too late to set turn it on. Or at least this is what I get: shoes# sysctl -w hw.ata.atapi_dma=3D1 sysctl: oid 'hw.ata.atapi_dma' is read only shoes#=20 In case it makes any difference, my kern.securelevel is -1. --=20 Juha Ylitalo juha.ylitalo@iki.fi +358 40 562 6152 http://www.iki.fi/jylitalo "Some tools are used, because its policy, others because they are good." --=-6wmGVHFJx2giJNMyoGoc Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQA9Jca9T3Z0FVGK5qMRArQWAJ0eRqyhy0MzqhTGvuQYH1uM5zKueQCgq6P4 aRWGg27GLAGCpC3J1iDRkY0= =QKSF -----END PGP SIGNATURE----- --=-6wmGVHFJx2giJNMyoGoc-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message