Mailing List archive

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

[vdr] Re: Transfer mode



Hi Klaus,

as you suggested I tried various values for that usleep call between 10 and
100000, but
it is allways the same CPU usage between 5% and 80 %.

Sometimes CPU-usage is 5 % for about 20 secs and then 80 % for the next
about 15 secs ...

Tilo

> -----Original Message-----
> From: kls@cadsoft.de [mailto:kls@cadsoft.de]On Behalf Of Klaus
> Schmidinger
> Sent: Monday, March 11, 2002 9:13 PM
> To: vdr@linuxtv.org
> Subject: [vdr] Re: Transfer mode
>
>
> Tilo Renkl wrote:
> >
> > Hi List,
> >
> > can anybody tell me, why CPU usage of my VDR in
> transfermode is between 60
> > an 95 % (Athlon XP 1800+),
> > but when timeshifting with an offset of 2-4 seconds CPU
> usage is normal ?
>
> Your machine is *way* faster than the one VDR was originally
> developed on.
> Maybe the usleep(1) call in cTransferBuffer::Output() (in
> dvbapi.c) should be
> changed to a somewhat higher value. Try usleep(100) or
> usleep(1000). Maybe
> you'll need even more.
>
> I'll need to make this use mutexes to work without excessive CPU usage
> on fast machines...
>
> 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
> _______________________________________________________________
>
>




Home | Main Index | Thread Index