Polyglot developer, geometric tessellation fan, ambient DJ. Edit profile

Benchmarking LAN throughput from the command line

Install iperf

on MacOS:

brew install iperf

on Linux:

sudo apt install iperf -y

Start iperf on the server:

iperf -s

This waits for incoming connections from clients. Designate another machine as a client and run this command, substituting the IP address of your server machine for the sample one here:

iperf -c


Setup was:

LAN config

Results were:

> iperf -c
Client connecting to, TCP port 5001
TCP window size:  128 KByte (default)
[  1] local port 58359 connected with port 5001 (icwnd/mss/irtt=11/1448/12000)
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.28 sec  63.9 MBytes  52.1 Mbits/sec