Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: High CPU Load @ replay



Marcel Wiesweg wrote:
> 
> Am Freitag, 14. Februar 2003 16:01 schrieb Klaus Schmidinger:
> > Are Årseth wrote:
> > > > when replaying recordings with vdr-1.1.23 & 24 my VDR consumes a whole
> > > > lot of CPU power (~40% of a PIII Tualatin 1,13). The thread seems to be
> > > > the one called "dvbplayer". Could this behaviour have anything to to
> > > > with the newly introduced "non blocking file reader"?
> I confirm this. I just took the dvbplayer.c from 1.1.20, recompiled and the
> CPU load is normal again. (with 1.1.24 ~40% on Tualatin 1,2, driver from 23.12.2002,
> _not_ the ci driver from 2003).
> 
> I compared the two versions with gcov.
> Below is the gcov output of the Action() function of dvbplayer.c 1.1.24 after quite
> exactly 55 seconds of replay. There are 5.5 million loops and it seems
> that PlayVideo is called 5.5 million times although there are only 1490 frames
> put in the ringbuffer (?)
> ...

Thanks a lot for this information. Looks like I forgot to remove the polling of
the disk file when I added the nonBlockingFileReader.

Can you (and anybody else who observed this problem) please try removing the lines

        if (!readFrame)
           Poller.Add(replayFile, false);

in the cDvbPlayer::Action() function, right at the beginning of the while() loop?
Please let me know whether this brings any improvement.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index