Resolve imbalance of --working-load with -P 2
A means to measure network responsiveness and throughput
Brought to you by:
rjmcmahon
[root@ctrl1fc35 ~]# iperf -c 192.168.1.231 -e --tcp-cca cubic --working-load=up,1 --working-load-cca cubic -t 5
------------------------------------------------------------
Client connecting to 192.168.1.231, TCP port 5001 with pid 940636 (1/1 flows/load)
Write buffer size: 131072 Byte
TCP congestion control set to cubic using cubic
TCP working load congestion control set to cubic
TOS set to 0x0 (Nagle on)
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 2] local 192.168.1.15%enp2s0 port 43056 connected with 192.168.1.231 port 5001 (prefetch=16384) (sock=3/cubic) (icwnd/mss/irtt=14/1448/6040) (ct=6.08 ms) on 2023-11-01 15:11:12.120 (PDT)
[ 1] local 192.168.1.15%enp2s0 port 43058 connected with 192.168.1.231 port 5001 (sock=4/cubic) (icwnd/mss/irtt=14/1448/6031) (ct=6.07 ms) on 2023-11-01 15:11:12.120 (PDT)
[ ID] Interval Transfer Bandwidth Write/Err Rtry Cwnd/RTT(var) NetPwr
[ 2] 0.00-5.04 sec 133 MBytes 221 Mbits/sec 1061/0 1 2464K/32482(2615) us 849
[ 1] 0.00-5.04 sec 391 MBytes 650 Mbits/sec 3128/0 489 2777K/27133(1796) us 2996
[root@ctrl1fc35 ~]# iperf -c 192.168.1.231 -e --tcp-cca cubic -P 2 -t 5
------------------------------------------------------------
Client connecting to 192.168.1.231, TCP port 5001 with pid 940654 (2/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)
------------------------------------------------------------
[ 2] local 192.168.1.15%enp2s0 port 43060 connected with 192.168.1.231 port 5001 (sock=3/cubic) (icwnd/mss/irtt=14/1448/5835) (ct=5.90 ms) on 2023-11-01 15:20:24.286 (PDT)
[ 1] local 192.168.1.15%enp2s0 port 43062 connected with 192.168.1.231 port 5001 (sock=4/cubic) (icwnd/mss/irtt=14/1448/5801) (ct=5.87 ms) on 2023-11-01 15:20:24.286 (PDT)
[ ID] Interval Transfer Bandwidth Write/Err Rtry Cwnd/RTT(var) NetPwr
[ 1] 0.00-5.05 sec 284 MBytes 472 Mbits/sec 2272/0 944 1883K/30089(1121) us 1959
[ 2] 0.00-5.07 sec 274 MBytes 453 Mbits/sec 2189/0 998 1812K/26625(1658) us 2127
[SUM] 0.00-5.02 sec 558 MBytes 933 Mbits/sec 4461/0 1942
[root@ctrl1fc35 ~]# iperf -c 192.168.1.231 -e --tcp-cca cubic --working-load=down,1 --working-load-cca cubic -t 5
------------------------------------------------------------
Client connecting to 192.168.1.231, TCP port 5001 with pid 940659 (1/1 flows/load)
Write buffer size: 131072 Byte
TCP congestion control set to cubic using cubic
TCP working load congestion control set to cubic
TOS set to 0x0 (Nagle on)
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 2] local 192.168.1.15%enp2s0 port 43066 connected with 192.168.1.231 port 5001 (prefetch=16384) (reverse) (sock=4/cubic) (icwnd/mss/irtt=14/1448/4960) (ct=5.05 ms) on 2023-11-01 15:21:53.703 (PDT)
[ 1] local 192.168.1.15%enp2s0 port 43064 connected with 192.168.1.231 port 5001 (sock=3/cubic) (icwnd/mss/irtt=14/1448/4998) (ct=5.06 ms) on 2023-11-01 15:21:53.703 (PDT)
[ ID] Interval Transfer Bandwidth Reads=Dist
[ *2] 0.00-5.01 sec 255 MBytes 426 Mbits/sec 15301=10547:2056:1076:1042:213:105:48:214
[ ID] Interval Transfer Bandwidth Write/Err Rtry Cwnd/RTT(var) NetPwr
[ 1] 0.00-5.04 sec 285 MBytes 474 Mbits/sec 2280/0 0 3399K/40281(3781) us 1471
Diff: