Stef, I ve tried just as you described earlier.. When using HTB qdisc, 10 hosts borrowing from the same parent results in unfairness. When host 1 open about 10 tcp connections, as soon as host 2 request for more bandwidth from parent, host 1 wont decrease the speed. But, when i only try to attach 2 hosts to the same parent, it succeed! Host 2 get the requested bandwidth even if host 1 start 20 connections. Could you analyze this for me ? Regards, Rio Martin. -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Friday 25 April 2003 07:01, rio@martin.mu wrote:> Stef, > I ve tried just as you described earlier.. > When using HTB qdisc, 10 hosts borrowing from the same parent results in > unfairness. When host 1 open about 10 tcp connections, as soon as host 2 > request for more bandwidth from parent, host 1 wont decrease the speed. > > But, when i only try to attach 2 hosts to the same parent, it succeed! > Host 2 get the requested bandwidth even if host 1 start 20 connections. > > Could you analyze this for me ?Mhh. I suppose you placed each host in it''s own class. And if you have unfairness, do you have 10 hosts generating traffic in 10 different classes? So you have 10 active classes? I (tried) to try it my self, and it seems that it works for me. I created 7 classes. I placed traffic in 6 of them. As soone as I started to generate traffic in the 7th class, the bandwidth was allocated. 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/
----- Original Message ----- From: Stef Coene <stef.coene@docum.org>> On Friday 25 April 2003 07:01, rio@martin.mu wrote: > > Could you analyze this for me ? > Mhh. I suppose you placed each host in it''s own class.Yup one host in one class, i set CEIL to maximum speed of parent class.> And if you have unfairness, do you have 10 hosts generating traffic in 10 > different classes? So you have 10 active classes? >of course 10 active classes generating traffic with their own classes..> I (tried) to try it my self, and it seems that it works for me. I created7> classes. I placed traffic in 6 of them. As soone as I started togenerate> traffic in the 7th class, the bandwidth was allocated. >I see, so this is worked for you. Lets begin analyze the different between your HTB and me.. My kernel is 2.4.20, with last iproute installed. In my linux that acting as bandwidth manager there is only 1 ethernet which has 1 public ip and 1 private ip connecting to my LAN network. Is this become a trouble ? If this become a trouble then i should separate private ip in one interface other than public ip that i have. Also i analyze other weirdness, when i tried to ping from other host via internet to my public ip, ping results is not normal, arround 2000ms - 3000ms, if i stop HTB, the normal ping should results between 700ms - 800ms. Regards, Rio Martin. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Saturday 26 April 2003 05:48, Rio Martin. wrote:> ----- Original Message ----- > From: Stef Coene <stef.coene@docum.org> > > > On Friday 25 April 2003 07:01, rio@martin.mu wrote: > > > Could you analyze this for me ? > > > > Mhh. I suppose you placed each host in it''s own class. > > Yup one host in one class, i set CEIL to maximum speed of parent class. > > > And if you have unfairness, do you have 10 hosts generating traffic in 10 > > different classes? So you have 10 active classes? > > of course 10 active classes generating traffic with their own classes.. > > > I (tried) to try it my self, and it seems that it works for me. I > > created > > 7 > > > classes. I placed traffic in 6 of them. As soone as I started to > > generate > > > traffic in the 7th class, the bandwidth was allocated. > > I see, so this is worked for you. Lets begin analyze the different between > your HTB and me.. > My kernel is 2.4.20, with last iproute installed.Here also.> In my linux that acting as bandwidth manager there is only 1 ethernet which > has 1 public ip and 1 private ip connecting to my LAN network.I have 2 boxes connected with a 10mbit hub.> Is this become a trouble ? If this become a trouble then i should separate > private ip in one interface other than public ip that i have. > Also i analyze other weirdness, when i tried to ping from other host via > internet to my public ip, ping results is not normal, arround 2000ms - > 3000ms, if i stop HTB, the normal ping should results between 700ms - > 800ms.Mhh. Can you try to limit all outgoing bandwidth to 95% of your link? So YOU are the bottleneck. And do you shape both upload and download? Because if you saturate upload, this can kill download because return packets can''t be received. 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/