The L4S team would like a more human friendly way of dealing with both dscp and ecn. Add a --dscp option as well as dscp and ecn outputs.
Human output diff here dscp option support diff here
[rjmcmahon@fedora iperf2-code]$ src/iperf -c 192.168.1.35 -i 1 -e --tos 181 IP_TOS setting to 0xb5 failed got 0xb4 failed ------------------------------------------------------------ Client connecting to 192.168.1.35, TCP port 5001 with pid 193372 (1/0 flows/load) Write buffer size: 131072 Byte TCP congestion control using cubic TOS set to 0xb5 (dscp=45,ecn=1) (warn ecn bits set) (Nagle on) TCP window size: 85.0 KByte (default) ------------------------------------------------------------ [ 1] local 192.168.1.103%enp4s0 port 55076 connected with 192.168.1.35 port 5001 (sock=3) (tos tx=0xb5,dscp=45,ecn=1) (icwnd/mss/irtt=14/1448/171) (ct=0.39 ms) on 2024-02-29 12:47:15.335 (PST) [ ID] Interval Transfer Bandwidth Write/Err Rtry Cwnd/RTT(var) NetPwr [ 1] 0.00-1.00 sec 115 MBytes 966 Mbits/sec 921/0 71 1050K/8833(96) us 13667 [ 1] 1.00-2.00 sec 112 MBytes 941 Mbits/sec 897/0 0 1129K/9593(80) us 12256 ^C[ 1] 0.00-2.07 sec 232 MBytes 936 Mbits/sec 1852/0 71 1135K/9700(155) us 12068 [rjmcmahon@fedora iperf2-code]$ ^C [rjmcmahon@fedora iperf2-code]$ src/iperf -c 192.168.1.35 -i 1 -e --dscp 45 ------------------------------------------------------------ Client connecting to 192.168.1.35, TCP port 5001 with pid 193383 (1/0 flows/load) Write buffer size: 131072 Byte TCP congestion control using cubic TOS set to 0xb4 (dscp=45,ecn=0) (Nagle on) TCP window size: 85.0 KByte (default) ------------------------------------------------------------ [ 1] local 192.168.1.103%enp4s0 port 39926 connected with 192.168.1.35 port 5001 (sock=3) (tos tx=0xb4,dscp=45,ecn=0) (icwnd/mss/irtt=14/1448/163) (ct=0.21 ms) on 2024-02-29 12:47:32.143 (PST) [ ID] Interval Transfer Bandwidth Write/Err Rtry Cwnd/RTT(var) NetPwr [ 1] 0.00-1.00 sec 116 MBytes 972 Mbits/sec 927/0 71 1534K/13101(103) us 9274 [ 1] 1.00-2.00 sec 112 MBytes 941 Mbits/sec 897/0 0 1675K/14359(120) us 8188 ^C[ 1] 0.00-2.23 sec 250 MBytes 939 Mbits/sec 2000/0 71 1702K/14624(116) us 8022
Log in to post a comment.
Human output diff here
dscp option support diff here
Last edit: Robert McMahon 2024-02-29