Subject: [pim] rand_override in BSR spec

From: Christopher Thomas Brown <[email-masked]>
Date: Fri, 12 Mar 2004 16:39:16 -0500

draft-ietf-pim-sm-bsr-03 gives conflicting ranges for rand_override.

In section 5 it is described as rand(0, 5.0 secs).

In section 3 subsection titled BS State-machine Actions an algorithm
is suggested for computing rand_override.

The range calculated by this delay appears to be 5 to 23 seconds.

Calculations reached by:
bestPri == MyPri and storedAddr - myAddr == 1
5 is from 5 + log_2(1) + log_2(1)/16
Or bestPri = 255 and MyPri = 0 and myaddr = 1.0.0.1.
~23 is 5 + 2 * log_2(256) + (2 - 16777217/2^31)
    or 5 + 16 + ~2

Taking a look at the older specs it appears that the above algorithm has
always been the suggested means to calculate the randomized delay while
rand(0, 5.0 secs) was introduced in draft-ietf-pim-sm-v2-new-00.

Chris

_______________________________________________
pim mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/pim