Print Download PDF Send Feedback

Previous

Next

sim affinity

Description

Controls the SecureXL affinity settings of network interfaces to CPU cores.

Important - SecureXL can affine network interfaces only to CPU cores that run as CoreXL SND. For more information, see sk98737 - ATRG: CoreXL.

Syntax for IPv4

sim [-i <SecureXL ID>] affinity

-a

-h

-l

-s

Syntax for IPv6

sim6 affinity

-a

-h

-l

-s

Parameters

Parameter

Description

-i <SecureXL ID>

Specifies the SecureXL instance ID (for IPv4 only).

-a

Configures the affinity in 'Automatic' mode.

SecureXL periodically examines the load on the CPU cores and the amount of traffic on the interfaces. Based on the results, SecureXL can reassign interfaces to other CPU cores to distribute their load better.

-h

Shows the applicable built-in usage.

-l

Shows the current affinity settings.

-s

Configures the affinity in 'Static' ('Manual') mode.

SecureXL does not reassign interfaces to other CPU cores to distribute their load better.

Example 1 - Default output

[Expert@MyGW:0]# sim affinity

Usage: sim affinity <options>

 

Options:

-l -

-s - set affinity settings manually

-a - set affinity settings automatically

-h - this help message

 

[Expert@MyGW:0]#

Example 2 - SIM Affinity is in Automatic mode

[Expert@MyGW:0]# cat /proc/cpuinfo | grep processor

processor : 0

processor : 1

processor : 2

processor : 3

[Expert@MyGW:0]#

[Expert@MyGW:0]# fw ctl multik stat

ID | Active | CPU | Connections | Peak

----------------------------------------------

0 | Yes | 3 | 3 | 21

1 | Yes | 2 | 6 | 13

2 | Yes | 1 | 5 | 13

[Expert@MyGW:0]#

[Expert@MyGW:0]# sim affinity -l

eth6 : 0

eth0 : 0

eth3 : 0

eth1 : 0

eth4 : 0

eth2 : 0

eth5 : 0

[Expert@MyGW:0]#