search for: tc_calc_rtabl

Displaying 4 results from an estimated 4 matches for "tc_calc_rtabl".

Did you mean: tc_calc_rtable
2004 Aug 22
4
Question about htb class
...ere in the code) 2. Why does htb calculate its burst(buffer) with tc_xmit_time() ? Is opt.rate.buffer supposed to have the time it takes to transmit the packet ? (in q_htb.c around 223 lines) 3. What does rtab and ctab arrays do ? And what kind of value should be in there ? (its set in tc_core.c tc_calc_rtable()) I''d really appreciate your help. Thankyou very much in advance. Eme -- Eme _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2004 May 13
19
HTB MPU
Hi. I wrote in a reply to a mail on here recently that you can''t set mpu (minimum packet unit) on HTB as you can on CBQ. I''ve just noticed that there is a patch on devik''s site which does mpu and overhead. http://luxik.cdi.cz/~devik/qos/htb/ For dsl users mpu is, for practical purposes going to be 106 - overhead is still variable though, depending on packet size.
2004 Jun 18
21
patch: HTB update for ADSL users
OK, here it is. Near perfect bandwidth calculation for ADSL users. Patch iproute2 with the HTB stuff and then this: It''s still a hack (as far as I can tell) because we are patching the rates tables, and hence I think it is only loosly coupled with the actual calculation of bytes in each bucket. However, it works very nicely for me! I have only been lightly testing with
2006 Mar 02
33
Patch to allow for the ATM "cell tax"
...!cbuffer) cbuffer = opt.ceil.rate / get_hz() + mtu; /* encode overhead and mpu, 8 bits each, into lower 16 bits */ - mpu = (unsigned)mpu8 | (unsigned)overhead << 8; + mpu = (unsigned)mpu8 | (unsigned)(overhead + atm) << 8; opt.ceil.mpu = mpu; opt.rate.mpu = mpu; if ((cell_log = tc_calc_rtable(opt.rate.rate, rtab, cell_log, mtu, mpu)) < 0) { @@ -575,12 +578,16 @@ sprint_size(buffer, b1), 1<<hopt->rate.cell_log, sprint_size(hopt->rate.mpu&0xFF, b2), - sprint_size((hopt->rate.mpu>>8)&0xFF, b3)); + sprint_size((hopt->rate.mpu>>8)&amp...