Intel® Ethernet 800 Series
Linux Performance Tuning Guide
netperf
The netperf is a useful tool for both throughput and latency testing.
The TCP_STREAM test in netperf measures the throughput capabilities of the device.
Server command example:
Client command example:
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, where “x” is CPU local and remote to the device.
The one-way latency can be calculated using:
Server command example:
Client command example:
Whereas in -T, first x binds the local netperf process to CPU core x and second x requests the remote netserver process to bind to CPU core x.
To start multiple instances (threads) of netperf, Intel recommends using a for-loop to map threads to TCP ports and running netperf in the background using
Server command example, start 8 threads for 100G and 16 threads for 200G:
Client command example, start 8 threads or 100G and 16 threads for 200G: