lkml.org 
[lkml]   [2001]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectStrange QoS problem
Im trying to create bounded class with two bouded childs, each one
having more than half bandwidth of their parent, whoose bandwidth they
should share, which sadly doesnt happen, when I tcpspray through both
childs in the same time, each one uses its full bandwidth, what is of
course togeather more, than bandwidth of their parent. Any suggesstions
wellcome.

tc qdisc add dev eth0 root handle 1: cbq bandwidth 10Mbit allot 1514
cell 8 avpkt 1000

#*******trida 64Kbit**********
tc class add dev eth0 parent 1:0 classid 1:200 cbq bandwidth 10Mbit rate
64Kbit allot 1514 cell 8 avpkt 1000 maxburst 20 weight 6Kbit prio 5
bounded

#*******trida 48Kbit**********
tc class add dev eth0 parent 1:200 classid 1:210 cbq bandwidth 10Mbit
rate 48Kbit allot 1514 cell 8 avpkt 1000 maxburst 20 weight 5Kbit prio 5
bounded
#tc qdisc add dev eth0 parent 1:210 red bandwidth 48Kbit min 4500 max
9000 limit 18000 avpkt 1000 burst 5 probability 0.02

#*******trida 48Kbit*********
tc class add dev eth0 parent 1:200 classid 1:220 cbq bandwidth 10Mbit
rate 48Kbit allot 1514 cell 8 avpkt 1000 maxburst 20 weight 5Kbit prio 5
bounded
#tc qdisc add dev eth0 parent 1:220 red bandwidth 48Kbit min 4500 max
9000 limit 18000 avpkt 1000 burst 5 probability 0.02

#Filtry
tc filter add dev eth0 parent 1:0 prio 5 protocol ip u32
tc filter add dev eth0 parent 1:0 prio 5 u32 divisor 256

tc filter add dev eth0 parent 1:0 prio 5 u32 match ip dst 10.0.0.2
flowid 1:210
tc filter add dev eth0 parent 1:0 prio 5 u32 match ip dst 10.0.0.3
flowid 1:220
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.046 / U:0.452 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site