Trucrux Inc

Testing Ethernet

Table of Contents

Trucrux provides 2 Ethernet ports eth0 and eth1 respectively. Where eth0 is over imx8mq-trux-q01 SoM and eth1 is over trux-8MDVP.

Ethernet Performance Test #

Connect LAN to any of the port.

Run the command on Server system:

$ ifconfig  <to get the ip of server system> 
$ iperf3 -s

Once the server is initiated run the below commands on Target/device

root@imx8mq-trux-q01: iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -u -t 30 -P 2 -b 0      <For UDP Test>
root@imx8mq-trux-q01: iperf3 -c <IP_ADDRESS_OF_IPERF_SERVER> -t 30                           <For TCP Test>

The ouput is as follow

Connecting to host 192.168.0.155, port 5201
[ 5] local 192.168.0.183 port 57824 connected to 192.168.0.155 port 5201
[ 7] local 192.168.0.183 port 54348 connected to 192.168.0.155 port 5201
[ ID] Interval Transfer Bitrate Total Datagrams
[ 5] 0.00-1.00 sec 5.77 MBytes 48.4 Mbits/sec 4180
[ 7] 0.00-1.00 sec 5.77 MBytes 48.4 Mbits/sec 4180
[SUM] 0.00-1.00 sec 11.5 MBytes 96.8 Mbits/sec 8360
- - - - - - - - - - - - - - - - - - - - - - - - -
[ 5] 1.00-2.00 sec 5.70 MBytes 47.8 Mbits/sec 4130
[ 7] 1.00-2.00 sec 5.69 MBytes 47.7 Mbits/sec 4120
[SUM] 1.00-2.00 sec 11.4 MBytes 95.6 Mbits/sec 8250
- - - - - - - - - - - - - - - - - - - - - - - - -
[ 5] 2.00-3.00 sec 5.70 MBytes 47.8 Mbits/sec 4130
[ 7] 2.00-3.00 sec 5.70 MBytes 47.8 Mbits/sec 4130
[SUM] 2.00-3.00 sec 11.4 MBytes 95.7 Mbits/sec 8260
- - - - - - - - - - - - - - - - - - - - - - - - -
[ 5] 3.00-4.00 sec 5.70 MBytes 47.8 Mbits/sec 4130
[ 7] 3.00-4.00 sec 5.70 MBytes 47.8 Mbits/sec 4130
[SUM] 3.00-4.00 sec 11.4 MBytes 95.7 Mbits/sec 8260
- - - - - - - - - - - - - - - - - - - - - - - - -
[ 5] 4.00-5.00 sec 5.69 MBytes 47.7 Mbits/sec 4120
[ 7] 4.00-5.00 sec 5.70 MBytes 47.8 Mbits/sec 4130
[SUM] 4.00-5.00 sec 11.4 MBytes 95.6 Mbits/sec 8250
^C- - - - - - - - - - - - - - - - - - - - - - - - -
[ 5] 5.00-5.45 sec 2.60 MBytes 47.9 Mbits/sec 1880
[ 7] 5.00-5.45 sec 2.59 MBytes 47.8 Mbits/sec 1877
[SUM] 5.00-5.45 sec 5.19 MBytes 95.6 Mbits/sec 3757
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-5.45 sec 31.2 MBytes 47.9 Mbits/sec 0.000 ms 0/22570 (0%) sender
[ 5] 0.00-5.45 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%) receiver
[ 7] 0.00-5.45 sec 31.2 MBytes 47.9 Mbits/sec 0.000 ms 0/22567 (0%) sender
[ 7] 0.00-5.45 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%) receiver
[SUM] 0.00-5.45 sec 62.3 MBytes 95.8 Mbits/sec 0.000 ms 0/45137 (0%) sender
[SUM] 0.00-5.45 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%) receiver