Hi all I have few questions related to cooperation netem and rest of queue disciplines. I would like to use netem to delay some traffic and some other queueing discipline to shape traffic (throughput). I wonder if there are any rules related to it? Or is there any queue which cooperate better with netem than else? It is maybe strange questions but it tried to use phpnetemgui (unfortunately this address doesn't work http://www.smyles.plus.com/phpnetemgui/) and it generate queue like this: tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: prio bands 10 tc qdisc add dev eth0 parent 1:1 handle 10: netem delay 10ms reorder 40% 10% gap 30 tc qdisc add dev eth0 parent 10:1 handle 11: netem loss 20% tc qdisc add dev eth0 parent 11:1 handle 12: netem duplicate 30% tc qdisc add dev eth0 parent 12:1 handle 13: htb default 1 tc class add dev eth0 parent 13: classid 0:1 htb rate 2000kbit ceil 2000kbit tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 135.248.212.135/16 flowid 10:1 tc qdisc add dev eth0 parent 1:2 handle 20: pfifo tc filter add dev eth0 protocol ip parent 1:0 prio 2 u32 match ip src 0.0.0.0/0 match ip dst 0.0.0.0/0 flowid 20:2 but according I read I would create rules in different way e.g.: tc qdisc add dev eth0 root handle 1: htb default 100 tc class add dev eth0 parent 1: classid 1:1 htb rate 95Mbit tc class add dev eth0 parent 1:1 classid 1:10 htb rate 5Mbit ceil 5Mbit prio 1 tc class add dev eth0 parent 1:1 classid 1:20 htb rate 90Mbit ceil 40Mbit prio 1 tc qdisc add dev eth0 parent 1:10 handle 100 sfq perturb 10 tc qdisc add dev eth0 parent 1:20 handle 200 netem delay 35ms tc filter add dev eth0 parent 1:1 protocol ip prio 1 u32 match ip dst 135.248.200.34 flowid 1:20 and in case adding other path with different delay or rate I would use: tc class change dev eth0 parent 1:1 classid 1:20 htb rate 47Mbit ceil 47Mbit prio 1 tc class add dev eth0 parent 1:1 classid 1:21 htb rate 47Mbit ceil 47Mbit prio 1 tc qdisc add dev eth0 parent 1:21 handle 210 netem ..... And now I a bit confused because I don't know which from them will be better? Is it better to create queue according rule: queue -> queue ->queue -> class -> queue <- like phpnetemgui or queue -> class -> class -> queue <-like me Could you give me some advises or links or something else which help me understand it? Sincerely Sebastain - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html