Description
Advanced Multi-Queue settings include:
To see the current number of active RX queues:
On the Security Gateway, run:
|
To configure the specified number of RX queues:
The number of RX queues depends on the interface driver:
Interface |
Queues |
Recommended number |
---|---|---|
igb |
When you configure the Multi-Queue for an igb interface, it calculates the number of TX and RX queues based on the number of active RX queues. Note - The number of queues for the on-board interfaces (Mgmt and Sync) on Check Point appliances is limited to just two queues (hardware restriction). |
4 |
ixgbe |
|
16 |
i40e |
When you configure the Multi-Queue for an i40e interface, it calculates the number of TX and RX queues based on the number of active RX queues with a maximum queue value set to 14. |
14 |
mlx5_core |
When you configure the Multi-Queue for an mlx5_core interface, it calculates the number of TX and RX queues based on the number of active RX queues with a maximum queue value set to 10. |
10 |
Notes:
Active RX queues = (Number of CPU cores) - (Number of CoreXL FW instances) |
Active RX queues = The lowest CPU ID, to which an FWK process is assigned |
On the Security Gateway, run:
|
To configure the recommended number of RX queues:
On a Security Gateway, the number of active queues changes automatically when you change the number of CoreXL FW instances in the cpconfig
menu.
The number of active RX queues does not change, if you configure the number of RX queues manually.
On the Security Gateway, run:
|
IRQ Affinity of the RX and TX queues:
The Security Gateway configures the IRQ affinity of the queues automatically when it boots.
The configuration depends on the number of CPU cores.
Examples:
SMT on Appliance |
Example |
---|---|
SMT (HyperThreading) is disabled |
If you configured
This is also true in cases, where you assign the RX and TX queues with a separated IRQ:
|
SMT (HyperThreading) is enabled (see sk93000) |
If you configured
|
Notes:
sim affinity
or the fw ctl affinity
commands to change and query the IRQ affinity of the Multi-Queue interfaces.cpmq set affinity
cpmq get -v
Important - Do not change the IRQ affinity of queues manually. This can negatively affect the performance of your Security Gateway. |
To see the CPU utilization:
Run:
|
Example:
[Expert@GW:0]# cpmq get -v
Active mlx5_core interfaces: 0 | 0 | i40e-eth5-01-TxRx-0 (99) | 0 |
top |
Example - The CPU utilization of Multi-Queue CPU cores is approximately 50%, because CPU0 and CPU1 handle the queues:
top - 18:02:33 up 28 days, 1:18, 1 user, load average: 1.22, 1.38, 1.48 |
For more information, run:
cpmq get -vv |
Example:
[Expert@GW:0]# cpmq get -vv |
Warning - We do not recommend to change this configuration. The Multi-Queue is intended to work with up to eight RX queues and up to five interfaces.
To add more RX queues, run:
|
To add more interfaces, run:
|