[vdr] speed up SVDRP

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Tue Dec 13 12:36:04 CET 2005


BRUNETON Béranger wrote:
> Hi,
> 
> Is there a way to speed up SVDRP interface ?
> Is there a trick or a process to renice ?
> 
> for example on a P4 2.5ghz
> 
> time ./svdrpsend.pl lstc 52
> 220 vdr SVDRP VideoDiskRecorder 1.3.32; Tue Dec 13 12:21:32 2005
> 250 52 EURONEWS;CSAT:11817:vC34:S19.2E:27500:163:92=fra,93=eng,94=ita,95=esl,91=rus,98=por,99=deu:0:0:8004:1:1070:0
> 221 vdr closing connection
> real    0m0.846s
> 
> 
> time ./svdrpsend.pl LSTE 51 next
> 220 vdr SVDRP VideoDiskRecorder 1.3.32; Tue Dec 13 12:23:18 2005
> 215-C S13.0E-176-11600-1108 OM TV
> 215-E 29 1134475200 300 4F
> 215-T FLASH
> 215-e
> 215-c
> 215 End of EPG data
> 221 vdr closing connection
> 
> real    0m1.038s

The SVDRP interface is processed once a second, so it can take
up to one second until a client gets a reaction.

See cInterface::GetKey() in interface.c.

You could try reducing the wait time from 1000 to, say, 100.
However, you should check whether the overall system load
increases when doing so.

Klaus



More information about the vdr mailing list