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

Corey Hickey bugfood-ml at fatooh.org
Sun Sep 10 21:10:41 CEST 2006


Vladimir Mosgalin wrote:
>> I did just now. I played the serenity trailer, which my machine can
>> actually handle. I watched free CPU usage.
>>
>> -rtc:   15% - 62% idle
>> -nortc: 13% - 62% idle
> 
> I don't have serenity trailer.. Picked another file, just a regular
> VIDEO:  [DX50]  576x432  24bpp  23.976 fps
> Vorbis audio, with external subtitles,
> vo=gl:yuv=2:lscale=1, vf = pp=ac/al:f,hqdn3d,noise=10uah:5uah
> 
> Free cpu usage is 48-62 with rtc and 57-65 without it during 1 minute of
> playback.

My point was that on my system the change -rtc makes is so slight that
the widely variable CPU usage when playing the Apple trailers completely
masks any observable difference in CPU usage. When I play an MPEG-4 ASP
file, the CPU usage hardly varies. I just used your settings above:

-rtc:   71% - 74% idle
-nortc: 73% - 75% idle

>> Still no noticable difference.

Right here I meant that there was still no noticeable difference when
playing an Apple trailer. There is a slight difference when playing
easier files.

> Either some other mplayer options matter or it's hardware or kernel
> issue..
> 
>> Same for me.
> 
> Let's compare results for grep RTC:
> CONFIG_HPET_EMULATE_RTC=y
> CONFIG_APM_RTC_IS_GMT=y
> CONFIG_RTC=y
> # CONFIG_HPET_RTC_IRQ is not set
> CONFIG_SENSORS_RTC8564=m
> CONFIG_RTC_X1205_I2C=m
> CONFIG_SND_RTCTIMER=m
> CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
> 
> also
> CONFIG_IOSCHED_CFQ=y
> CONFIG_DEFAULT_CFQ=y
> CONFIG_DEFAULT_IOSCHED="cfq"
> 
> Maybe you are using noop/deadline/as scheduler?

$ egrep '(RTC|CFQ|IOSCHED)' /boot/config-2.6.17-beyond1
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_DEFAULT_CFQ=y
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_HPET_EMULATE_RTC=y
CONFIG_RTC=y
# CONFIG_HPET_RTC_IRQ is not set
CONFIG_SND_RTCTIMER=y
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_RTC_CLASS is not set

-Corey



More information about the MPlayer-dev-eng mailing list