Intel® Ethernet 800 Series
Linux Performance Tuning Guide
CPU Utilization
Check CPU utilization per core while workload is running.
Check Per-Core CPU Utilization:
- top
- htop
htop provides an interactive view of utilization across logical CPUs and can display individual application threads.
Check Per-Core CPU Utilization:
- mpstat
mpstat -P ALL 1 where:- %usr for application processing.
- %sys for kernel processing.
- %jrg for hardware interrupt processing.
- %soft for software interrupt processing.
- %idle for available CPU capacity.
High utilization on only a few CPUs should be correlated with interrupt and SoftIRQ activity to determine whether network processing is unevenly distributed.
Check for Interrupt Distribution:
- Verify that network interruptions are distributed across the intended CPU cores. If interrupts are concentrated on a small number of CPUs, review the IRQ affinity configuration described in IRQ Affinity.
- Identify the NUMA node associated with the Ethernet_Interface:
cat /sys/class/net/<ethX>/device/numa_node - When investigating high CPU utilization, verify that network interrupt and application processing are appropriately placed relative to the NUMA node associated with the network device.
Check CPU Frequency
Check the Configured CPU Frequency Policy:
- Verify that the CPUs processing network traffic are operating at the expected frequency. Refer to Platform Power Management through Intel® Turbo Boost for platform power-management and CPU-frequency tuning guidance.
- perf
- The perf tool is very helpful in finding what components might be causing high resource utilization during performance testing. It can be run during a workload to generate a report that can give guidance for further investigation.
To start recording during benchmark or workload:
perf record -a <benchmark command> To generate a report from the recorded perf data:
perf report