Mailing List archive

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

[vdr] Re: VDR eating CPU time



bsch@dit-gmbh.de wrote:
> 
> hello,
> just to make it more complicated:
> 
> i reasently added 2 DVB-S nova cards,
> and hey i like to record 3 sessions at once
> (thanks to all devellopers)
> 
> i have same problems with some unencrypted channnels
> (pro7 transponder, yes it needs transfermode in my configuration)
> somtimes i have 100% CPU (ATHLON 1GHZ)
> then i switch to a non transfer channel,
> and back, and everything is normal again.
> i tried with usleep 1,10,100 but no difference
> 
> bernd

I believe I found the problem.
Please change the line

  while (r > 0 && Busy()) {

in dvbapi.c, function cTransferBuffer::Output(), to

  while (r > 0 && Busy() && cFile::FileReadyForWriting(toDevice, 100)) {

With this change CPU usage in transfer mode has dropped dramatically
here on my system (yes, I was able to reproduce the hight CPU usage).

Klaus

> 
> On Tue, 15 Jan 2002, Klaus Schmidinger wrote:
> 
> > Tilo Renkl wrote:
> > >
> > > Thanx a lot, but I do not think that this is the problem.
> > > I realized that this problem only apears on a few specific
> > > channels, eg. Discovery Channel or Dinedom Deluxe !?!?
> > >
> > > Salaam
-- 
_______________________________________________________________

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
_______________________________________________________________



Home | Main Index | Thread Index