[MPlayer-dev-eng] Re: Make -nortc the default?

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Sep 8 20:12:46 CEST 2006


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)

For me, that's the main reason why -nortc should be the default.

Just my 2c, Carl Eugen




More information about the MPlayer-dev-eng mailing list