Print Download PDF Send Feedback

Previous

Next

Running the 'fw ctl affinity -s' command in Gateway Mode

Description

The fw ctl affinity -s command configures the CoreXL affinity settings on a Security Gateway for:

Notes:

Syntax

Parameters

Parameter

Description

-i <Interface Name>

Configures the affinity for the specified interface.

-k <CoreXL FW Instance ID>

Configures the affinity for the specified CoreXL FW instance.

-p <Process ID>

Configures the affinity for the Check Point user-space process (for example: fwd, vpnd) specified by its PID.

-n <Process Name>

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).

<CPU ID0> ... <CPU IDn>

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]#