Research Letter
A Simple Mechanism for Throttling High-Bandwidth Flows
Algorithm 1
HHS .
Require: : Heavy hitter set. | Require: :
Total link capacity. | Require: :
Max number of counters in equal to . | Require: :
The admitted packet. | Require: :
The flow ID of the admitted packet. | (1) initialize to empty; | (2) whileβββdo | (3)β ifββββthen | (4)β βincrement ; | (5)β else ifββ β then | (6)β βfor all β β do | (7)β βββdecrement ; | (8)β βββββif β β then | (9)β ββββremove i from ; | (10)β βββββend if | (11)β βend for | (12)β else | (13)β βinsert into ; | (14)β β; | (15)β end if | (16) end while |
|