Background
With the default CoreXL affinity settings, all CoreXL SNDs are affined to the same CPU socket. As a result, the number of CoreXL Firewall instances affined to each CPU socket is not balanced.
To improve the memory behavior and possibly improve the Security Gateway's performance, you can evenly distribute the affinities of CoreXL SNDs and CoreXL Firewall instances between the CPU sockets.
The configuration provided below is a recommendation for Threat Prevention and NGFW.
Syntax
These are the applicable CLI commands:
mq_mng -s manual -c <IDs of CoreXL SND Instances> |
fw ctl affinity -sa -c <IDs of CoreXL Firewall Instances> |
Parameters
Parameter |
Description |
---|---|
|
IDs of CoreXL SND Instances separated with:
|
|
IDs of CoreXL Firewall Instances separated with:
|
Notes:
fw ctl multik stat
cat /proc/cpuinfo | grep processor
To configure the alternative CoreXL affinity settings
Step |
Instructions |
---|---|
1 |
Connect to the command line on the Security Appliance over SSH, or console. |
2 |
Log in to Gaia Clish, or the Expert mode. |
3 |
Run the |
4 |
Enter the number of the Check Point CoreXL option. |
5 |
Enter the number of the (1) Change the number of firewall instances option. |
6 |
Set number of firewall instances:
|
7 |
Exit from the |
8 |
Reboot the Security Appliance. |
9 |
Connect to the command line on the Security Appliance over SSH, or console. |
10 |
Log in to the Expert mode. |
11 |
Examine the current CoreXL affinity configuration:
|
12 |
Configure the Multi-Queue:
|
13 |
Configure the affinity of CoreXL Firewall instances to specific CPU cores:
|
14 |
Examine the new CoreXL configuration:
|
To configure the default CoreXL affinity settings
Step |
Instructions |
---|---|
1 |
Connect to the command line on the Security Appliance over SSH, or console. |
2 |
Log in to Gaia Clish, or the Expert mode. |
3 |
Run the |
4 |
Enter the number of the Check Point CoreXL option. |
5 |
Enter the number of the (1) Change the number of firewall instances option. |
6 |
Set number of firewall instances:
|
7 |
Exit from the |
8 |
Reboot the Security Appliance. |
9 |
Connect to the command line on the Security Appliance over SSH, or console. |
10 |
Log in to the Expert mode. |
11 |
Examine the current CoreXL affinity configuration:
|
12 |
Configure the Multi-Queue:
|
13 |
Configure the affinity of CoreXL Firewall instances to specific CPU cores:
|
14 |
Examine the new CoreXL configuration:
|