Intel® Ethernet Controller E810 Application Device Queues (ADQ)

Configuration Guide

ID 609008
Date 04/03/2023
Version 2.8
Document Table of Contents

Apply Adapter Tuning

This must be done after TC creation.

The following variable is used in the examples in this section:

$iface The interface in use (PF or VF).
$mask The queue mask to configure per-queue coalesce.
  1. Configure the adapter tuning parameters with ethtool (might vary per workload).

    To configure coalesce on all queues:

    ethtool --coalesce $iface adaptive-rx off rx-usecs 0 ethtool --coalesce $iface adaptive-tx off tx-usecs 500 ethtool --show-coalesce $iface

    To configure per-queue coalesce:

    ethtool --per-queue $iface queue_mask $mask -–coalesce \ adaptive-rx off rx-usecs 0 adaptive-tx off tx-usecs 500 ethtool --per-queue $iface queue_mask $mask --show-coalesce

    Example to configure coalesce settings on 8 queues of TC1, using queue_​mask 0x3fc for queues 2-9 (0011 1111 1100):

    ethtool --per-queue ens8f0 queue_mask 0x3fc –coalesce \ adaptive-rx off rx-usecs 0 adaptive-tx off tx-usecs 500 ethtool --per-queue ens8f0 queue_mask 0x3fc --show-coalesce Note:ethtool version 5.1 or later is required for per-queue coalesce support. Note:Setting rx-usecs to a non-zero value, such as 50 or 100, might improve interrupt handling and ADQ performance for certain applications and workloads. Experiment with rx-usecs=0, 50, 100 to determine best ADQ performance. Note:Coalesce settings must be re-applied after all TC and TC filter creation.
  2. [Optional] Run the set_​irq_​affinity script for all interfaces (included in the scripts folder of the ice package) to pin interface IRQs to CPU cores. ${pathtoicepackage}/scripts/set_irq_affinity -X all $iface Note:The command above sets IRQ affinity for all CPU cores in the system, on both local and remote NUMA nodes (CPU sockets). For best performance with applications using cores on one CPU, it is recommended to constrain the CPU cores used to the local NUMA node of the Intel® Ethernet 800 Series network adapter under test. To set IRQ affinity using only CPU cores on the local NUMA node: ${pathtoicepackage}/scripts/set_irq_affinity -X local $iface Note:Affinity settings have to be re-applied after all TC and TC filter creation.