Print Download PDF Send Feedback

Previous

Next

Allocating a CPU Core for Heavy Logging

If the Security Gateway generates very large number of logs, it may be advisable to allocate a processing CPU core to the fwd daemon, which generates the logs.

Note - This change reduces the number of CPU cores available for CoreXL Firewall instances.

Important Notes for Cluster:

To allocate a processing CPU core to the fwd daemon:

Step

Description

1

Connect to the command line on Security Gateway.

2

Log in to Expert mode.

3

Run:

cpconfig

4

Enter the number of the Check Point CoreXL option.

5

Reduce the number of CoreXL Firewall instances.

6

Exit from the cpconfig menu.

7

Configure the affinity of the fwd daemon in the $FWDIR/conf/fwaffinity.conf file:

7A

Examine which processing CPU cores run the CoreXL Firewall instances and which CPU cores handle the traffic from interfaces. Run:

fw ctl affinity -l -r

7B

Edit the $FWDIR/conf/fwaffinity.conf file:

n fwd <CPU ID>

Allocate one of the remaining CPU cores to the fwd daemon. To do so, configure the affinity of the fwd daemon to that CPU core. For example, to affine the fwd daemon to CPU core #2, add this line:

n fwd 2

Note: It is important to avoid the CPU cores that run the CoreXL SNDs only if these CPU cores are explicitly defined for the affinities of interfaces. If affinity of interfaces is configured in the Automatic mode, the fwd daemon can use all CPU cores that do not run CoreXL Firewall instances. Traffic from interfaces is automatically diverted to other CPU cores.

7C

Save the changes in the $FWDIR/conf/fwaffinity.conf configuration file.

8

Apply the new configuration:

  • To apply immediately, run this script:

    [Expert@MyGW:0]# $FWDIR/scripts/fwaffinity_apply

  • To apply later, reboot the Security Gateway.