Running the 'fw ctl affinity -s' command in Gateway Mode
Description
The fw ctl affinity -s
command configures the CoreXL Performance-enhancing technology for Security Gateways on multi-core processing platforms. Multiple Check Point Firewall instances are running in parallel on multiple CPU cores. affinity The assignment of a specified CoreXL Firewall instance, VSX Virtual System, interface, user space process, or IRQ to one or more specified CPU cores. settings on a Security Gateway Dedicated Check Point server that runs Check Point software to inspect traffic and enforce Security Policies for connected network resources. for:
-
Interfaces
-
User-space processes
-
CoreXL Firewall instances
|
Note - The Security Gateway saves these changes in the $FWDIR/conf/fwaffinity.conf configuration file. |
Syntax
-
To see the built-in help:
fw ctl affinity
-
To configure the affinity for a specified interface by its name:
fw ctl affinity -s -i <Interface Name>
all
<CPU ID0> [ <CPU ID1> ... <CPU IDn> ]
-
To configure the affinity for a specified CoreXL Firewall instance:
fw ctl affinity -s -k <CoreXL Firewall instance ID>
all
<CPU ID0> [ <CPU ID1> ... <CPU IDn> ]
-
To configure the affinity for a specified user-space process by its PID:
fw ctl affinity -s -p <Process ID>
all
<CPU ID0> [ <CPU ID1> ... <CPU IDn> ]
-
To configure the affinity for a specified user-space process by its name:
fw ctl affinity -s -n <Process Name>
all
<CPU ID0> [ <CPU ID1> ... <CPU IDn> ]
Parameters
Parameter |
Description |
||
---|---|---|---|
|
Configures the affinity for the specified interface. |
||
|
Configures the affinity for the specified CoreXL Firewall instance. |
||
|
Configures the affinity for the Check Point user-space process (for example: fwd, vpnd) specified by its PID. |
||
|
Configures the affinity for the Check Point user-space process (for example: fwd, vpnd) specified by its name.
|
||
|
Configures the affinity for all CPU cores (numbers start from zero). |
||
|
Configures the affinity for the specified CPU cores (numbers start from zero). |
Example 1 - Affine the interface eth1 to the CPU core #1
Example 2 - Affine the CoreXL Firewall instance #1 to the CPU core #2
Example 3 - Affine the process CPD by its PID to the CPU core #2
Example 4 - Affine the process CPD by its name to the CPU core #2