Re: [LARTC] Ethloop again and 4 level tree ???

Linux Advanced Routing and Traffic Control

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

 



Thank you, Stef

But the result I got using Ethloop is not like that.
I try to start 1:10 at 300k, 1:11 at 100k, since 1:4 parent ceil is 800bps
remind will be 400k.

At time 10s, I put 1:10 at 900k and 1:11 at 900k, and I think the 400kbs
excess will all go to 1:10 and make the flow 1:10 be 700kbs (< 1:4 ceil).

>From the ethloop result, 1:10 from 30 go to 50.  (equal sharing)
			 1:11 form 10 go to 30.  (eqaul sharing)

Do you think the problem is on  HTB script or ethloop script or both???? 

On Sat, 8 Jun 2002, Stef Coene wrote:

> On Saturday 08 June 2002 20:10, King Yung Tong wrote:
> > Hello again, Thank you for you help last time. I try to create final check
> > for htb, and found some problem. Can you give a quick fix for the problem?
> >
> > 			1:1 (ceil 1500kbps)
> > 		      /     \
> >   (ceil 800kbps)    1:2	    1:8 (ceil 700kbps)
> > 		  /    \      \
> > 	        1:4   1:12    1:14
> > 	       /  \
> >    (prio 0) 1:10  1:11 (prio 1)
> >
> > The tree under 1:2 is almost the same as you example and is working.
> > And I try to build a larger tree (4 levels) and I would like to do
> > following:
> > class 1:14 is completed isolated even no traffic, the BW will not borow.
> > class 1:12 is empty all the time.
> > class 1:10 is prio 0 and class 1:11 is prio 1
> >
> > 1. My understanding is 1:8 and 1:2 are isolated because of ceil and will
> >    not borrow?
> > 2. Since 1:12 is always emppty, it can borrow the excess to tree 1:4 and
> >    1:10 will get all the BW.
> >
> > But in my case, the prio parameter seems to be not very ok. It will give
> > BW to both 1:10 and 1:11.
> HTB will try to give each class it's rate as a minimum :
> ./tc class add dev lo parent 1:2 classid 1:10 htb rate 300kbps ceil 800kbps 
> prio 0 
> ./tc class add dev lo parent 1:2 classid 1:11 htb rate 100kbps ceil 800kbps 
> prio 1 
> 
> So class 1:10 gets 300kbps and class 1:11 gets 100kbps.  The other 400kbps 
> will go to class 1:10 beacause his prio is lower.  So prio is for traffic 
> that's left after each class gets his rate.
> 
> I hope I'm right, Devik ?  :)
> 
> Stef
> 
> -- 
> 
> stef.coene@docum.org
>  "Using Linux as bandwidth manager"
>      http://www.docum.org/
>      #lartc @ irc.openprojects.net
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 

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

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux