[Cake] cake flenter results round 2

Pete Heist peteheist at gmail.com
Wed Nov 29 07:07:32 EST 2017


> On Nov 29, 2017, at 9:19 AM, Pete Heist <peteheist at gmail.com> wrote:
> 
>> On Nov 29, 2017, at 4:42 AM, Georgios Amanakis <gamanakis at gmail.com> wrote:
>> 
>> @Pete I think you need to start netserver on the client first (in your case, you are running flent on the server): "ip netns exec client netserver"
> 
> Thanks. I think I’m going to have more success testing at much lower rates than you on my hardware. At 100/1000 the tcp totals end up at around 84/202.
> 
> It will be interesting to see if I can get a whole flenter run to work, but for sanity I’ll start at something like the setup in qdisc_vdsl.sh…

Flenter is running now. I had to change the setup to add another box because flenter was written with p2p connections in mind with routers (middle boxes) at each end of the link and symmetric bandwidths, at least in the roles I’m using. So my topology is now (matching flenter roles):

cli - crt - delay - srt - srv

I’m still figuring out how this will work. I only use netem on the delay box, with rate 20mbit delay 10ms on both delay.l and delay.r:

root at apu2a:/home/sysadmin/src/veth# ip netns exec delay tc qdisc
qdisc noqueue 0: dev lo root refcnt 2 
qdisc netem 1: dev delay.r root refcnt 2 limit 1000 delay 10.0ms rate 20Mbit
qdisc netem 1: dev delay.l root refcnt 2 limit 1000 delay 10.0ms rate 20Mbit

Naturally, it will become the bottleneck link. Only the tests with rate limiting below that will be useful. But while rtt is as I expect...

root at apu2a:/home/sysadmin/src/veth# ip netns exec cli ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=61 time=20.3 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=61 time=20.2 ms

bandwidth is not, so it looks like I’d have to use tbf or htb if I want hard limits:

root at apu2a:/home/sysadmin/src/veth# ip netns exec cli iperf3 -c 10.10.0.1
Connecting to host 10.10.0.1, port 5201
[  4] local 10.10.3.100 port 51222 connected to 10.10.0.1 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  1.59 MBytes  13.4 Mbits/sec    1   45.2 KBytes       
[  4]   1.00-2.00   sec  3.04 MBytes  25.5 Mbits/sec    0   80.6 KBytes       
[  4]   2.00-3.00   sec  4.47 MBytes  37.5 Mbits/sec    0    115 KBytes       
[  4]   3.00-4.00   sec  5.65 MBytes  47.4 Mbits/sec    0    147 KBytes       
[  4]   4.00-5.00   sec  6.84 MBytes  57.3 Mbits/sec    0    178 KBytes       
[  4]   5.00-6.00   sec  7.95 MBytes  66.7 Mbits/sec    0    209 KBytes       
[  4]   6.00-7.00   sec  9.01 MBytes  75.6 Mbits/sec    0    240 KBytes       
[  4]   7.00-8.00   sec  10.3 MBytes  86.0 Mbits/sec    0    296 KBytes       
[  4]   8.00-9.00   sec  13.4 MBytes   113 Mbits/sec    0    417 KBytes       
[  4]   9.00-10.00  sec  17.5 MBytes   146 Mbits/sec    0    568 KBytes       

Anyway I’ll post the run later and we’ll see…



More information about the Cake mailing list