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

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2002-07-05 at 17:18, Juha Ylitalo wrote:
> 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.

Good point, try putting it in /boot/loader.conf instead as
hw.ata.atapi_dma="1"

-- 
Simon Dick					simond@irrelevant.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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