Hello all :

I would appreciate if somebody could help me in solving the following
problem. I am configuring 5 tbf qdiscs for real time traffic, as follows :

---------------------------------------------------------------
tc class add dev eth0 parent 1:1 classid 1:3 cbq bandwidth $BANDWIDTH \
rate $RATECBQ allot 1514 cell 8 weight 10Kbit prio 3 maxburst 100 \
avpkt $AVPKT bounded

BANDWIDTH=10Mbit
RATECBQ=1Mbit
AVPKT=1500
RATE=120Kbit
BURST=11160b
LIMIT=3720b

# Set up TBF for this class
tc qdisc add dev eth0 parent 1:3 tbf rate $RATE  burst $BURST limit
$LIMIT

tc filter add dev eth0 parent 1:0 protocol ip prio 3 u32 \
match ip dst 144.16.64.65  \
match ip dport 6000 0xffff \
flowid 1:3

------------------------------------

Four more tbfs of identical to the above with classids as 1:4, 1:5, etc.
and the respective dest ports are 6001, 6002, 6003, etc.

When I start the real time traffic (the sources are identical and
homogenous), I see that there is traffic in only 2
queues namely the 1st and the last ones.The other tbf(or classes) do not
see any traffic. The statistics I collect are :

--------------------------------------------
class cbq 1:3 parent 1:1 rate 1Mbit (bounded) prio 3
 Sent 1863268 bytes 4982 pkts (dropped 0, overlimits 0) 
  borrowed 0 overactions 0 avgidle 780 undertime 0
class cbq 1:4 parent 1:1 rate 1Mbit (bounded) prio 3
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) 
  borrowed 0 overactions 0 avgidle 7555 undertime 0
class cbq 1:5 parent 1:1 rate 1Mbit (bounded) prio 3
 Sent 374 bytes 1 pkts (dropped 0, overlimits 0) 
  borrowed 0 overactions 0 avgidle 7555 undertime 0
class cbq 1:6 parent 1:1 rate 1Mbit (bounded) prio 3
 Sent 374 bytes 1 pkts (dropped 0, overlimits 0) 
  borrowed 0 overactions 0 avgidle 7555 undertime 0
class cbq 1:7 parent 1:1 rate 1Mbit (bounded) prio 3
 Sent 8459132 bytes 22618 pkts (dropped 0, overlimits 0) 
  borrowed 0 overactions 0 avgidle 91 undertime 0
------------------------------------------------------------


Will it be possible for anybody to help me out? if there is a requirement
of anymore information for the diagnosis, that mey be pointed out.

Thanks in advance,
Vinay.


-------------------------------------------------------------
Vinay V. Kulkarni
Project Assistant, ERNET, ECE Dept., IISc., Bangalore 560 012
Ph : +91-80-360 0855.           Fax : +91-80-360 7991   
-------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to