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

Andrew Savchenko Bircoph at list.ru
Sat Sep 9 02:43:51 CEST 2006


On 9 Sep 2006 02:01, Uoti Urpala wrote:

> MPlayer becoming that much faster when running alone sounds
> surprising. Can anyone else confirm this?

Nope. my playback is slightly faster with -rtc.

> I would have expected the 
> biggest negative effect to be on other programs; if the kernel
> considers MPlayer an interactive process and wakes it up whenever the
> rtc fd becomes readable that can cause 2000 context switches per
> second when MPlayer is sleeping in the rtc timer loop. OTOH if
> MPlayer is already using most of the CPU then it won't spend that
> much time in the timer loop, and I wonder where exactly the extra CPU
> usage comes from then. If the video is already falling behind then
> MPlayer won't sleep and the rtc timer isn't accessed at all, so
> overhead should only come from the kernel writing to the fd.
>
> Anyway since no one gave arguments for keeping rtc as the default
> I'll change it to default off. What documentation changes should
> there be? Man page should list -rtc instead of -nortc, anything else?
> Should there be a specific mention of the change for people who might
> have a reason to keep using rtc?

My playback is slightly faster with -rtc rather than with -nortc. I've 
tested it on an mkv container, ffmpeg codec (was tested on the same 
episode):

with -rtc:
A:1280.4 V:1280.3 A-V:  0.141 ct:  0.016 1835/1835  7% 47%  0.8% 0 6

with -nortc:
A:1280.4 V:1280.3 A-V:  0.141 ct:  0.016 1835/1835  8% 49%  0.8% 0 6

I'm using Athlon 3200+, 2.6.14.

Unfortunately, I can't upload movie for public testing due to very slow 
network connection.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060909/41c693a1/attachment.pgp>


More information about the MPlayer-dev-eng mailing list