Skip site navigation (1)Skip section navigation (2)
Date:      05 Jul 2002 19:18:05 +0300
From:      Juha Ylitalo <juha.ylitalo@iki.fi>
To:        Simon Dick <simond@irrelevant.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: DMA on ATAPI (or lack of it ....)
Message-ID:  <1025885885.277.5.camel@shoes.st-paul>
In-Reply-To: <1025883737.10728.4.camel@linux>
References:  <1025883140.270.53.camel@shoes.st-paul>  <1025883737.10728.4.camel@linux>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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. 
> > 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 atapi
> > 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 really
> > 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=1

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=1
sysctl: oid 'hw.ata.atapi_dma' is read only
shoes# 
In case it makes any difference, my kern.securelevel is -1.

-- 
Juha Ylitalo                 juha.ylitalo@iki.fi                <e-mail>
+358 40 562 6152 <mobile>    http://www.iki.fi/jylitalo         <www>
"Some tools are used, because its policy, others because they are good."

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQA9Jca9T3Z0FVGK5qMRArQWAJ0eRqyhy0MzqhTGvuQYH1uM5zKueQCgq6P4
aRWGg27GLAGCpC3J1iDRkY0=
=QKSF
-----END PGP SIGNATURE-----

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