I just ran some rrul tests, but I am getting a strange behaviour.
Setup:
server        --        delay        --        mbox        --        client
netserver         50ms/50ms         45/900mbit

cli:
1) ./vsetup.sh (includes vcake.sh)
2) ip netns exec server netserver
3) ip netns exec client flent ....

rrul1 tc qdisc show: https://drive.google.com/open?id=1mKEYq7iDauOL5A9lCat_jAUgE7Eq6et8

rrul2 flent: https://drive.google.com/open?id=19OhJdOtMLcsNM66Jy-Edn7rD8TC9WelJ
rrul2 tc qdisc show: https://drive.google.com/open?id=1HtgjwvmTbr7XQKRp4XOqVvkz8FzCxdTk

rrul1 looks good, while rrul2 has a very strange trace. Look at the upload/ping. The setup was exactly the same between these two. If I lower the mbox bandwidth to 10/200mbit I don't get this behaviour anymore, the traces look like rrul1.

Am I doing something wrong?

George

On Tue, Nov 28, 2017 at 7:20 PM, Georgios Amanakis <gamanakis@gmail.com> wrote:


I got Dave's netns scripts working on my server. Will try to run rrul tests on a 200/10mbit tonight. 

George

On Nov 28, 2017 7:16 PM, "Pete Heist" <peteheist@gmail.com> wrote:

> On Nov 28, 2017, at 11:52 PM, Dave Taht <dave@taht.net> wrote:
>
> A diffserv 200Mbit result would be good.
>
> We are utterly out of cpu at 900mbits here.
>
> <not_winning_on_cpu.png>

Wow, I see flent’s combination plots are handy though.

Stuff to sort in irtt also. Merely setting the source IP of an outgoing packet doubles allocated heap when it calls into x/net code. Super.

Ok, here’s a quick veth try but I gotta get to sleep so I’m not investigating much ’til later. I wonder if 4.9.0-4 is enough:

root@apu2a:/home/sysadmin/src/veth# cat settings.example
export HOSTS="server client delay mbox"

# I’ve been a bad boy and did sudo make install in iproute2-cake-next
export TC=/sbin/tc
root@apu2a:/home/sysadmin/src/veth# ./vsetup.sh
Cannot remove namespace file "/var/run/netns/server": No such file or directory
Cannot remove namespace file "/var/run/netns/client": No such file or directory
Cannot remove namespace file "/var/run/netns/delay": No such file or directory
Cannot remove namespace file "/var/run/netns/mbox": No such file or directory
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
RTNETLINK answers: File exists
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
root@apu2a:/home/sysadmin/src/veth# ./vcake.sh
root@apu2a:/home/sysadmin/src/veth# ip netns exec server flent -H 10.10.2.2 rrul_be
Started Flent 1.1.1-git-5daa2b3 using Python 2.7.13.
Starting rrul_be test. Expected run time: 70 seconds.
WARNING: Program exited non-zero.
Runner class: NetperfDemoRunner
Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -4 -Y CS0,CS0 -H 10.10.2.2 -p 12865 -t UDP_RR -l 70 -F /dev/urandom    --   -H 10.10.2.2 -k THROUGHPUT,LOCAL_CONG_CONTROL,REMOTE_CONG_CONTROL,TRANSPORT_MSS,LOCAL_TRANSPORT_RETRANS,REMOTE_TRANSPORT_RETRANS,LOCAL_SOCKET_TOS,REMOTE_SOCKET_TOS,DIRECTION,ELAPSED_TIME,PROTOCOL,LOCAL_SEND_SIZE,LOCAL_RECV_SIZE,REMOTE_SEND_SIZE,REMOTE_RECV_SIZE
Return code: 255
Stdout: establish control: are you sure there is a netserver listening on 10.10.2.2 at port 12865?
establish_control could not establish the control connection from 0.0.0.0 port 0 address family AF_INET to 10.10.2.2 port 12865 address family AF_INET

...
_______________________________________________
Cake mailing list
Cake@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/cake