Menu ▾ ▴

#289 Sum only bug

1.0
pending
None
2024-01-07
2023-12-17
No

Sum only seems to have a bug

Hi Bob,
I hope the highlighted numbers below are just a presentation issue.
It occurs once in a while.

Thanks,
Ram


iperf -s -e --trip-times --realtime -i 1 -P 10 --sum-only  -Z cubic  -p 5002

iperf -c 192.168.10.20 -e --trip-times --realtime -i 1 -P 10 --sum-only  -Z cubic  -p 5002 -t 10


------------------------------------------------------------
Client connecting to 192.168.10.20, TCP port 5002 with pid 8266 (10/0 flows/load)
Write buffer size: 131072 Byte
TCP congestion control set to cubic using cubic
TOS set to 0x0 (Nagle on)
TCP window size: 85.0 KByte (default)
Event based writes (pending queue watermark at 16384 bytes)
------------------------------------------------------------
[SUM-cnt] Interval        Transfer    Bandwidth       Write/Err  Rtry
[SUM-10] 0.00-1.00 sec  92.5 MBytes   776 Mbits/sec  740/0       161
[SUM-10] 1.00-2.00 sec  90.0 MBytes   755 Mbits/sec  720/0        40
[SUM-10] 2.00-3.00 sec  90.2 MBytes   757 Mbits/sec  722/0        43
[SUM-10] 3.00-4.00 sec  90.1 MBytes   756 Mbits/sec  721/0        40
[SUM-10] 4.00-5.00 sec  90.1 MBytes   756 Mbits/sec  721/0        41
[SUM-10] 5.00-6.00 sec  90.2 MBytes   757 Mbits/sec  722/0        41
[SUM-10] 6.00-7.00 sec  90.2 MBytes   757 Mbits/sec  722/0        40
[SUM-10] 7.00-8.00 sec  90.1 MBytes   756 Mbits/sec  721/0        42
[SUM-10] 8.00-9.00 sec  90.5 MBytes   759 Mbits/sec  724/0        40
[SUM-14] 9.00-10.00 sec  90.4 MBytes   758 Mbits/sec  723/0        40
[SUM-6] 0.00-10.01 sec   905 MBytes   758 Mbits/sec  7242/0       528

Discussion

  • Robert McMahon

    Robert McMahon - 2023-12-18

    Need to separate interval thread cnt from the final thread counter. Code commit is here.

     
  • Robert McMahon

    Robert McMahon - 2023-12-18
    • status: accepted --> pending
     
  • Robert McMahon

    Robert McMahon - 2024-01-07

    The other fixes didn't work. This one delays a dequeue if it's a final so the other intervals can go ahead of them. Commit is here. Needs testing.

     
  • Robert McMahon

    Robert McMahon - 2024-01-07

    Still got some issues

    [rjmcmahon@fedora iperf2-code]$ src/iperf -c 192.168.1.35 -i 1 -e -P 16 --trip-times --sum-only --tcp-tx-delay 30
    ------------------------------------------------------------
    Client connecting to 192.168.1.35, TCP port 5001 with pid 333230 (16/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)
    Event based writes (pending queue watermark at 16384 bytes)
    ------------------------------------------------------------
    [SUM-cnt] Interval        Transfer    Bandwidth       Write/Err  Rtry
    [SUM-16] 0.00-1.00 sec   115 MBytes   966 Mbits/sec  921/0       270
    [SUM-16] 1.00-2.00 sec   112 MBytes   943 Mbits/sec  899/0        82
    [SUM-16] 2.00-3.00 sec   112 MBytes   938 Mbits/sec  895/0       104
    [SUM-16] 3.00-4.00 sec   113 MBytes   945 Mbits/sec  901/0       151
    [SUM-16] 4.00-5.00 sec   112 MBytes   938 Mbits/sec  895/0        84
    [SUM-16] 5.00-6.00 sec   112 MBytes   941 Mbits/sec  897/0        85
    [SUM-16] 6.00-7.00 sec   112 MBytes   942 Mbits/sec  898/0        86
    [SUM-16] 7.00-8.00 sec   112 MBytes   942 Mbits/sec  898/0       150
    [SUM-16] 8.00-9.00 sec   112 MBytes   941 Mbits/sec  897/0       105
    [SUM-32] 9.00-10.03 sec   114 MBytes   926 Mbits/sec  912/0       168
    [SUM-0] 0.00-10.03 sec  1.10 GBytes   942 Mbits/sec  9013/0      1285
    
     

Log in to post a comment.