[MPlayer-dev-eng] Re: Make -nortc the default?
dalias at aerifal.cx
Sat Sep 9 18:07:08 CEST 2006
On Fri, Sep 08, 2006 at 06:12:46PM +0000, Carl Eugen Hoyos wrote:
> Uoti Urpala <uoti.urpala <at> pp1.inet.fi> writes:
> > Does anyone have a reason why rtc timing should still be used by
> > default?
> > Reasons not to use it:
> > - Most desktop Linux boxes have HZ 1000 or at least 250 nowadays. HZ
> > 1000 gives accuracy comparable to RTC using normal sleep, and 250 is
> > probably still high enough. Thus rtc doesn't give any benefit in most
> > cases.
> > - rtc wakes up the process 1024 times a second while sleeping, wasting
> > CPU that could be used for other processes
> > - rtc requires the user to set special permissions for /dev/rtc/, and if
> > that hasn't been done it shows error messages telling the user to
> > modify system startup scripts.
> - -nortc typically saves 10% CPU time on playback.
> That often makes the difference when trying to play HD content (or just H264).
> (That's on an AMD 2600+ running SuSE 10.0, 2.6.13)
Seems to be the same on my box. I haven't tested whether -nortc makes
some files that were previously unplayable playable, however.
More information about the MPlayer-dev-eng