Re: [LARTC] Ethloop

2003-09-08 Thread Stef Coene
On Sunday 07 September 2003 05:25, Yves Bergeron wrote: > Hi, > > This is my scenario > > I have a 100mbit for 400 routes and the rest of Internet is at 2mbit > > # > #1:1 > # / \ > #1:2 1:12 > # / \ > # 1:10 1:11 > > > t

[LARTC] Ethloop

2003-09-06 Thread Yves Bergeron
Hi, This is my scenario I have a 100mbit for 400 routes and the rest of Internet is at 2mbit # #1:1 # / \ #1:2 1:12 # / \ # 1:10 1:11 tc qdisc del dev lo root handle 1: htb default 10 tc qdisc add dev lo roo

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

2002-06-10 Thread King Yung Tong
Hello Martin, Any comment for the graph in my web site? Pat On Mon, 10 Jun 2002, King Yung Tong wrote: > Thank you for your attention, my web page is on www.cs.dal.ca/~tong > 3 experiments were attached. > > Best Regards, > > Patrick Tong > > On Sun, 9 Jun 2002, King Yung Tong wrote: > > >

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

2002-06-10 Thread King Yung Tong
Thank you for your attention, my web page is on www.cs.dal.ca/~tong 3 experiments were attached. Best Regards, Patrick Tong On Sun, 9 Jun 2002, King Yung Tong wrote: > Dear Martin, > > Hello again, Thank you for you help last time. > I think I understand the solution form you and Stef, but wh

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

2002-06-09 Thread King Yung Tong
Dear Martin, Hello again, Thank you for you help last time. I think I understand the solution form you and Stef, but when come to ethloop, the result is not like this. I repost the question, I am pleased if you can give me a quick fix of the problem? Sorry to bother you. I try to create final ch

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

2002-06-08 Thread Martin Devera
You are right stef :) 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? > > > >

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

2002-06-08 Thread King Yung Tong
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 700kb

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

2002-06-08 Thread Stef Coene
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 800k

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

2002-06-08 Thread King Yung Tong
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) /\

Re: [LARTC] Ethloop?

2002-06-07 Thread King Yung Tong
It is working. Thank you. I really appreciate your help. :) Thank you!! Pat On Fri, 7 Jun 2002, Martin Devera wrote: > > 6.0 101170 92980 20 0 101108 9802 570 0 186 186 0 0 > > 6.5 98639 89751 38 0 98624 13015 577 0 44 44 0 0 > > 7.0 99815 93172 20 0 99812 9755 578 0 10 10 0 0 > > here

Re: [LARTC] Ethloop?

2002-06-07 Thread Martin Devera
> 6.0 101170 92980 20 0 101108 9802 570 0 186 186 0 0 > 6.5 98639 89751 38 0 98624 13015 577 0 44 44 0 0 > 7.0 99815 93172 20 0 99812 9755 578 0 10 10 0 0 here it is exacly what you want 7.5 63232 65056 0 0 39204 23397 41 0 3 3 0 0 > 8.0 54142 54575 0 0 22722 18971 3 0 1 1 0 0 > 8.5 51258 51361

Re: [LARTC] Ethloop?

2002-06-07 Thread King Yung Tong
Thank you, I put 100kbps to both 1:11 and 1:10. 1:10 (prio 0) get almost 50kbps form 60kbps excess and 1:20 (prio 1) get 10kbps form excess. Is it the expected result? I gussess the all 60kbps (excess) should go to prio 0 or by proportional to rate in each class. The rate on the original class is

Re: [LARTC] Ethloop?

2002-06-07 Thread Martin Devera
ethloop output (as text) On Fri, 7 Jun 2002, King Yung Tong wrote: > Thank you, I put 100kbps to both 1:11 and 1:10. 1:10 (prio 0) get almost > 50kbps form 60kbps excess and 1:20 (prio 1) get 10kbps form excess. > Is it the expected result? > I gussess the all 60kbps (excess) should go to prio 0

Re: [LARTC] Ethloop?

2002-06-07 Thread King Yung Tong
Thank you, I put 100kbps to both 1:11 and 1:10. 1:10 (prio 0) get almost 50kbps form 60kbps excess and 1:20 (prio 1) get 10kbps form excess. Is it the expected result? I gussess the all 60kbps (excess) should go to prio 0 or by proportional to rate in each class. Pat On Fri, 7 Jun 2002, Martin

Re: [LARTC] Ethloop?

2002-06-07 Thread Martin Devera
Ok. It seems you generate only 40kbps by ethloop script. Then you can't expect your lines to go higher ! Generate 100kbps to 1:11 and 1:10 ... devik On Fri, 7 Jun 2002, King Yung Tong wrote: > Here is the version and info. > > Version htb3_2.4.17 > > [root@samwise htb]# ./tc -s -d class show dev

Re: [LARTC] Ethloop?

2002-06-07 Thread King Yung Tong
Here is the version and info. Version htb3_2.4.17 [root@samwise htb]# ./tc -s -d class show dev lo class htb 1:11 parent 1:2 leaf 30: prio 1 quantum 1024 rate 80Kbit ceil 800Kbit burst 1701b/8 mpu 0b cburst 2623b/8 mpu 0b level 0 Sent 130048 bytes 127 pkts (dropped 0, overlimits 0) rate 254

Re: [LARTC] Ethloop?

2002-06-07 Thread King Yung Tong
Thank you for you help. Here is the HTB echo Clean all the tc setup ./tc qdisc del dev lo root ./tc qdisc add dev lo root handle 1: htb default 12 ./tc class add dev lo parent 1: classid 1:1 htb rate 100kbps ceil 100kbps ./tc class add dev lo parent 1:1 classid 1:2 htb rate 40kbps ceil 100kbps

Re: [LARTC] Ethloop?

2002-06-07 Thread Martin Devera
What version of HTB do you use ? Send me tc -s -d class show dev xxx outoput after test pic5 generation. devik On Fri, 7 Jun 2002, King Yung Tong wrote: > Thank you again for you help! > Attach is the pic5 for the ceil equal to 100kbps for all line. > pic10limit for the ceil equal to

Re: [LARTC] Ethloop?

2002-06-07 Thread Martin Devera
> Thank you for you answer, 1:10 is incresed but 1:20 is also increased and > increase to the specific rate if I add 100kbps to every line. sounds weird. With higher prio 1:10 should get 90k and 1:11 10k. > In my case, I would like to put all the extra to 1:10 only, is that means > I have to giv

Re: [LARTC] Ethloop?

2002-06-07 Thread King Yung Tong
Thank you for you answer, 1:10 is incresed but 1:20 is also increased and increase to the specific rate if I add 100kbps to every line. In my case, I would like to put all the extra to 1:10 only, is that means I have to give 1:11 ceil to 10kbps. If it is, is that means I don't need prio paramt

Re: [LARTC] Ethloop?

2002-06-07 Thread Martin Devera
You either missed "ceil" parameter or it is missing on my page :) Without ceil it is the same as rate thus all classes are bounded in fact. Add ceil 100kbps to each line. devik On Fri, 7 Jun 2002, King Yung Tong wrote: > Thank you for your reply :) > I try to follow chapter 6 on your user guide.

Re: [LARTC] Ethloop?

2002-06-07 Thread King Yung Tong
Thank you for your reply :) I try to follow chapter 6 on your user guide. 1:1 / \ 1:2 1:12 / \ 1:10 1:11 (prio1) (prio2) If 1:12 don't have any traffic, all the BW on 1:12 can be assigned to 1:2, is that right? I

Re: [LARTC] Ethloop?

2002-06-07 Thread Martin Devera
What is the problem ? use cat ethloop_script|./ethloop for example .. devik On Thu, 6 Jun 2002, King Yung Tong wrote: > Dear all, > > I copy a Ethloop script for tc script, but no response??? > Does anyone know how to use ethloop? > > > Ethloop; > #1st parameter -- time in milliseconds from prog

[LARTC] Ethloop problem

2002-06-07 Thread King Yung Tong
Dear all, I try to use ethloop to test the script, my problem is the output rate is much less than the input rate 0 i 0 lo 0 S 0 1k 0 P 0 0x10010 0 R 0 50 8000X 00 0.5 376145 74791 3 0 1.0 472944 7

[LARTC] Ethloop?

2002-06-06 Thread King Yung Tong
Dear all, I copy a Ethloop script for tc script, but no response??? Does anyone know how to use ethloop? Ethloop; #1st parameter -- time in milliseconds from program start #2nd parameter -- operation to do #3rd parameter -- flow id #4th parameter -- operation dependent # #e.g 5000 R 2 450 #