Good afternoon,

By default, the Econotag and izattach (part of the linux-zigbee 
userspace tools) expects the communications to run at 115200 bps. I 
wanted to know of it was affecting the performances, so I tried 
different values (by recompiling the firmware and the tools 
accordingly). I was mainly interested in reducing latency, this is why I 
exclusively used ping6 for my tests, but I guess the throughput should 
improve as well.

Here is the average round-trip time reported by ping6 between two 
nodes:
- at 115200 bps: ~ 400ms
- at 921600 bps: ~ 20ms (yes , 20 times faster)
- at 1843200 bps (maximum baudrate supported by the econotag): ~ 20 ms 
(same number as above)

As a side note, 1843200 bps is not a "standard" baud rate supported by 
the Linux kernel, which make it more complex to set on the software 
side. Given that there is not performance gain compared to 921600 bps, 
there seem to be no benefit in using this baud rate (but I might be 
wrong).

I do not believe my changes should make it to the kernel (some serial 
devices might still need to operate at 115200), but I can post my 
patches if people are interested.

Regards,
Tony

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to