[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 35] Re: ALTQ/CBQ calculations
These parameters are described in
http://www.aciri.org/floyd/papers/params.ps.Z
and
http://www-nrg.ee.lbl.gov/floyd/cbq/notes.html
-Kenjiro
G Muthukumar <muthu@wipro.wipsys.soft.net> said:
>> Hi all,
>> I recently started going thru the source code for ALTQ (and CBQ) and
>> came across the function cbq_class_spec (rsvp_cbq.c). I came across few
>> calculations in this function which I am not able to understand how they
>> are derived:
>> 1. cptime = ptime * (1.0 - f) / f;
>> 2. maxidle = ((1.0 / f - 1.0) * ((1.0 - gton) / gton));
>> 3. offtime = cptime * (1.0 + 1.0/(1.0 - g) * (1.0 - gtom) / gtom);
>> I am sure there is some basis for these calculations.
>> Could you please help me understand these calculations?
>> Thanks,
>> Muthu