Last active
January 8, 2025 07:18
iperf test with AM572x IDK with Linux kernel 6.13.0-rc6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@am57xx-evm:~# ip a | |
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 | |
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 | |
inet 127.0.0.1/8 scope host lo | |
valid_lft forever preferred_lft forever | |
inet6 ::1/128 scope host | |
valid_lft forever preferred_lft forever | |
2: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000 | |
link/sit 0.0.0.0 brd 0.0.0.0 | |
3: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000 | |
link/ether 44:ea:d8:17:2a:42 brd ff:ff:ff:ff:ff:ff | |
4: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000 | |
link/ether 44:ea:d8:17:2a:43 brd ff:ff:ff:ff:ff:ff | |
5: main_dcan1: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10 | |
link/can | |
6: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 | |
link/ether fa:17:a3:56:d6:28 brd ff:ff:ff:ff:ff:ff | |
inet 192.168.1.10/24 brd 192.168.1.255 scope global eth2 | |
valid_lft forever preferred_lft forever | |
inet6 fe80::f817:a3ff:fe56:d628/64 scope link | |
valid_lft forever preferred_lft forever | |
7: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 | |
link/ether e6:6a:85:11:ee:55 brd ff:ff:ff:ff:ff:ff | |
inet 192.168.2.10/24 brd 192.168.2.255 scope global eth3 | |
valid_lft forever preferred_lft forever | |
inet6 fe80::e46a:85ff:fe11:ee55/64 scope link | |
valid_lft forever preferred_lft forever | |
root@am57xx-evm:~# | |
__________________________________ | |
Ethool stats before iperf test | |
__________________________________ | |
root@am57xx-evm:~# ethtool -S eth2 | |
NIC statistics: | |
txBcast: 5 | |
txMcast: 51 | |
txUcast: 0 | |
txOctets: 9382 | |
rxBcast: 5 | |
rxMcast: 12 | |
rxUcast: 0 | |
rxOctets: 3622 | |
tx64byte: 4 | |
tx65_127byte: 24 | |
tx128_255byte: 14 | |
tx256_511byte: 14 | |
tx512_1023byte: 0 | |
tx1024byte: 0 | |
rx64byte: 0 | |
rx65_127byte: 6 | |
rx128_255byte: 3 | |
rx256_511byte: 8 | |
rx512_1023byte: 0 | |
rx1024byte: 0 | |
lateColl: 0 | |
singleColl: 0 | |
multiColl: 0 | |
excessColl: 0 | |
rxMisAlignmentFrames: 0 | |
stormPrevCounterBC: 0 | |
stormPrevCounterMC: 0 | |
stormPrevCounterUC: 0 | |
macRxError: 0 | |
SFDError: 0 | |
defTx: 0 | |
macTxError: 0 | |
rxOverSizedFrames: 0 | |
rxUnderSizedFrames: 0 | |
rxCRCFrames: 0 | |
droppedPackets: 0 | |
txHWQOverFlow: 0 | |
txHWQUnderFlow: 0 | |
vlanDropped: 0 | |
multicastDropped: 9 | |
_____________________________________________________________________ | |
TCP Client | |
_____________________________________________________________________ | |
root@am57xx-evm:~# | |
root@am57xx-evm:~# iperf3 -c 192.168.1.20 --bidir | |
Connecting to host 192.168.1.20, port 5201 | |
[ 5] local 192.168.1.10 port 47614 connected to 192.168.1.20 port 5201 | |
[ 7] local 192.168.1.10 port 47624 connected to 192.168.1.20 port 5201 | |
[ ID][Role] Interval Transfer Bitrate Retr Cwnd | |
[ 5][TX-C] 0.00-1.01 sec 10.5 MBytes 87.1 Mbits/sec 19 62.2 KBytes | |
[ 7][RX-C] 0.00-1.01 sec 8.60 MBytes 71.5 Mbits/sec | |
[ 5][TX-C] 1.01-2.01 sec 10.7 MBytes 90.2 Mbits/sec 29 42.4 KBytes | |
[ 7][RX-C] 1.01-2.01 sec 8.76 MBytes 73.6 Mbits/sec | |
[ 5][TX-C] 2.01-3.02 sec 10.8 MBytes 89.2 Mbits/sec 24 33.9 KBytes | |
[ 7][RX-C] 2.01-3.02 sec 9.73 MBytes 80.3 Mbits/sec | |
[ 5][TX-C] 3.02-4.01 sec 10.4 MBytes 88.0 Mbits/sec 25 59.4 KBytes | |
[ 7][RX-C] 3.02-4.01 sec 9.47 MBytes 80.4 Mbits/sec | |
[ 5][TX-C] 4.01-5.02 sec 10.7 MBytes 88.2 Mbits/sec 24 31.1 KBytes | |
[ 7][RX-C] 4.01-5.03 sec 8.35 MBytes 69.0 Mbits/sec | |
[ 5][TX-C] 5.02-6.01 sec 10.3 MBytes 88.3 Mbits/sec 28 43.8 KBytes | |
[ 7][RX-C] 5.03-6.01 sec 8.77 MBytes 75.0 Mbits/sec | |
[ 5][TX-C] 6.01-7.00 sec 10.5 MBytes 88.6 Mbits/sec 29 46.7 KBytes | |
[ 7][RX-C] 6.01-7.00 sec 10.1 MBytes 84.6 Mbits/sec | |
[ 5][TX-C] 7.00-8.01 sec 10.6 MBytes 88.6 Mbits/sec 16 56.6 KBytes | |
[ 7][RX-C] 7.00-8.01 sec 8.72 MBytes 72.9 Mbits/sec | |
[ 5][TX-C] 8.01-9.00 sec 10.3 MBytes 87.2 Mbits/sec 41 56.6 KBytes | |
[ 7][RX-C] 8.01-9.00 sec 9.69 MBytes 81.7 Mbits/sec | |
[ 5][TX-C] 9.00-10.00 sec 10.9 MBytes 91.6 Mbits/sec 29 66.5 KBytes | |
[ 7][RX-C] 9.00-10.00 sec 8.75 MBytes 73.6 Mbits/sec | |
- - - - - - - - - - - - - - - - - - - - - - - - - | |
[ ID][Role] Interval Transfer Bitrate Retr | |
[ 5][TX-C] 0.00-10.00 sec 106 MBytes 88.7 Mbits/sec 264 sender | |
[ 5][TX-C] 0.00-10.00 sec 106 MBytes 88.5 Mbits/sec receiver | |
[ 7][RX-C] 0.00-10.00 sec 91.2 MBytes 76.5 Mbits/sec 648 sender | |
[ 7][RX-C] 0.00-10.00 sec 90.9 MBytes 76.2 Mbits/sec receiver | |
iperf Done. | |
root@am57xx-evm:~# | |
_________________________________ | |
Ethtool stats after TCP | |
__________________________________ | |
root@am57xx-evm:~# ethtool -S eth2 | |
NIC statistics: | |
txBcast: 8 | |
txMcast: 52 | |
txUcast: 119153 | |
txOctets: 120049577 | |
rxBcast: 7 | |
rxMcast: 13 | |
rxUcast: 129077 | |
rxOctets: 105794807 | |
tx64byte: 13 | |
tx65_127byte: 42455 | |
tx128_255byte: 19 | |
tx256_511byte: 22 | |
tx512_1023byte: 17 | |
tx1024byte: 76687 | |
rx64byte: 34 | |
rx65_127byte: 62920 | |
rx128_255byte: 4 | |
rx256_511byte: 10 | |
rx512_1023byte: 1 | |
rx1024byte: 66128 | |
lateColl: 0 | |
singleColl: 0 | |
multiColl: 0 | |
excessColl: 0 | |
rxMisAlignmentFrames: 0 | |
stormPrevCounterBC: 0 | |
stormPrevCounterMC: 0 | |
stormPrevCounterUC: 0 | |
macRxError: 0 | |
SFDError: 0 | |
defTx: 0 | |
macTxError: 0 | |
rxOverSizedFrames: 0 | |
rxUnderSizedFrames: 0 | |
rxCRCFrames: 0 | |
droppedPackets: 0 | |
txHWQOverFlow: 0 | |
txHWQUnderFlow: 0 | |
vlanDropped: 0 | |
multicastDropped: 9 | |
root@am57xx-evm:~# | |
_________________________________________________________________________ | |
UDP Client | |
_________________________________________________________________________ | |
root@am57xx-evm:~/scriptsH_ti# | |
root@am57xx-evm:~/scriptsH_ti# iperf3 -u -c 192.168.1.20 -b 0 --bidir | |
Connecting to host 192.168.1.20, port 5201 | |
[ 5] local 192.168.1.10 port 56555 connected to 192.168.1.20 port 5201 | |
[ 7] local 192.168.1.10 port 35699 connected to 192.168.1.20 port 5201 | |
[ ID][Role] Interval Transfer Bitrate Jitter Lost/Total Datagrams | |
[ 5][TX-C] 0.00-1.00 sec 11.4 MBytes 95.5 Mbits/sec 8250 | |
[ 7][RX-C] 0.00-1.00 sec 1.14 MBytes 9.53 Mbits/sec 2.942 ms 6737/7561 (89%) | |
[ 5][TX-C] 1.00-2.00 sec 11.4 MBytes 95.4 Mbits/sec 8230 | |
[ 7][RX-C] 1.00-2.00 sec 1.14 MBytes 9.54 Mbits/sec 2.147 ms 7327/8150 (90%) | |
[ 5][TX-C] 2.00-3.00 sec 11.4 MBytes 95.4 Mbits/sec 8240 | |
[ 7][RX-C] 2.00-3.00 sec 1.14 MBytes 9.54 Mbits/sec 1.696 ms 7325/8149 (90%) | |
[ 5][TX-C] 3.00-4.00 sec 11.4 MBytes 95.4 Mbits/sec 8240 | |
[ 7][RX-C] 3.00-4.00 sec 1.14 MBytes 9.54 Mbits/sec 2.078 ms 7524/8348 (90%) | |
[ 5][TX-C] 4.00-5.00 sec 11.4 MBytes 95.4 Mbits/sec 8240 | |
[ 7][RX-C] 4.00-5.00 sec 1.14 MBytes 9.54 Mbits/sec 1.700 ms 7325/8149 (90%) | |
[ 5][TX-C] 5.00-6.00 sec 11.4 MBytes 95.4 Mbits/sec 8240 | |
[ 7][RX-C] 5.00-6.00 sec 1.14 MBytes 9.54 Mbits/sec 2.364 ms 7523/8347 (90%) | |
[ 5][TX-C] 6.00-7.00 sec 11.4 MBytes 95.4 Mbits/sec 8240 | |
[ 7][RX-C] 6.00-7.00 sec 1.14 MBytes 9.54 Mbits/sec 1.773 ms 7327/8151 (90%) | |
[ 5][TX-C] 7.00-8.00 sec 11.4 MBytes 95.2 Mbits/sec 8220 | |
[ 7][RX-C] 7.00-8.00 sec 1.14 MBytes 9.52 Mbits/sec 2.642 ms 7546/8368 (90%) | |
[ 5][TX-C] 8.00-9.00 sec 11.4 MBytes 95.4 Mbits/sec 8230 | |
[ 7][RX-C] 8.00-9.00 sec 1.14 MBytes 9.54 Mbits/sec 2.058 ms 7325/8148 (90%) | |
[ 5][TX-C] 9.00-10.00 sec 11.4 MBytes 95.5 Mbits/sec 8240 | |
[ 7][RX-C] 9.00-10.00 sec 1.14 MBytes 9.54 Mbits/sec 1.593 ms 7310/8134 (90%) | |
- - - - - - - - - - - - - - - - - - - - - - - - - | |
[ ID][Role] Interval Transfer Bitrate Jitter Lost/Total Datagrams | |
[ 5][TX-C] 0.00-10.00 sec 114 MBytes 95.4 Mbits/sec 0.000 ms 0/82370 (0%) sender | |
[ 5][TX-C] 0.00-10.00 sec 20.3 MBytes 17.0 Mbits/sec 1.090 ms 66963/81630 (82%) receiver | |
[ 7][RX-C] 0.00-10.00 sec 114 MBytes 95.4 Mbits/sec 0.000 ms 0/82370 (0%) sender | |
[ 7][RX-C] 0.00-10.00 sec 11.4 MBytes 9.54 Mbits/sec 1.593 ms 73269/81505 (90%) receiver | |
iperf Done. | |
root@am57xx-evm:~/scriptsH_ti# | |
root@am57xx-evm:~# | |
_________________________________________ | |
Ethool stats after UDP | |
_________________________________________ | |
root@am57xx-evm:~# ethtool -S eth2 | |
NIC statistics: | |
txBcast: 2 | |
txMcast: 0 | |
txUcast: 82388 | |
txOctets: 123063376 | |
rxBcast: 2 | |
rxMcast: 0 | |
rxUcast: 82387 | |
rxOctets: 123063149 | |
tx64byte: 4 | |
tx65_127byte: 12 | |
tx128_255byte: 1 | |
tx256_511byte: 2 | |
tx512_1023byte: 1 | |
tx1024byte: 82370 | |
rx64byte: 4 | |
rx65_127byte: 12 | |
rx128_255byte: 0 | |
rx256_511byte: 2 | |
rx512_1023byte: 1 | |
rx1024byte: 82370 | |
lateColl: 0 | |
singleColl: 0 | |
multiColl: 0 | |
excessColl: 0 | |
rxMisAlignmentFrames: 0 | |
stormPrevCounterBC: 0 | |
stormPrevCounterMC: 0 | |
stormPrevCounterUC: 0 | |
macRxError: 0 | |
SFDError: 0 | |
defTx: 0 | |
macTxError: 0 | |
rxOverSizedFrames: 0 | |
rxUnderSizedFrames: 0 | |
rxCRCFrames: 0 | |
droppedPackets: 0 | |
txHWQOverFlow: 0 | |
txHWQUnderFlow: 0 | |
vlanDropped: 0 | |
multicastDropped: 9 | |
______________________________________________________________________________ | |
TCP Server: | |
______________________________________________________________________________ | |
root@am57xx-evm:~# iperf3 -s | |
----------------------------------------------------------- | |
Server listening on 5201 (test #1) | |
----------------------------------------------------------- | |
Accepted connection from 192.168.1.10, port 47604 | |
[ 5] local 192.168.1.20 port 5201 connected to 192.168.1.10 port 47614 | |
[ 8] local 192.168.1.20 port 5201 connected to 192.168.1.10 port 47624 | |
[ ID][Role] Interval Transfer Bitrate Retr Cwnd | |
[ 5][RX-S] 0.00-1.00 sec 10.4 MBytes 87.0 Mbits/sec | |
[ 8][TX-S] 0.00-1.00 sec 8.90 MBytes 74.6 Mbits/sec 70 62.2 KBytes | |
[ 5][RX-S] 1.00-2.00 sec 10.6 MBytes 89.2 Mbits/sec | |
[ 8][TX-S] 1.00-2.00 sec 9.20 MBytes 77.2 Mbits/sec 68 58.0 KBytes | |
[ 5][RX-S] 2.00-3.00 sec 10.5 MBytes 88.4 Mbits/sec | |
[ 8][TX-S] 2.00-3.00 sec 9.29 MBytes 78.0 Mbits/sec 71 46.7 KBytes | |
[ 5][RX-S] 3.00-4.00 sec 10.5 MBytes 88.2 Mbits/sec | |
[ 8][TX-S] 3.00-4.00 sec 9.34 MBytes 78.3 Mbits/sec 45 19.8 KBytes | |
[ 5][RX-S] 4.00-5.00 sec 10.5 MBytes 88.4 Mbits/sec | |
[ 8][TX-S] 4.00-5.00 sec 8.78 MBytes 73.6 Mbits/sec 39 52.3 KBytes | |
[ 5][RX-S] 5.00-6.00 sec 10.7 MBytes 89.3 Mbits/sec | |
[ 8][TX-S] 5.00-6.00 sec 9.08 MBytes 76.2 Mbits/sec 54 59.4 KBytes | |
[ 5][RX-S] 6.00-7.00 sec 10.4 MBytes 87.1 Mbits/sec | |
[ 8][TX-S] 6.00-7.00 sec 9.35 MBytes 78.5 Mbits/sec 57 19.8 KBytes | |
[ 5][RX-S] 7.00-8.00 sec 10.7 MBytes 89.4 Mbits/sec | |
[ 8][TX-S] 7.00-8.00 sec 9.11 MBytes 76.4 Mbits/sec 75 45.2 KBytes | |
[ 5][RX-S] 8.00-9.00 sec 10.5 MBytes 88.1 Mbits/sec | |
[ 8][TX-S] 8.00-9.00 sec 9.39 MBytes 78.7 Mbits/sec 70 49.5 KBytes | |
[ 5][RX-S] 9.00-10.00 sec 10.7 MBytes 89.7 Mbits/sec | |
[ 8][TX-S] 9.00-10.00 sec 8.71 MBytes 73.2 Mbits/sec 98 25.5 KBytes | |
[ 5][RX-S] 10.00-10.00 sec 21.2 KBytes 124 Mbits/sec | |
[ 8][TX-S] 10.00-10.00 sec 0.00 Bytes 0.00 bits/sec 1 17.0 KBytes | |
- - - - - - - - - - - - - - - - - - - - - - - - - | |
[ ID][Role] Interval Transfer Bitrate Retr | |
[ 5][RX-S] 0.00-10.00 sec 106 MBytes 88.5 Mbits/sec receiver | |
[ 8][TX-S] 0.00-10.00 sec 91.2 MBytes 76.5 Mbits/sec 648 sender | |
----------------------------------------------------------- | |
______________________________________________________________________________ | |
UDP Server: | |
______________________________________________________________________________ | |
Server listening on 5201 (test #1) | |
----------------------------------------------------------- | |
Accepted connection from 192.168.1.10, port 34206 | |
[ 5] local 192.168.1.20 port 5201 connected to 192.168.1.10 port 56555 | |
[ 6] local 192.168.1.20 port 5201 connected to 192.168.1.10 port 35699 | |
[ ID][Role] Interval Transfer Bitrate Jitter Lost/Total Datagrams | |
[ 5][RX-S] 0.00-1.00 sec 2.10 MBytes 17.6 Mbits/sec 1.488 ms 5951/7469 (80%) | |
[ 6][TX-S] 0.00-1.00 sec 11.4 MBytes 95.8 Mbits/sec 8280 | |
[ 5][RX-S] 1.00-2.00 sec 2.14 MBytes 17.9 Mbits/sec 2.668 ms 6866/8417 (82%) | |
[ 6][TX-S] 1.00-2.00 sec 11.3 MBytes 95.0 Mbits/sec 8210 | |
[ 5][RX-S] 2.00-3.00 sec 2.11 MBytes 17.7 Mbits/sec 0.989 ms 7093/8620 (82%) | |
[ 6][TX-S] 2.00-3.00 sec 11.4 MBytes 95.4 Mbits/sec 8240 | |
[ 5][RX-S] 3.00-4.01 sec 2.26 MBytes 18.9 Mbits/sec 0.619 ms 6415/8050 (80%) | |
[ 6][TX-S] 3.00-4.01 sec 11.4 MBytes 95.4 Mbits/sec 8260 | |
[ 5][RX-S] 4.01-5.00 sec 2.20 MBytes 18.5 Mbits/sec 1.227 ms 6820/8410 (81%) | |
[ 6][TX-S] 4.01-5.00 sec 11.3 MBytes 95.4 Mbits/sec 8210 | |
[ 5][RX-S] 5.00-6.00 sec 2.23 MBytes 18.7 Mbits/sec 1.086 ms 6337/7953 (80%) | |
[ 6][TX-S] 5.00-6.00 sec 11.4 MBytes 95.4 Mbits/sec 8240 | |
[ 5][RX-S] 6.00-7.00 sec 1.59 MBytes 13.3 Mbits/sec 1.618 ms 6756/7907 (85%) | |
[ 6][TX-S] 6.00-7.00 sec 11.4 MBytes 95.5 Mbits/sec 8240 | |
[ 5][RX-S] 7.00-8.00 sec 1.42 MBytes 11.9 Mbits/sec 1.581 ms 7573/8598 (88%) | |
[ 6][TX-S] 7.00-8.00 sec 11.4 MBytes 95.5 Mbits/sec 8240 | |
[ 5][RX-S] 8.00-9.00 sec 2.41 MBytes 20.2 Mbits/sec 1.613 ms 6553/8298 (79%) | |
[ 6][TX-S] 8.00-9.00 sec 11.4 MBytes 95.4 Mbits/sec 8240 | |
[ 5][RX-S] 9.00-10.00 sec 1.81 MBytes 15.2 Mbits/sec 1.090 ms 6599/7908 (83%) | |
[ 6][TX-S] 9.00-10.00 sec 11.3 MBytes 95.3 Mbits/sec 8210 | |
- - - - - - - - - - - - - - - - - - - - - - - - - | |
[ ID][Role] Interval Transfer Bitrate Jitter Lost/Total Datagrams | |
[ 5][RX-S] 0.00-10.00 sec 20.3 MBytes 17.0 Mbits/sec 1.090 ms 66963/81630 (82%) receiver | |
[ 6][TX-S] 0.00-10.00 sec 114 MBytes 95.4 Mbits/sec 0.000 ms 0/82370 (0%) sender | |
----------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment