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
Thanks
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
Ok, It work fine and the load is ok no difference with previous setup. Thanks a lot Klaus.
time ./svdrpsend.pl LSTE 51 next 220 vdr SVDRP VideoDiskRecorder 1.3.32; Tue Dec 13 13:56:42 2005 .... real 0m0.101s
time ./svdrpsend.pl lstc 52 220 vdr SVDRP VideoDiskRecorder 1.3.32; Tue Dec 13 13:57:07 2005 .. 221 vdr closing connection real 0m0.140s
On 12/13/05, Klaus Schmidinger Klaus.Schmidinger@cadsoft.de wrote:
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
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Klaus Schmidinger wrote:
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.
Any chance, that you manage it to migrate this code to use select/poll instead of only polling manually once a second? I think vdradmin with its many queries whould benefit a lot of a prompt answer.
So long,
Patrick Cernko wrote:
Klaus Schmidinger wrote:
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.
Any chance, that you manage it to migrate this code to use select/poll instead of only polling manually once a second? I think vdradmin with its many queries whould benefit a lot of a prompt answer.
"Chance" yes, but only after version 1.4.
Klaus