UDP summing broken: including wrong sum time and value for udp -d test
A means to measure network responsiveness and throughput
Brought to you by:
rjmcmahon
./iperf -v
iperf version 2.2.0-rc (9 April 2024) pthreads
./iperf -s -i1 -u
./iperf -c 192.168.64.253 -i 1 -b 10M -d -u
------------------------------------------------------------
Client connecting to 192.168.64.253, UDP port 5001
Sending 1470 byte datagrams, IPG target: 0.00 us (kalman adjust)
UDP buffer size: 208 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Server listening on UDP port 5001
UDP buffer size: 208 KByte (default)
------------------------------------------------------------
[ 1] local 192.168.64.250 port 40068 connected with 192.168.64.253 port 5001
[ 2] local 192.168.64.250 port 5001 connected with 192.168.64.253 port 47284
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 2] 0.00-1.00 sec 1.25 MBytes 10.5 Mbits/sec 0.060 ms 0/892 (0%)
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-1.00 sec 1.25 MBytes 10.5 Mbits/sec
[SUM] 0.00-1.00 sec 2.50 MBytes 21.0 Mbits/sec
[ 2] 1.00-2.00 sec 1.25 MBytes 10.5 Mbits/sec 0.070 ms 0/892 (0%)
[SUM] 1.00-2.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 1] 1.00-2.00 sec 1.25 MBytes 10.5 Mbits/sec
[SUM] 2.00-3.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 2] 2.00-3.00 sec 1.25 MBytes 10.5 Mbits/sec 0.045 ms 0/892 (0%)
[SUM] 3.00-4.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 1] 2.00-3.00 sec 1.25 MBytes 10.5 Mbits/sec
[SUM] 4.00-5.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 2] 3.00-4.00 sec 1.25 MBytes 10.5 Mbits/sec 0.060 ms 0/891 (0%)
[SUM] 5.00-6.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 1] 3.00-4.00 sec 1.25 MBytes 10.5 Mbits/sec
[SUM] 6.00-7.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 2] 4.00-5.00 sec 1.25 MBytes 10.5 Mbits/sec 0.046 ms 0/892 (0%)
[SUM] 7.00-8.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 1] 4.00-5.00 sec 1.25 MBytes 10.5 Mbits/sec
[SUM] 8.00-9.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 2] 5.00-6.00 sec 1.25 MBytes 10.5 Mbits/sec 0.034 ms 0/892 (0%)
[SUM] 9.00-10.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 1] 5.00-6.00 sec 1.25 MBytes 10.5 Mbits/sec
[SUM] 10.00-11.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 2] 6.00-7.00 sec 1.25 MBytes 10.5 Mbits/sec 0.019 ms 0/891 (0%)
[SUM] 11.00-12.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 1] 6.00-7.00 sec 1.25 MBytes 10.5 Mbits/sec
[SUM] 12.00-13.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 2] 7.00-8.00 sec 1.25 MBytes 10.5 Mbits/sec 0.027 ms 0/892 (0%)
[SUM] 13.00-14.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 1] 7.00-8.00 sec 1.25 MBytes 10.5 Mbits/sec
[SUM] 14.00-15.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 1] 8.00-9.00 sec 1.25 MBytes 10.5 Mbits/sec
[SUM] 15.00-16.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 2] 8.00-9.00 sec 1.25 MBytes 10.5 Mbits/sec 0.079 ms 0/891 (0%)
[SUM] 16.00-17.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 2] 9.00-10.00 sec 1.25 MBytes 10.5 Mbits/sec 0.028 ms 0/892 (0%)
[SUM] 17.00-18.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 1] 9.00-10.00 sec 1.25 MBytes 10.5 Mbits/sec
[SUM] 18.00-19.00 sec 1.25 MBytes 10.5 Mbits/sec
[ 2] 0.00-10.00 sec 12.5 MBytes 10.5 Mbits/sec 0.044 ms 0/8919 (0%)
[ 1] 0.00-10.00 sec 12.5 MBytes 10.5 Mbits/sec
[ 1] Sent 8921 datagrams
[SUM] 0.00-10.00 sec 25.0 MBytes 21.0 Mbits/sec
[SUM-2] Sent 17840 datagrams
[ 1] Server Report:
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 1] 0.00-10.00 sec 12.5 MBytes 10.5 Mbits/sec 0.000 ms 0/8920 (0%)
[ 4] WARNING: ack of last datagram failed.
And the question is whether it should display SUM after each interval at all or only at the end of test?
Fix is here and also in master. Will be part of the 2.1.1 release to be released within a few weeks.
seems ok after fix