Thread (6 messages) 6 messages, 2 authors, 2006-05-05

Re: how to change classful netem loss probability?

From: George P Nychis <hidden>
Date: 2006-05-04 23:35:08

where did you send this patch?

I don't think I ever got it
Loss was broken, patch sent.

The following works now:

# tc qdisc add dev eth1 root handle 1:0 netem loss 20%

# tc qdisc add dev eth1 parent 1:1 handle 10: tbf \ rate 256kbit buffer
1600 limit 3000 # ping -f -c 1000 shell

1000 packets transmitted, 781 received, 21% packet loss, time 3214ms rtt
min/avg/max/mdev = 0.187/0.398/3.763/0.730 ms, ipg/ewma 3.217/0.538 ms

# tc qdisc chang dev eth1 handle 1: netem loss 1% # ping -f -c 1000 shell

1000 packets transmitted, 990 received, 1% packet loss, time 2922ms rtt
min/avg/max/mdev = 0.187/2.739/3.298/0.789 ms, ipg/ewma 2.924/2.084 ms



-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help