ola
On 2010-06-07 23:09, Ivica Ico Bukvic wrote:
IOhannes,
I tried your version of tcpserver/client and it unfortunately shows no improvement in our performance tests (16 wirelessly networked machines) with latency spikes sometimes as high as 1-2 seconds. In addition, your iteration of tcpserver/client suffers from the bugs that were fixed in Martin's version, namely misreporting number of connected clients, crashes, xruns when broadcasting, and stale sockets following the crash.
thanks for testing.
good to know that i cannot magically fix all problems in the world.
Could it be that this has something to do with how Pd deals with networking or are these externals completely independent from Pd's threading (given that they spawn their own threads pretty much or everything)?
they are entirely independent from Pd's networking and threading infrastructure.
Alternately, this may be simply the issue of cheap wireless cards built into our netbooks and/or driver issues.
aye. it's always easy to blame the hardware.
as i understand it, both miller's, my and martin's code (at least the old one before i forked) just fill up the socket's buffer and trust that the operating system will distribute the packets in an "ideal" way. martin's and my approaches try to minimize the impact this has on the Pd process (with different success - see "xruns")
mfgasdr IOhannes