To get the best performance, configure the SecureXL Affinity in static mode for the slave interfaces.
If you are running SecureXL in a multi-core system, after you define bonds, set affinities manually. Use the sim affinity -s
command.
Note - The sim affinity
commands take effect only if the SecureXL is enabled and actually running. SecureXL begins running when you install a Policy for the first time.
For optimal performance, set affinities according to the following guidelines:
sim affinity -s
Use interface pairs of the same position with internal and external bonds.
cat /proc/net/bonding/<bond name>.
Interfaces that appear in the same position in the two bonds are interface pairs and set to be handled by one processing core.
For example, you might have four processing cores (0-3) and six interfaces (0-5), distributed among two bonds:
bond0 |
bond1 |
---|---|
eth0 |
eth3 |
eth1 |
eth4 |
eth2 |
eth5 |
Two of the CPU cores will need to handle two interfaces each. An optimal configuration can be:
bond0 |
|
bond1 |
|
---|---|---|---|
eth0 |
core 0 |
eth3 |
core 0 |
eth1 |
core 1 |
eth4 |
core 1 |
eth2 |
core 2 |
|
|
|
|
eth5 |
core 3 |