taskset_us_all

Description

The script $FWDIR/bin/taskset_us_all configures the affinityClosed The assignment of a specified CoreXL Firewall instance, VSX Virtual System, interface, user space process, or IRQ to one or more specified CPU cores. of all running User Space processes to CPU cores.

Note - You must run this command from the Expert mode.

Parameters

Parameter

Type

Description

No Parameters

N / A

Shows the syntax to call the built-in help.

--help

Optional

Shows the built-in help with available parameters.

{-i | --instance} [<IDs of Instances>]

Optional

Cnfigures the CPU affinity only to CPU cores that run as CoreXL Firewall Instances.

Example for the CoreXL Firewall Instances 0, 2, and 5:

--instance 0,2,5

Notes:

{-l | --list} <IDs of CPU Cores>

   [--ignore_default]

   [--ignore_exe "<ProcessName1>|<ProcessName2>|...|<ProcessNameN>"]

Mandatory

Configures the script to use the argument as a list of CPU core IDs.

Examples for CPU cores from 0 to 3:

  • Comma-separated list:

    --list 0,1,2,3

  • Range of consecutive IDs:

    --list 0-3

  • Range and specific ID:

    --list 0-2,3

Notes:

  • The optional sub-parameter '--ignore_default' configures the script to ignore a predefined list of Check Point executable files.

    There are specific Check Point executable files, whose CPU affinity you must not change.

    If you change the CPU affinity of these specific processes, the performance of the Security GatewayClosed Dedicated Check Point server that runs Check Point software to inspect traffic and enforce Security Policies for connected network resources. decreases.

    The predefined list of Check Point executable files to ignore:

    fwk, dmd_run, usim_x86, usim_wd_agent, usim_launcher

  • The optional sub-parameter '--ignore_exe "<ProcessName1>|<ProcessName2>|...|<ProcessNameN>"' configures the script to ignore the specified executable files.

    Example:

    --ignore_exe "bash|fwk|clishd"

    To configure a constant list of ignored executable files, edit the $FWDIR/bin/taskset_us_all script and configure the value of the variable 'ignore_list=""'.

{-m | --mask} <CPU BitMask>

Mandatory

Configures the script to use the argument as a bitmask of CPU cores IDs.

Example bitmask for CPU core IDs from 0 to 3 on a Security Gateway with 16 CPU cores:

0x0000000000000001 (for CPU 0) +

0x0000000000000010 (for CPU 1) +

0x0000000000000100 (for CPU 2) +

0x0000000000001000 (for CPU 3) =

------------------

0x0000000000001111

Example bitmask for CPU core IDs 5, 7, 9, and 15 on a Security Gateway with 16 CPU cores:

0x0000000000100000 (for CPU 5) +

0x0000000010000000 (for CPU 7) +

0x0000001000000000 (for CPU 9) +

0x1000000000000000 (for CPU 15) =

------------------

0x1000001010100000

{-s | --snd} [--no_zero]

Optional

Configures the CPU affinity only to CPU cores that run as CoreXL SND.

Notes:

  • Mutually exclusive with the parameter '-i | --instance'.

  • The optional sub-parameter '--no_zero' configures the script to ignore the CPU Core 0.