The CoDel control_law is defined as 't + interval/sqrt(count)' The sample implementation (http://queue.acm.org/appendices/codel.html) suggests that sqrt(count) can be calculated using only integer multiplication, but I'm wondering if it even needs to be calculated.
Would it not be more efficient to pre-calculate a set of 1/sqrt(count) for some range -- probably (1..interval), and for any count > interval, the next interval can just be set to t+1. Is there any reason to not use this approach (assuming sufficient memory exists, of course)? --Jeff ________________________________ /dev/jeff_weeks.x2936 Sandvine Incorporated _______________________________________________ aqm mailing list [email protected] https://www.ietf.org/mailman/listinfo/aqm
