Mailing List archive

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

[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