[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[altq 87] Re: The calculation of offtime



Hello.
Yes, I think that's a bug.
In my experiments I took into account of this, setting minburst = 4 in order to get a 3packet steady state burst :-)))

	fulvio

-----Original Message-----
From: owner-altq@csl.sony.co.jp [mailto:owner-altq@csl.sony.co.jp]On Behalf Of Lin Su-Mei
Sent: Monday, August 09, 1999 9:13 AM
To: altq
Subject: [altq 86] The calculation of offtime


Hi,
 
In rsvp_cbq.c the offtime is of
 
gtom = pow(g, (double)minburst);
 if (minburst)
  offtime = cptime * (1.0 + 1.0/(1.0 - g) * (1.0 - gtom) / gtom);
 else
  offtime = cptime;

but as the paper said, it should be
gtom = pow(g, (double)minburst-1);
 if (minburst)
  offtime = cptime * (1.0 + 1.0/(1.0 - g) * (1.0 - gtom) / gtom);
 else
  offtime = cptime;
 
Could anyone tell me hat's wrong with it? Thanks!

 
Lin Su-Mei