Chapter 32. Configuring ethtool coalesce settings

Using interrupt coalescing, the system collects network packets and generates a single interrupt for multiple packets. This increases the amount of data sent to the kernel with one hardware interrupt, which reduces the interrupt load, and maximizes the throughput.

This section provides different options to set the ethtool coalesce settings.

32.1. Coalesce settings supported by NetworkManager

You can set the following ethtool coalesce settings using NetworkManager:

  • [parameter]`coalesce-adaptive-rx´
  • [parameter]`coalesce-adaptive-tx´
  • [parameter]`coalesce-pkt-rate-high´
  • [parameter]`coalesce-pkt-rate-low´
  • [parameter]`coalesce-rx-frames´
  • [parameter]`coalesce-rx-frames-high´
  • [parameter]`coalesce-rx-frames-irq´
  • [parameter]`coalesce-rx-frames-low´
  • [parameter]`coalesce-rx-usecs´
  • [parameter]`coalesce-rx-usecs-high´
  • [parameter]`coalesce-rx-usecs-irq´
  • [parameter]`coalesce-rx-usecs-low´
  • [parameter]`coalesce-sample-interval´
  • [parameter]`coalesce-stats-block-usecs´
  • [parameter]`coalesce-tx-frames´
  • [parameter]`coalesce-tx-frames-high´
  • [parameter]`coalesce-tx-frames-irq´
  • [parameter]`coalesce-tx-frames-low´
  • [parameter]`coalesce-tx-usecs´
  • [parameter]`coalesce-tx-usecs-high´
  • [parameter]`coalesce-tx-usecs-irq´
  • [parameter]`coalesce-tx-usecs-low´

32.2. Configuring ethtool coalesce settings using NetworkManager

This section describes how to set ethtool coalesce settings using NetworkManager, as well as how you remove the setting from a NetworkManager connection profile.

Procedure

  1. For example, to set the maximum number of received packets to delay to 128 in the enp1s0 connection profile, enter:

    # nmcli connection modify enp1s0 ethtool.coalesce-rx-frames 128
  2. To remove a coalesce setting, set the setting to ignore. For example, to remove the ethtool.coalesce-rx-frames setting, enter:

    # nmcli connection modify enp1s0 ethtool.coalesce-rx-frames ignore
  3. To reactivate the network profile:

    # nmcli connection up enp1s0

Verification steps

  1. Use the ethtool -c command to display the current offload features of a network device:

    # ethtool -c network_device

Additional resources