Intel® Ethernet 600 Series

Linux Performance Tuning Guide

ID Date Version Classification
861164 07/29/2025 Public

A newer version of this document is available. Customers should click here to go to the newest version.

​netperf

The netperf tool is strong choice for both throughput and latency testing.

  • The TCP_​STREAM test in netperf measures the throughput capabilities of the device.

    Server command example:

    netserver

    Client command example:

    netperf -t TCP_STREAM -l 30 -H <serverIP>
  • The TCP_​RR test in netperf returns latency in a value of transactions/second. This is a round-trip number. It is recommended to use the -T x,x option, were x is CPU local to the device.

    The one-way latency can be calculated using: Latency (usec) = (0.5/[Transactions/sec])*1,000,000

    Server command example: netserver

    Client command example:

    netperf -t TCP_RR -l 30 -H <serverIP> -T x,x
  • To start multiple instances (threads) of netperf, the recommendation is to use a for-loop to map threads to TCP ports and run netperf in the background using & to create multiple processes in parallel.

    Server command example, start 8 threads:

    for i in {0..7}; do netserver -L $serverIP -p 520$i & done

    Client command example, start 8 threads:

    for i in {0..7}; do netperf -H $serverIP -p 520$i -t TCP_STREAM -l 30 & done