Print Download PDF Send Feedback

Previous

Next

Multi-Queue Administration

There are two main roles for CPU cores applicable to SecureXL and CoreXL:

For best performance, the same CPU core should not work in both roles - as CoreXL SND and as CoreXL FW.

Multi-Queue Configuration

Important - See MBS-7978 in sk162552.

Description

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

Important - When a new Multi-Queue configuration is applied, the interface is reset. As a result, there is a momentary loss of packets.

Syntax

You must run these commands in the Expert mode.

Parameters

Parameter

Description

-o

--show

Shows Multi-Queue status for supported interfaces.

-a

Shows Multi-Queue status for all interfaces.

-i

--interface

Applies the command only to the specified interfaces.

With this parameter, you must specify at least one interface name.

Write the names of the interfaces one after another, separated by spaces (for example: -i eth1 eth2).

-v

--verbosity

Shows verbose output.

-vv

Shows more verbose output.

-s

--set_mode

Configures the Multi-Queue mode:

  • auto - Automatic settings. Multi-Queue is automatically configured using the maximum number of SNDs. Interface queues and IRQ affinity are configured accordingly.
  • manual - Manual settings. The user decides which CPU cores are used for Multi-Queue. Interface queues and IRQ affinity are configured accordingly.
  • off - Multi-Queue is disabled.

-c

--core

Configures the IRQ affinity to the specified CPU cores.

With this parameter, you must specify at least twp CPU core numbers.

For specific single CPU core numbers, write their numbers one after another, separated by spaces (for example: -c 1 2 5 6).

For a range of CPU core numbers, write their numbers separated by a hyphen (for example: -c 1-3).

-r

--reconf

Applies the current Multi-Queue configuration again.

-p

--pull

Pulls the Multi-Queue configuration from the Security Group member, which is the current SMO.

Example 1 - Show the existing Multi-Queue configuration

# g_all mq_mng --show

Total 8 cores. Multiqueue 2

cores i/f type state config cores

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

eth1 igb Up Auto 0,4

eth2 igb Up Auto 0,4

eth2-01 igb Up Auto 0,4

Example 2 - Show the existing Multi-Queue configuration (verbose)

# g_all mq_mng --show -v

Total 8 cores. Multiqueue 2 cores: 0,4

i/f type state config cores

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

eth1 igb Up Auto 0(58),4(78)

eth2 igb Up Auto 4(62),0(79)

eth2-01 igb Up Auto 0(42),4(86)

 

core interfaces queue irq rx packets tx packets

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

0 eth1 eth1-TxRx-0 58 2350 3012

eth2 eth2-TxRx-1 79 0 0

eth2-01 eth2-01-TxRx-0 42 0 45

4 eth1 eth1-TxRx-1 78 652 764

eth2 eth2-TxRx-0 62 0 0

eth2-01 eth2-01-TxRx-1 86 0 12

Example 3 - Show the existing Multi-Queue configuration for the interface eth2

# g_all mq_mng --show -v -i eth2

Total 8 cores. Multiqueue 2 cores: 0,4

i/f type state config cores

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

eth2 igb Up Auto 4(62),0(79)

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

eth2 <igb> max 8 cur 2

06:00.2 Ethernet controller: Intel Corporation 82580 Gigabit Network Connection (rev 01)

core interfaces queue irq rx packets tx packets

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

0 eth2 eth2-TxRx-1 79 4212 3965

4 eth2 eth2-TxRx-0 62 0 0

Example 4 - Configure automatic Multi-Queue mode on all interfaces

# g_all mq_mng --set-mode auto

Example 5 - Configure manual Multi-Queue mode on interfaces eth1 and eth2 on CPU cores 0, 1, 2, 4, 5, and 6

# g_all mq_mng -s manual -i eth1 eth2 -c 0-2 4-6