performance tools

193 views
Skip to first unread message

srikanth

unread,
Oct 23, 2018, 3:20:03 AM10/23/18
to openthread-users
Suggest the tools to verify payload size and frequency between nodes.

srikanth

unread,
Oct 23, 2018, 3:38:06 AM10/23/18
to openthread-users

I have tried iperf3, netstat, netcat tools to verify the payload size and throughput analyzing how I can measure them. I tried to establish connection between the OT Leader, Router terminal and the putty terminal in which I am executing iperf3/ss/netcat but ended up with errors as below:

Generally when I tried to ping from cli to binary, the network is unreachable.

ubuntu@chn-aero-vm014:~$ ping -6c 1024 fdde:ad00:beef:0:aac6:3981:7007:3b3e

connect: Network is unreachable


Iperf3 tool:

  1. Unable to retrieve the information about the port on which server listens.

  2. Could not able to create both server and client in the same system. i.e., different terminals.

    Error: ubuntu@chn-aero-vm014:~$ iperf3 -cp 5201

    iperf3: error - unable to connect to server: No such file or directory

nc tool:


ubuntu@chn-aero-vm014:~$ nc -l d000

nc: getaddrinfo: Servname not supported for ai_socktype


Could anyone suggest what are the tools that can be able to measure throughput, latency, payload size and frequency?


thank you.


On Tuesday, 23 October 2018 12:50:03 UTC+5:30, srikanth wrote:

Jonathan Hui

unread,
Oct 24, 2018, 2:33:59 PM10/24/18
to srikanthr...@gmail.com, openthre...@googlegroups.com
Measuring network performance generally requires some amount of logic at the source and destination endpoints of the traffic flow. Many of these tools are commonly implemented on Linux, but not as commonly available in embedded SW SDKs.

The iPerf tool implements both client and server modes, with command line arguments to specify the particular mode. There are implementations of iPerf for embedded IP stacks like LwIP, but I do not have much experience with those implementations.

If you want to use netcat, try the following: `nc -6ul <port>`. Note that the port value should be specified in decimal. The `6` option indicates IPv6 and `u` indicates UDP.

If you want to use Linux-based tools, you can look into using wpantund with an NCP, which presents a Thread network as a standard Linux network interface.

--
Jonathan Hui

--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-use...@googlegroups.com.
To post to this group, send email to openthre...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/953f34ad-41b9-4858-bb4d-032e9eb2b817%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages