Description
The fw ctl affinity -s
command configures the CoreXL affinity settings on a Security Gateway for:
Notes:
$FWDIR/conf/fwaffinity.conf
configuration file.sim affinity -s
command (configures the affinity for interfaces only).fw ctl affinity -s
command cannot configure affinity for interfaces, if you already configured affinity for interfaces with the SecureXL sim affinity
command (in Automatic or Static mode).Syntax
|
fw ctl affinity -s -i <Interface Name> all <CPU ID0> [ <CPU ID1> ... <CPU IDn> ] |
fw ctl affinity -s -k <CoreXL FW Instance ID> all <CPU ID0> [ <CPU ID1> ... <CPU IDn> ] |
fw ctl affinity -s -p <Process ID> all <CPU ID0> [ <CPU ID1> ... <CPU IDn> ] |
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 FW 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. Important - The process name is case-sensitive. |
all |
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
[Expert@MyGW:0]# fw ctl affinity -s -i eth1 1 eth1: CPU 1 - set successfully Multi-queue affinity was not changed. For More info, see sk113834. [Expert@MyGW:0]# |
Example 2 - Affine the CoreXL FW instance #1 to the CPU core #2
[Expert@MyGW:0]# fw ctl affinity -s -k 1 2 fw_1: CPU 2 - set successfully Multi-queue affinity was not changed. For More info, see sk113834. [Expert@MyGW:0]# |
Example 3 - Affine the process CPD by its PID to the CPU core #2
[Expert@MyGW:0]# cpwd_admin list | egrep "PID|cpd" APP PID STAT #START START_TIME MON COMMAND CPD 6080 E 1 [13:46:27] 17/9/2018 Y cpd [Expert@MyGW:0]# [Expert@MyGW:0]# fw ctl affinity -s -p 6080 2 Process 6080: CPU 2 - set successfully Multi-queue affinity was not changed. For More info, see sk113834. [Expert@MyGW:0]# |
Example 4 - Affine the process CPD by its name to the CPU core #2
[Expert@MyGW:0]# fw ctl affinity -s -n cpd 2 cpd: CPU 2 - set successfully Multi-queue affinity was not changed. For More info, see sk113834. [Expert@MyGW:0]# |