All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] taking a look at your cbq configuration?
@ 2002-01-16 22:12 Patrick Van Acker
  2002-01-16 22:17 ` Martin Devera
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Van Acker @ 2002-01-16 22:12 UTC (permalink / raw)
  To: lartc

Hello,

I read through the LARTC Howto, and I tried to setup a CBQ example from 
Chapter 9.

tc qdisc add dev eth0 root handle 1: cbq bandwidth 10Mbit avpkt 1000 cell 8
tc class add dev eth0 parent 1: classid 1:1 cbq bandwidth 10Mbit rate 
128kbit allot 1514 weight 12.8kbit prio 8 maxburst 20 avpkt 1000 bounded
tc class add dev eth0 parent 1:1 classid 1:10 cbq bandwidth 10Mbit rate 
20kbit allot 1514 weight 2.0kbit prio 1 maxburst 20 avpkt 1000
tc class add dev eth0 parent 1:1 classid 1:20 cbq bandwidth 10Mbit rate 
108kbit allot 1514 weight 10.8kbit prio 7 maxburst 20 avpkt 1000 bounded
tc qdisc add dev eth0 parent 1:10 sfq quantum 1514b perturb 10
tc qdisc add dev eth0 parent 1:20 sfq quantum 1514b perturb 10
tc filter add dev eth0 parent 1: protocol ip prio 20 u32 match ip sport 80 
0xffff flowid 1:10
tc filter add dev eth0 parent 1: protocol ip prio 20 u32 match ip sport 25 
0xffff flowid 1:20

However, it's not really working as I would expect.
I'd like to look at the exact configuration and some stats.

When I try

tc -s qdisc ls dev eth0

I get the following output:

qdisc cbq 1: rate 10Mbit (bounded,isolated) prio no-transmit
  Sent 49318327 bytes 35920 pkts (dropped 0, overlimits 48978)
   borrowed 0 overactions 0 avgidle 624 undertime 0

That's not I want: I'd like to see the different classes etc...

What am I doing wrong?

Regards,
Patrick

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] taking a look at your cbq configuration?
  2002-01-16 22:12 [LARTC] taking a look at your cbq configuration? Patrick Van Acker
@ 2002-01-16 22:17 ` Martin Devera
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Devera @ 2002-01-16 22:17 UTC (permalink / raw)
  To: lartc

> tc -s qdisc ls dev eth0
> 
> I get the following output:
> 
> qdisc cbq 1: rate 10Mbit (bounded,isolated) prio no-transmit
>   Sent 49318327 bytes 35920 pkts (dropped 0, overlimits 48978)
>    borrowed 0 overactions 0 avgidle 624 undertime 0
> 
> That's not I want: I'd like to see the different classes etc...
> 
> What am I doing wrong?

if you want classes what don't to try tc -s class show dev eth0 ?

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-16 22:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-16 22:12 [LARTC] taking a look at your cbq configuration? Patrick Van Acker
2002-01-16 22:17 ` Martin Devera

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.