Traffic Load Balancing via Uneven Distribution

Load Distribution

Platform
Napatech SmartNIC
Content Type
User Guide
Capture Software Version
Link™ Capture Software 12.14

Uneven load distribution

To avoid unevenly overloading CPU cores, a different number of indices can be associated to each stream using the Action command. Using the following NTPL command, received frames are delivered to 4 streams associating ten indices to stream 0, four indices to stream 1 and six indices to stream 2,3.
HashMode[Priority = 1; Layer3Type=IP] = Hash2TupleSorted
HashMode[Priority = 0; Layer3Type=IP; Layer4Type=TCP,UDP,SCTP] = Hash5TupleSorted

Action[Tag=Test6; Width=20] = {Index=0..9; StreamId=0}, {Index=10..13; StreamId=1}, {Index=14..19; StreamId=2,3}
Assign[Action=Test6] = All
Each stream will receive a portion of indices representing the traffic. Using the above NTPL example, stream 0 will get 50% of indices, stream 1 will get 20% of indices and stream 2 and 3 will get 30% of indices.
Note: A portion of indices does not necessarily represent the same portion of traffic unless the round-robin hash mode is used. Dividing traffic between indices is based on a hash value in this example which a perfect distribution is not guaranteed.