SGkuDQoNCkkga25vdyB0aGF0IHF1YW50dW0gdmFsdWUgaXMgZGVjaWRlZCBieSByYXRlL3IycS4N Cg0KYnV0LCBJIGRvbid0IGtub3cgaG93IHRvIGJlIGRlY2lkZWQgYnVyc3QsIGNidXJzdCB2YWx1 ZS4NCg0KSG93IHRvIGJlIGRlY2lkZWQgZGVmYXVsdCBidXJzdCBhbmQgY2J1cnN0IHZhbHVlPw0K DQo=
You should use the following formula. I did some tests and it works. for rate 30Mbit/s use burst/cburst = 18k. Use that as a starting point. For other rate just calculate the ratio and it hould give you the most accurate values. Example: Rate 15Mbit/s use 9k ( 30/15 = 2 --> 18/2 = 9). All the best. --- openings <openings@palgong.knu.ac.kr> wrote: > Hi. > > I know that quantum value is decided by rate/r2q. > > but, I don't know how to be decided burst, cburst > value. > > How to be decided default burst and cburst value? > > ,S > f)+-L)Y=jyaffvZ_j)fjb?psLmr __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
On Monday 19 May 2003 05:16, openings wrote: > Hi. > > I know that quantum value is decided by rate/r2q. > > but, I don't know how to be decided burst, cburst value. > > How to be decided default burst and cburst value? If you don't specify the burst/cburst on the command line, htb will calcula= te=20 the minimum bandwidth for you. You can always a bigger value if you want a= =20 bigger burst/cburst. =46rom the tc source : /* compute minimal allowed burst from rate; mtu is added here to make sure that buffer is larger than mtu and to have some safeguard space */ if (!buffer) buffer =3D opt.rate.rate / HZ + mtu; if (!cbuffer) cbuffer =3D opt.ceil.rate / HZ + mtu; So it also depends on your timer resolution (Hz). The higher the resolutio= n,=20 the lower the burst can be. =20 Stef =2D-=20 stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net