All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] bug?
@ 2001-07-04 12:32 Chuanbo Xu
  2003-04-16 11:59 ` [LARTC] Bug? Mattias Wadenstein
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Chuanbo Xu @ 2001-07-04 12:32 UTC (permalink / raw)
  To: lartc

Hi£¬

  Internet---------[linux]---------network
				eth0     eth1
	(192.168.1.103)		(172.16.1.1)

I can control traffic with the following:
#begin *****************************
tc qdisc add dev eth1 root handle 10: cbq bandwidth 100Mbit avpkt 1000

tc class add dev eth1 parent 10:0 classid 10:1 cbq bandwidth 100Mbit \
	rate 10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000

tc class add dev eth1 parent 10:1 classid 10:100 cbq bandwidth 100Mbit \
	rate 8Mbit allot 1514 weight 800Kbit prio 5 maxburst 20 avpkt 1000 bounded

tc class add dev eth1 parent 10:1 classid 10:200 cbq bandwidth 100Mbit \
	rate 2Mbit allot 1514 weight 200Kbit prio 5 maxburst 20 avpkt 1000 bounded

tc qdisc add dev eth1 parent 10:100 sfq quantum 1514b perturb 15
tc qdisc add dev eth1 parent 10:200 sfq quantum 1514b perturb 15

tc filter add dev eth1 parent 10:0 protocol ip prio 25 u32 match \
	ip dst 172.16.0.0/16 flowid 10:200
#end ******************************

But cannot with the following: 
#+++++++++++++++++++++++++++++++++++++
tc qdisc add dev eth0 root handle 12: cbq bandwidth 10Mbit avpkt 1400

tc class add dev eth0 parent 12: classid 12:1 cbq bandwidth 10Mbit rate 10Mbit allot 1514 weight 1Mbit prio 2 maxburst 20 avpkt 1400

tc class add dev eth0 parent 12:1 classid 12:212 cbq bandwidth 10Mbit rate 256Kbit allot 1514 weight 25Kbit prio 5 maxburst 20 avpkt 1400

tc class add dev eth0 parent 12:1 classid 12:213 cbq bandwidth 10Mbit rate 64Kbit allot 1514 weight 6Kbit prio 5 maxburst 20 avpkt 1400 bounded

tc class add dev eth0 parent 12:1 classid 12:300 cbq bandwidth 10Mbit rate 3Mbit allot 1514 weight 300Kbit prio 3 maxburst 20 avpkt 1400

tc qdisc add dev eth0 parent 12:212 sfq quantum 1514b perturb 15
tc qdisc add dev eth0 parent 12:213 sfq quantum 1514b perturb 15
tc qdisc add dev eth0 parent 12:300 sfq quantum 1514b perturb 15

tc filter add dev eth0 parent 12:0 protocol ip prio 10 u32 match ip src 172.16.0.0/16  flowid 12:300
#+++++++++++++++++++++++++++++++++++++++++++

What wrong with the latter?  Please help me. Thanks.

regards,

            Chuanbo Xu
            iproute2@btamail.net.cn


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

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

* [LARTC] Bug?
  2001-07-04 12:32 [LARTC] bug? Chuanbo Xu
@ 2003-04-16 11:59 ` Mattias Wadenstein
  2003-04-16 16:31 ` Stef Coene
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Mattias Wadenstein @ 2003-04-16 11:59 UTC (permalink / raw)
  To: lartc

Given that this debian bug is 100 days old now, I thought perhaps this
would be a bit more responsive place:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug\x175462
[Overflow with large bucketsizes in Token Bucket Filter?]

Anyone with clues on where this problem turns up, or is it an old fixed
bug somewhere?

/Mattias Wadenstein

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

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

* Re: [LARTC] Bug?
  2001-07-04 12:32 [LARTC] bug? Chuanbo Xu
  2003-04-16 11:59 ` [LARTC] Bug? Mattias Wadenstein
@ 2003-04-16 16:31 ` Stef Coene
  2003-04-22 11:18 ` Mattias Wadenstein
  2003-04-22 11:27 ` Stef Coene
  3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2003-04-16 16:31 UTC (permalink / raw)
  To: lartc

On Wednesday 16 April 2003 13:59, Mattias Wadenstein wrote:
> Given that this debian bug is 100 days old now, I thought perhaps this
> would be a bit more responsive place:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug\x175462
> [Overflow with large bucketsizes in Token Bucket Filter?]
>
> Anyone with clues on where this problem turns up, or is it an old fixed
> bug somewhere?
The problem still exists.  I tried it on my test box and I had the same 
results.  

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

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

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

* Re: [LARTC] Bug?
  2001-07-04 12:32 [LARTC] bug? Chuanbo Xu
  2003-04-16 11:59 ` [LARTC] Bug? Mattias Wadenstein
  2003-04-16 16:31 ` Stef Coene
@ 2003-04-22 11:18 ` Mattias Wadenstein
  2003-04-22 11:27 ` Stef Coene
  3 siblings, 0 replies; 5+ messages in thread
From: Mattias Wadenstein @ 2003-04-22 11:18 UTC (permalink / raw)
  To: lartc

On Wed, 16 Apr 2003, Stef Coene wrote:

> On Wednesday 16 April 2003 13:59, Mattias Wadenstein wrote:
> > Given that this debian bug is 100 days old now, I thought perhaps this
> > would be a bit more responsive place:
> >
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug\x175462
> > [Overflow with large bucketsizes in Token Bucket Filter?]
> >
> > Anyone with clues on where this problem turns up, or is it an old fixed
> > bug somewhere?
> The problem still exists.  I tried it on my test box and I had the same
> results.

Thanks, then it does indeed seem like it is an issue somewhere.

Anyone with clues on wher would be a good place to start searching or
reporting? Sorry if I'm asking uninformed questions, this was my first
attempt at setting something up with traffic control.

/Mattias Wadenstein

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

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

* Re: [LARTC] Bug?
  2001-07-04 12:32 [LARTC] bug? Chuanbo Xu
                   ` (2 preceding siblings ...)
  2003-04-22 11:18 ` Mattias Wadenstein
@ 2003-04-22 11:27 ` Stef Coene
  3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2003-04-22 11:27 UTC (permalink / raw)
  To: lartc

On Tuesday 22 April 2003 13:18, Mattias Wadenstein wrote:
> On Wed, 16 Apr 2003, Stef Coene wrote:
> > On Wednesday 16 April 2003 13:59, Mattias Wadenstein wrote:
> > > Given that this debian bug is 100 days old now, I thought perhaps this
> > > would be a bit more responsive place:
> > >
> > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug\x175462
> > > [Overflow with large bucketsizes in Token Bucket Filter?]
> > >
> > > Anyone with clues on where this problem turns up, or is it an old fixed
> > > bug somewhere?
> >
> > The problem still exists.  I tried it on my test box and I had the same
> > results.
>
> Thanks, then it does indeed seem like it is an issue somewhere.
>
> Anyone with clues on wher would be a good place to start searching or
> reporting? Sorry if I'm asking uninformed questions, this was my first
> attempt at setting something up with traffic control.
You should contact the author of the tbf : Alexey Kuznetsov, 
<kuznet@ms2.inr.ac.ru>.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

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

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

end of thread, other threads:[~2003-04-22 11:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-04 12:32 [LARTC] bug? Chuanbo Xu
2003-04-16 11:59 ` [LARTC] Bug? Mattias Wadenstein
2003-04-16 16:31 ` Stef Coene
2003-04-22 11:18 ` Mattias Wadenstein
2003-04-22 11:27 ` Stef Coene

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.