Print Download PDF Send Feedback

Previous

Next

Basic Multi-Queue Configuration

Description

The cpmq utility shows and configures the Multi-Queue on supported interfaces.

Syntax

Parameters

Parameter

Description

get

Shows Multi-Queue status only for active supported interfaces.

get -a

Shows Multi-Queue status of all supported interfaces.

  • [On] - Multi-Queue is enabled on the interface.
  • [Off] - Multi-Queue is disabled on the interface.
  • [Pending On] - Multi-Queue is currently disabled on the interface. Multi-Queue will be enabled on this interface only after rebooting the Security Gateway. This status can also indicate bad configuration or system errors.
  • [Pending Off] - Multi-Queue is enabled on the interface. Multi-Queue will be disabled on this interface only after rebooting the Security Gateway.

Example:

[Expert@GW:0]# cpmq get -a

 

Active igb interfaces:

eth1-05 [On]

eth1-06 [Off]

eth1-01 [Off]

eth1-03 [Off]

eth1-04 [On]

 

Non active igb interfaces:

eth1-02 [Off]

[Expert@GW:0]#

get -v

Shows Multi-Queue status of supported interfaces with IRQ affinity information and RX bytes counters.

get -vv

Shows Multi-Queue status of supported interfaces with IRQ affinity information and RX bytes and packets counters.

set affinity

Configures the IRQ affinity of the queues when:

  • Multi-Queue is enabled on an interface
  • The interface status is changed to "down"
  • The computer was rebooted

Run this command after the interface status is changed back to "up".

Important - Do not change the IRQ affinity of queues manually. Changing the IRQ affinity of the queues manually can affect performance.

set rx_num igb

default

<Value>

Configures the number of active RX queues for interfaces that use the igb driver (1Gb).

set rx_num ixgbe

default

<Value>

Configures the number of active RX queues for interfaces that use the ixgbe driver (10Gb).

set rx_num i40e

default

<Value>

Configures the number of active RX queues for interfaces that use the i40e driver (40Gb).

set rx_num mlx5_core

default

<Value>

Configures the number of active RX queues for interfaces that use the mlx5_core driver (40Gb).

set rx_num <Driver> default

Configures the number of active RX queues to the number of CPUs, which are not used by CoreXL FW instances (recommended).

set rx_num <Driver> <Value>

Configures the specified number of active RX queues. This number can be between two and the total number of CPU cores.

To see the current Multi-Queue configuration:

On the Security Gateway, run:

cpmq get

Note - Output does not show network interfaces that are currently in the down state.

To configure Multi-Queue:

On the Security Gateway, run:

cpmq set

Notes: