Menu ▾ ▴

#295 Sum-only with final report needs to be output when P = 1

1.0
pending
None
2024-01-21
2024-01-21
No

Final sum report with --sum-only and -P1 needs to be outputted at end of traffic

Hi Bob,
This is the output I get:
[SUM-cnt] Interval        Transfer    Bandwidth       Write/Err  Rtry
[SUM-1] 0.00-1.00 sec  11.5 MBytes  96.5 Mbits/sec  92/0        20
[SUM-1] 1.00-2.00 sec  11.2 MBytes  94.4 Mbits/sec  90/0         4
[SUM-1] 2.00-3.00 sec  11.2 MBytes  94.4 Mbits/sec  90/0         4
[SUM-1] 3.00-4.00 sec  11.4 MBytes  95.4 Mbits/sec  91/0         4
[SUM-1] 4.00-5.00 sec  11.2 MBytes  94.4 Mbits/sec  90/0         4

I was expecting this line, which is missing:
[SUM-1] 0.00-5.00 sec  11.3 MBytes  95.0 Mbits/sec 

It is missing when -P 1 is used.
It works fine for more than one flow i.e. parallel > 1.

Thanks,
Ram

Discussion

  • Robert McMahon

    Robert McMahon - 2024-01-21

    fixed as of January 21, 2024. Commit is here

    [rjmcmahon@fedora iperf2-code]$ src/iperf -c 192.168.1.35 -i 1 -e --sum-only -P 1 -t 3
    ------------------------------------------------------------
    Client connecting to 192.168.1.35, TCP port 5001 with pid 633475 (1/0 flows/load)
    Write buffer size: 131072 Byte
    TCP congestion control using cubic
    TOS set to 0x0 (Nagle on)
    TCP window size: 85.0 KByte (default)
    ------------------------------------------------------------
    [SUM-cnt] Interval        Transfer    Bandwidth       Write/Err  Rtry
    [SUM-1] 0.00-1.00 sec   116 MBytes   972 Mbits/sec  927/0        69
    [SUM-1] 1.00-2.00 sec   112 MBytes   942 Mbits/sec  898/0         0
    [SUM-1] 2.00-3.00 sec   112 MBytes   940 Mbits/sec  896/0         0
    [SUM-1] 0.00-3.01 sec   340 MBytes   949 Mbits/sec  2722/0        69
    
    
    root@rpi5-35:/usr/local/src/iperf2-code# iperf -s -i 1 -e --sum-only
    ------------------------------------------------------------
    Server listening on TCP port 5001 with pid 130115
    Read buffer size:  128 KByte (Dist bin width=16.0 KByte)
    TCP congestion control default cubic
    TCP window size:  128 KByte (default)
    ------------------------------------------------------------
    [SUM-cnt] Interval        Transfer    Bandwidth       Reads=Dist
    [SUM-1] 0.00-1.00 sec   112 MBytes   941 Mbits/sec  21665=21632:3:1:10:2:0:1:16
    [SUM-1] 1.00-2.00 sec   112 MBytes   941 Mbits/sec  22075=22072:3:0:0:0:0:0:0
    [SUM-1] 2.00-3.00 sec   112 MBytes   942 Mbits/sec  22045=22043:2:0:0:0:0:0:0
    [SUM-1] 0.00-3.03 sec   340 MBytes   941 Mbits/sec  132154=66330:9:1:10:2:0:1:16
    
     
  • Robert McMahon

    Robert McMahon - 2024-01-21
    • status: accepted --> pending
     

Log in to post a comment.