Performance Guidelines for Bond Interfaces
For optimal performance, follow these guidelines:
-
Configure static affinities of bond subordinate interfaces to CPU Cores.
-
Whenever possible, dedicate one processing core to each interface.
-
If there are more physical interfaces than CPU cores, then some CPU cores handle two or more interfaces.
Use pairs of subordinate interface of the same position with internal and external bonds.
-
To view positions of subordinate interface in a bond, run in the Expert mode:
cat /proc/net/bonding/<Name of Bond Interface>
-
Note the sequence of the interfaces in the output.
Compare this sequence for the two bonds (external bond and its respective internal bond).
Subordinate interfaces that appear in the same position in the two bonds are interface pairs.
Set these pairs to be handled by one processing CPU core.
Example configuration
An appliance has:
-
Four processing CPU cores:
core 0, core 1, core 2, and core 3
-
Two bond interfaces:
bond0
with subordinate interfaceseth0
,eth1
, andeth2
bond1
with subordinate interfaceseth3
,eth4
, andeth5
In such case, two of the CPU cores need to handle two subordinate interfaces each.
An optimal configuration can be:
CPU core
bond0
bond1
0
eth0
eth3
1
eth1
eth4
2
eth2
3
eth5
-
For more information, see the R80.40 Performance Tuning Administration Guide:
-
Chapter CoreXL > Section Configuring Affinity Settings.
-
Chapter CoreXL > Section Affinity Settings for 16000 and 26000 Appliances.