Closed
Description
Pumba was working great until I got a new laptop with Ubuntu 18.04 and kernel 4.15.0-36.
Now if i try to emulate some latency (+-25ms) between the host and a container as follows:
docker run --name pumba -d --rm -v /var/run/docker.sock:/var/run/docker.sock gaiaadm/pumba pumba netem --duration 24h30m --target 172.17.0.1 delay --time 25 --jitter 5 amazing_torvalds
I get these ping results:
ping 172.17.0.2
PING 172.17.0.2 (172.17.0.2) 56(84) bytes of data.
64 bytes from 172.17.0.2: icmp_seq=1 ttl=64 time=28.5 ms
64 bytes from 172.17.0.2: icmp_seq=4 ttl=64 time=29.8 ms
64 bytes from 172.17.0.2: icmp_seq=5 ttl=64 time=28.5 ms
64 bytes from 172.17.0.2: icmp_seq=2 ttl=64 time=4318 ms
64 bytes from 172.17.0.2: icmp_seq=3 ttl=64 time=4319 ms
64 bytes from 172.17.0.2: icmp_seq=8 ttl=64 time=28.0 ms
64 bytes from 172.17.0.2: icmp_seq=9 ttl=64 time=25.2 ms
64 bytes from 172.17.0.2: icmp_seq=10 ttl=64 time=27.1 ms
^C
--- 172.17.0.2 ping statistics ---
10 packets transmitted, 8 received, 20% packet loss, time 9064ms
rtt min/avg/max/mdev = 25.265/1100.755/4319.747/1858.235 ms, pipe 5
so for every 3-4 normal packets there are these spikes of 4 seconds. I am not sure if it is related to tc or the kernel itself.
Metadata
Metadata
Assignees
Labels
No labels