Is DDR qdisc capable for bandwidth sharing between classes in a specific proportion?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!
I would like to ask question about DRR qdisc.
Is DDR designed for bandwidth sharing between classes proportionally to 'quantum' parameter?

Consider example:
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit ceil 100mbit
tc qdisc add dev eth0 parent 1:1 handle 2: drr
tc class add dev eth0 parent 2: classid 2:1 drr quantum 1500
tc class add dev eth0 parent 2: classid 2:2 drr quantum 3000
tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip dport 8111 0xffff classid 2:1
tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip dport 8112 0xffff classid 2:2

Here, for 1500 byte packets, I expect packets classified for 2:2 will be dequeued as twice often
as packets for class 2:1.
The result is a 2:2 class will receive two times greater bandwidth than the class 2:1, isn't it?

Regards.

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux