Description
The fw ctl affinity -s
command configures the CoreXL affinity settings on a VSX Gateway for:
Syntax
|
|
|
|
|
- |
Important
To make these settings permanent, manually edit the $FWDIR/conf/fwaffinity.conf configuration file.
Parameters
Parameter |
Description |
---|---|
|
Configures the affinity for:
Note - If you omit the |
|
Configures the affinity to:
Important - Numbers of CPU cores start from zero. |
|
Configures the affinity for the Check Point daemon specified by its name (for example: fwd, vpnd). Important - The process name is case-sensitive. |
|
Configures the affinity for:
|
|
Configures the affinity for all running FWK daemon instances to the specified number of CPU cores. If you need to affine all running FWK daemon instances to all CPU cores, enter the number of all available CPU cores. |
|
Deletes all existing affinity settings and creates the default affinity settings during the next reboot. Before this operation, the command prompts the user whether to proceed. Note - You must reboot to complete the operation. |
|
Deletes all current affinity settings and creates the default affinity settings during the next reboot. Important - Before this operation, the command does not prompt the user whether to proceed. Note - You must reboot to complete the operation. |
Example 1 - Affine the Virtual Devices #0,1,2,4,7,8 to the CPU cores #0,1,2,4
[Expert@MyGW:0]# fw ctl affinity -s -d -vsid 0-2 4 6-8 -cpu 0-2 4 VDevice 0-2 4 6-8 : CPU 0 1 2 4 - set successfully Multi-queue affinity was not changed. For More info, see sk113834. [Expert@MyGW:0]# |
Example 2 - Affine the process CPD by its name for Virtual Devices #0-12 to the CPU core #7
[Expert@MyGW:0]# fw ctl affinity -s -d -pname cpd -vsid 0-12 -cpu 7 VDevice 0-12 : CPU 7 - set successfully Multi-queue affinity was not changed. For More info, see sk113834. Warning: some of the VSIDs did not exist [Expert@MyGW:0]# |
Example 3 - Affine the FWK daemon instances #0,2,4 to the CPU core #5
[Expert@MyGW:0]# fw ctl affinity -s -d -inst 0 2 4 -cpu 5 VDevice 0 2 4: CPU 5 - set successfully Multi-queue affinity was not changed. For More info, see sk113834. [Expert@MyGW:0]# |
Example 4 - Affine all FWK daemon instances to the last two CPU cores
[Expert@MyGW:0]# fw ctl affinity -s -d -fwkall 2 VDevice 0-2 : CPU 2 3 - set successfully Multi-queue affinity was not changed. For More info, see sk113834. [Expert@MyGW:0]# |
Example 5 - Affine all FWK daemon instances to all CPU cores
[Expert@MyGW:0]# fw ctl affinity -s -d -fwkall 4 There are configured processes/FWK instances (y) will override all currently configured affinity and erase the configuration files (n) will set affinity only for unconfigured processes/threads Do you want to override existing configurations (y/n) ? y VDevice 0-2 : CPU all - set successfully Multi-queue affinity was not changed. For More info, see sk113834. [Expert@MyGW:0]# |