Description Sets CoreXL affinities when using multiple processors. For an explanation of kernel, daemon and interface affinities, see the R77 Performance Tuning Administration Guide.
fw ctl affinity -s
settings are not persistent through a restart of the Security Gateway. If you want the settings to be persistent, either use:
sim affinity
(a Performance Pack command) fwaffinity.conf
configuration file To set interface affinities, you should use fw ctl affinity
only if Performance Pack is not running. If Performance Pack is running, you should set affinities by using the Performance Pack sim affinity
command. These settings will be persistent. If Performance Pack's sim affinity
is set to Automatic mode (even if Performance Pack was subsequently disabled), you will not be able to set interface affinities by using fw ctl affinity -s
.
Note - The VSX Gateway - Use the
|
Syntax
> fw ctl affinity -s <proc_selection> <cpuid>
<proc_selection>
is one of the following parameters:
Parameter |
Description |
---|---|
|
Sets affinity for a particular process, where |
|
Sets affinity for a Check Point daemon, where |
|
Sets affinity for a kernel instance, where |
|
Sets affinity for an interface, where |
<cpuid>
should be a processing core number or a list of processing core numbers. To have no affinity to any specific processing core, <cpuid>
should be: all
.
Note - Setting an Interface Affinity will set the affinities of all interfaces sharing the same IRQ to the same processing core. To view the IRQs of all interfaces, run: |
Example To set kernel instance #3 to run on processing core #5, run:
> fw ctl affinity -s -k 3 5
Description Lists existing CoreXL affinities when using multiple processors. For an explanation of kernel, daemon and interface affinities, see the R77 Performance Tuning Administration Guide.
Syntax
> fw ctl affinity -l [<proc_selection>] [<listtype>]
If <proc_selection>
is omitted, fw ctl affinity -l
lists affinities of all Check Point daemons, kernel instances and interfaces. Otherwise, <proc_selection>
is one of the following parameters:
Parameter |
Description |
---|---|
|
Displays the affinity of a particular process, where |
|
Displays the affinity of a Check Point daemon, where |
|
Displays the affinity of a kernel instance, where |
|
Displays the affinity of an interface, where |
If <listtype>
is omitted, fw ctl affinity -l
lists items with specific affinities, and their affinities. Otherwise, <listtype>
is one or more of the following parameters:
Parameter |
Description |
---|---|
|
All: includes items without specific affinities. |
|
Reverse: lists each processing core and the items that have it as their affinity. |
|
Verbose: list includes additional information. |
Example To list complete affinity information for all Check Point daemons, kernel instances and interfaces, including items without specific affinities, and with additional information, run:
> fw ctl affinity -l -a -v