Traffic Load Balancing via Uneven Distribution

Load Distribution

Platform
Intel® PAC
Napatech SmartNIC
Content Type
User Guide
Capture Software Version
Link™ Capture Software 12.11

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.

Style Conventions

Bold typeface is used for names of, for instance, user interface elements and software components.

Italic typeface is used for replaceable text.

Monospaced typeface is used for code, commands and file names.

Abbreviations

CPU

Central Processing Unit

Dest

DESTination

DN

Document Number

Dst

DESTination

GGSN

Gateway GPRS Support Node

GPRS

General Packet Radio Service

GRE

Generic Routing Encapsulation

GTP

GPRS Tunneling Protocol

Id

IDentifier

Ids

IDentifierS

IP

Internet Protocol

m

Macro

MPLS

MultiProtocol Label Switching

N

Napatech

NT

NapaTech

NTPL

NapaTech Programming Language

Rev.

REVision

RTCP

Real-time Transport Control Protocol

RTP

Real-time Transport Protocol

SCTP

Stream Control Transmission Protocol

SGSN

Serving GPRS Support Node

SIP

Session Initiation Protocol

Src

SouRCe

Tcp, TCP

Transmission Control Protocol

Udp, UDP

User Datagram Protocol

v

Version

VLAN

Virtual Local Area Network

VoIP

Voice Over IP

References