[Bloat] [codel] some numbers on dual 10Gb links

Eric Dumazet eric.dumazet at gmail.com
Wed May 9 00:32:04 PDT 2012


Some results on my setup (2 fibers at 10Gb), but my remote machine
is a slow quadcore (Q6600). I am waiting net-next compiles on this one
so that I can reverse the test (sender on the slow machine)

10 netperf on one fiber, 10 netperf on the second one.


TC Setup :
EST="est 1sec 4sec"

DEV=eth7
ethtool -K $DEV tso off gso off
tc qdisc del dev $DEV root 2>/dev/null

tc qdisc add dev $DEV root handle 1: $EST htb default 1
tc class add dev $DEV parent 1: classid 1:1 $EST \
	htb rate 4000Mbit mtu 1500 quantum 1514 
tc qdisc add dev $DEV parent 1:1 handle 10: $EST \
	codel ecn target 500us interval 10ms limit 2000

DEV=eth8
ethtool -K $DEV tso off gso off
tc qdisc del dev $DEV root 2>/dev/null

tc qdisc add dev $DEV root handle 1: $EST htb default 1
tc class add dev $DEV parent 1: classid 1:1 $EST \
	htb rate 4000Mbit mtu 1500 quantum 1514 
tc qdisc add dev $DEV parent 1:1 handle 10: $EST \
	codel ecn target 500us interval 10ms limit 2000


# tc -s -d qdisc
qdisc htb 1: dev eth7 root refcnt 33 r2q 10 default 1 direct_packets_stat 0 ver 3.17
 Sent 279883414602 bytes 184874085 pkt (dropped 0, overlimits 70072116 requeues 20193) 
 rate 3282Mbit 271033pps backlog 0b 368p requeues 20193 
qdisc codel 10: dev eth7 parent 1:1 ecn limit 2000p minbytes 1514 target 499us interval 10.0ms 
 Sent 279882995224 bytes 184873808 pkt (dropped 0, overlimits 0 requeues 0) 
 rate 3282Mbit 271033pps backlog 557152b 368p requeues 0 
  count 3 delay 1.5ms ecn_mark 15130
  drop_overlimit 0 states 184873808 : 39403313 9921 5209

qdisc htb 1: dev eth8 root refcnt 33 r2q 10 default 1 direct_packets_stat 0 ver 3.17
 Sent 279835644380 bytes 184841333 pkt (dropped 0, overlimits 70249151 requeues 20188) 
 rate 3290Mbit 271687pps backlog 0b 266p requeues 20188 
qdisc codel 10: dev eth8 parent 1:1 ecn limit 2000p minbytes 1514 target 499us interval 10.0ms 
 Sent 279835421822 bytes 184841186 pkt (dropped 0, overlimits 0 requeues 0) 
 rate 3290Mbit 271687pps backlog 405752b 268p requeues 0 
  count 3 delay 1.0ms ecn_mark 15068
  drop_overlimit 0 states 184841186 : 39470075 9793 5275

# ping 192.168.99.2
PING 192.168.99.2 (192.168.99.2) 56(84) bytes of data.
64 bytes from 192.168.99.2: icmp_req=1 ttl=64 time=0.072 ms
64 bytes from 192.168.99.2: icmp_req=2 ttl=64 time=0.087 ms
64 bytes from 192.168.99.2: icmp_req=3 ttl=64 time=0.338 ms
64 bytes from 192.168.99.2: icmp_req=4 ttl=64 time=0.810 ms
64 bytes from 192.168.99.2: icmp_req=5 ttl=64 time=0.827 ms
64 bytes from 192.168.99.2: icmp_req=6 ttl=64 time=1.22 ms
64 bytes from 192.168.99.2: icmp_req=7 ttl=64 time=0.840 ms
64 bytes from 192.168.99.2: icmp_req=8 ttl=64 time=0.898 ms
64 bytes from 192.168.99.2: icmp_req=9 ttl=64 time=1.66 ms
64 bytes from 192.168.99.2: icmp_req=10 ttl=64 time=0.886 ms
64 bytes from 192.168.99.2: icmp_req=11 ttl=64 time=0.571 ms
64 bytes from 192.168.99.2: icmp_req=12 ttl=64 time=0.422 ms
64 bytes from 192.168.99.2: icmp_req=13 ttl=64 time=0.259 ms
64 bytes from 192.168.99.2: icmp_req=14 ttl=64 time=1.47 ms
64 bytes from 192.168.99.2: icmp_req=15 ttl=64 time=1.32 ms
64 bytes from 192.168.99.2: icmp_req=16 ttl=64 time=0.765 ms
64 bytes from 192.168.99.2: icmp_req=17 ttl=64 time=1.23 ms
64 bytes from 192.168.99.2: icmp_req=18 ttl=64 time=1.36 ms
64 bytes from 192.168.99.2: icmp_req=19 ttl=64 time=0.151 ms
64 bytes from 192.168.99.2: icmp_req=20 ttl=64 time=2.14 ms
64 bytes from 192.168.99.2: icmp_req=21 ttl=64 time=1.12 ms
^C
--- 192.168.99.2 ping statistics ---
21 packets transmitted, 21 received, 0% packet loss, time 20008ms
rtt min/avg/max/mdev = 0.072/0.879/2.144/0.540 ms





More information about the Bloat mailing list