~~~
[root@ctrl1fc35 iperf-2.1.n]# iperf -c 192.168.1.232%enp2s0 -B 192.168.1.15 -i 1 -u -b 10g -e
Client connecting to 192.168.1.232, UDP port 5001 with pid 172602 via enp2s0 (1 flows)
TOS set to 0x0 (Nagle on)
Sending 1470 byte datagrams, IPG target: 1.18 us (kalman adjust)
UDP buffer size: 208 KByte (default)
[ 1] local 192.168.1.15%enp2s0 port 37523 connected with 192.168.1.232 port 5001 (sock=3) on 2023-04-24 11:12:19.181 (PDT)
[ ID] Interval Transfer Bandwidth Write/Err/Timeo PPS
[ 1] 0.00-1.00 sec 825 MBytes 6.92 Gbits/sec 588514/6300/0 588515 pps
[ 1] 1.00-2.00 sec 778 MBytes 6.53 Gbits/sec 555012/5946/0 555038 pps
[ 1] 2.00-3.00 sec 737 MBytes 6.18 Gbits/sec 525882/5637/0 525867 pps
[ 1] 3.00-4.00 sec 750 MBytes 6.29 Gbits/sec 534643/5726/0 534634 pps
[ 1] 4.00-5.00 sec 772 MBytes 6.48 Gbits/sec 550792/5901/0 550792 pps
[ 1] 5.00-6.00 sec 754 MBytes 6.33 Gbits/sec 538086/5767/0 539450 pps
[ 1] 6.00-7.00 sec 719 MBytes 6.03 Gbits/sec 512616/5494/0 511324 pps
[ 1] 7.00-8.00 sec 741 MBytes 6.22 Gbits/sec 528557/5663/0 528556 pps
[ 1] 8.00-9.00 sec 735 MBytes 6.17 Gbits/sec 524333/5623/0 524333 pps
[ 1] 9.00-10.00 sec 752 MBytes 6.31 Gbits/sec 536487/5750/0 537263 pps
[ 1] 0.00-10.00 sec 7.39 GBytes 6.34 Gbits/sec 5394924/57807/0 539415 pps
[ 1] Sent 5394926 datagrams
[ 1] Server Report:
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Latency avg/min/max/stdev PPS Rx/inP Read/Timeo/Trunc NetPwr
[ 1] 0.00-10.04 sec 1.17 GBytes 998 Mbits/sec 0.021 ms 4542647/5394926 (84%) 34.581/3.123/48.419/0.042 ms 537134 pps 537134/0(23) pkts 0/0/0 3607~~~
Having the same issue.
Last edit: Diego Soares 2023-08-02
The server side with UDP doesn't do writes. It only does reads. The client side output has the write counters.