10. System Environment
10.1. Generating Jitter on Timers
When PDUs are transmitted as a result of timer expiration, there is a danger that the timers of individual systems may become synchronised. The result of this is that the traffic distribution will contain peaks. Where there are a large number of synchronised systems, this can cause overload ing of both the transmission medium and the systems re ceiving the PDUs. In order to prevent this from occurring, all periodic timers, the expiration of which can cause the transmission of PDUs, shall have jitter introduced as de fined in the following algorithm.
CONSTANT
Jitter = 25;
(* The percentage jitter as defined in the architectural
constant Jitter *)
Resolution = 100;
(* The timer resolution in milliseconds *)
PROCEDURE Random(max : Integer): Integer;
(* This procedure delivers a Uniformly distributed
random integer R such that 0 < R < max *)
PROCEDURE
DefineJitteredTimer(baseTimeValueInSeconds: Integer;
expirationAction : Procedure);
VAR
baseTimeValue, maximumTimeModifier, waitTime :
Integer;
nextexpiration : Time;
BEGIN
baseTimeValue := baseTimeValueInSeconds * 1000 /
Resolution;
maximumTimeModifier := baseTimeValue * Jitter /
100; (* Compute maximum possible jitter *)
WHILE running DO
BEGIN
(* First compute next expiration time *)
randomTimeModifier :=
Random(maximumTimeModifier);
waitTime := baseTimeValue -
randomTimeModifier;
nextexpiration := CurrentTime + waitTime;
(* Then perform expiration Action *)
expirationAction;
WaitUntil(nextexpiration);
END (* of Loop *)
END (* of DefineJitteredTimer *)
Thus the call DefineJitteredTimer(HelloTime, SendHel loPDU); where HelloTime is 10 seconds, will cause the action SendHelloPDU to be performed at random inter vals of between 7.5 and 10 seconds. The essential point of this algorithm is that the value of randomTimeModifier is randomised within the inner loop. Note that the new expira tion time is set immediately on expiration of the last inter val, rather than when the expiration action has been com pleted.
The time resolution shall be less than or equal to 100 milli seconds. It is recommended to be less than or equal to 10 milliseconds. The time resolution is the maximum interval that can elapse without there being any change in the value of the timer. The periodic transmission period shall be ran dom or pseudo-random in the specified range, with uniform distribution across similar implementations.
10.2. Resolution of Timers
All timers specified in units of seconds shall have a resolu tion of no less than 11 second.
All timers specified in units of milliseconds shall have a resolution of no less than 110 milliseconds
10.3. Requirements on the Operation of ISO 9542
This International Standard places certain requirements on the use of ISO 9542 by Intermediate systems which go be yond those mandatory requirements stated in the conformance clause of ISO 9542. These requirements are:
- The IS shall operate the Configuration Information functions on all types of subnetworks supported by the IS. This includes the reception of ESH PDUs, and the reception and transmission of ISH PDUs.
- The IS shall enable the All Intermediate Systems multi-destination subnetwork address.