Mailing List archive

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

[vdr] Re: VDR eating CPU time



Hello Klaus,


> > > > You could try to increase the value in the usleep(1) call in
> > > > cTransferBuffer::Output(). Try it with 10, 100, 1000, 10000
> > > > and check whether the system load goes down and the transfer mode
> > > > still works without glitches.


> > if (Available() < MAXFRAMESIZE) {
> >               usleep(100000); // allow the buffer to collect some
reserve
> >               continue;
> >               }
> > and I guess that value 100000 is the one, that Klaus meant. Change it,
and
> > do your "make" again (with all the parameters you used originally).
>
> No, that's not the one. Look 23 lines further down:
>
>             usleep(1); // this keeps the CPU load low


Aarrrgh, sorry. Just wanted to show Tilo how to look into this and got
confused with the big numbers in your original second line.... Did not try
this myself.


Ciao,

    Achim




Home | Main Index | Thread Index