Tenth-of-a-second delay on Telnet?

Is this a feature? Is this a bug? Give us feedback to make it better!
Post Reply
cpf
Posts: 12
Joined: Thu Aug 20, 2009 10:55 pm
Primary Venue / Use: Local Theatre
Where I Am: Alberta Canada

Tenth-of-a-second delay on Telnet?

Post by cpf » Tue Aug 02, 2011 3:52 pm

I was using the latest (10.8.3?) OLE on my Win7x64 machine to test some automation stuff that uses the Telnet interface, but I noticed that there's a small, but noticeable (and in my case, significant) delay between the command getting sent, and the action happening. In my tests, it appeared to be around 100ms of delay.

Check http://www.youtube.com/watch?v=Y-oHBLHUgtY for an example using the cue list.

Is there any way of reducing this? I don't have a physical console right now to test, so could this just be a delay in the user interface, with the outputs reacting "instantly," with no visible delay that is?

User avatar
BrianEvans
Posts: 700
Joined: Fri Oct 12, 2007 1:11 pm
Location: Orlando, Florida

Re: Tenth-of-a-second delay on Telnet?

Post by BrianEvans » Tue Aug 02, 2011 9:27 pm

Not sure what you are doing wrong,
but unfortunately this is not a problem in Palette.

You have a delay happening on your machine somewhere.

The telnet side of things is very robust.
I personally have custom UI apps that I have written for shows that poll for thousands of channels at a time,
with no delay.
The UI does not update very many times a second,
but I'm doing the same test here on Windows 7,
and there is absolutely no visible dealy.

I'd say the delay is the terminal application you are using.
Brian Evans - System Specialist - Horizon Control Inc.

User avatar
MickCrozier
Posts: 288
Joined: Tue Mar 31, 2009 3:10 am
Primary Venue / Use: Professional Theatre
Where I Am: Melbourne, Australia
Location: Melbourne, Australia

Re: Tenth-of-a-second delay on Telnet?

Post by MickCrozier » Sun Aug 28, 2011 1:01 am

using both telnet and the webserver I've noticed a variable delay. Although running locally is very fast and reliable.
But over a network it's much more flexible. Anywhere between 2ms and 500ms - although on average I see 10-25ms. On very rare occasions (generally when sending commands very quickly) commands are missed completely. Could be the device, could be the network. (Could it be the console trying to do too much?)

As Brian said - I have also been able to poll for hundreds of channels (I can't say I tried thousands :o ) - so the info sending/requesting doesn't seem to matter.
I've seen delays of half a second using the remotes to simply turn a channel on. And have received requests for masses of info in less than 10ms.

Generally the fastest I've been able to send polling commands over the network is about 100ms, but I'm finding 300ms to be more reliable on mobile devices
You need to be careful on mobiles- they don;t have a huge amount of power
Formerly Durisian (who died peacefully of digital old age)

cpf
Posts: 12
Joined: Thu Aug 20, 2009 10:55 pm
Primary Venue / Use: Local Theatre
Where I Am: Alberta Canada

Tenth-of-a-second delay on Telnet?

Post by cpf » Sun Aug 28, 2011 1:48 am

MickCrozier wrote:using both telnet and the webserver I've noticed a variable delay. Although running locally is very fast and reliable.
But over a network it's much more flexible. Anywhere between 2ms and 500ms - although on average I see 10-25ms. On very rare occasions (generally when sending commands very quickly) commands are missed completely. Could be the device, could be the network. (Could it be the console trying to do too much?)

As Brian said - I have also been able to poll for hundreds of channels (I can't say I tried thousands :o ) - so the info sending/requesting doesn't seem to matter.
I've seen delays of half a second using the remotes to simply turn a channel on. And have received requests for masses of info in less than 10ms.

Generally the fastest I've been able to send polling commands over the network is about 100ms, but I'm finding 300ms to be more reliable on mobile devices
You need to be careful on mobiles- they don;t have a huge amount of power
Thats odd, even requests from my iPod touch 1g go through at a reliable rate (and under 100ms, too). I've never seen commands get lost, either (thanks, TCP!). It must be your specific network configuration, the WiFi I use/d is pretty well set up.

For the issue I originally posted about: it actually turned out to be a UI delay in PaletteOS OLE, the outputs on a real console react "instantly." Oops!

User avatar
gooze
Posts: 1760
Joined: Tue Dec 18, 2007 12:42 pm
Location: Amsterdam, The Netherlands
Contact:

Tenth-of-a-second delay on Telnet?

Post by gooze » Sun Aug 28, 2011 4:35 am

Some routers and wireless routers (e.g. airport express) do some buffering before they send out packets.
There is a huge difference in using the wired network or the wireless in my setup.
If you are running your telnet connection to and from the same computer are you using localhost or the ip adress? Maybe it wants to go through your router first before coming back to your computer, picking up some delay along the way.
Floriaan Ganzevoort - Lighting designer
THEATERMACHINE design. production. operations.

Post Reply