Research Article
An Exponential Active Queue Management Method Based on Random Early Detection
Algorithm 1
RED technique detailed pseudocode.
(1) | Initialisation stage | | | | | (2) | For every arriving packet at a RED router buffer | | Calculate the for this packet at the RED router buffer | | Examine the queue status at a router buffer, is it empty or not | | if the queue at a RED router buffer is empty then | | Compute , where | | | | Else | | | | 3. Determine a congestion status at the RED router buffer | | if value is less than value then | | Calculate value for the arriving packet as follows: | | | | | | else if value is greater than or equal to value and less than value then | | | | | | | | Mark/Drop the arriving packet probabilistically regarding to value due to occurrence of congestion | | | | else | | Mark/Drop every arriving packet due to occurrence of heavy congestion | | | | 4. When the RED router buffer becomes empty | | |
|