Boyan Biandov
2008-01-29 19:15:13 UTC
Hi,
I am seeing an interesting behavior using CM11A:
I see a time delay when executing blocking commands but almost no delay
when executing non-blocking commands. This is not the classic "duh,
that's why they are called non-blocking".
Let me be more specific on this behavior:
When I use echo which is a blocking command, the command blocks for
about 10 seconds, after which time I get the prompt back. The actual
task (light turning ON or OFF) is not carried out until the 9th second,
which is about one second from when I get my prompt back. So there is
about 8 second delay when I neither get the prompt back nor the x10
command is sent out.
Conversely when I use nbecho I get the prompt back right away and the
x10 command is carried out almost instantaneously.
What gives?
~Boyan
I am seeing an interesting behavior using CM11A:
I see a time delay when executing blocking commands but almost no delay
when executing non-blocking commands. This is not the classic "duh,
that's why they are called non-blocking".
Let me be more specific on this behavior:
When I use echo which is a blocking command, the command blocks for
about 10 seconds, after which time I get the prompt back. The actual
task (light turning ON or OFF) is not carried out until the 9th second,
which is about one second from when I get my prompt back. So there is
about 8 second delay when I neither get the prompt back nor the x10
command is sent out.
Conversely when I use nbecho I get the prompt back right away and the
x10 command is carried out almost instantaneously.
What gives?
~Boyan