[Nottingham] A neat little network performance tool - iperf

Jason Irwin jasonirwin73 at gmail.com
Sat Jul 13 11:25:01 UTC 2013


There's probably more sophisticated ways to do this, but iperf is dead
simple.

You need two machines and iperf installed on both.
On one, run iperf as a server:
	iperf -s

On the second, run the client:
	iperf -c name/ip-of-server

On both machines you'll then get a wee summary of the test:
	------------------------------------------------------------
	Client connecting to 192.168.0.2, TCP port 5001
	TCP window size: 22.9 KByte (default)
	------------------------------------------------------------
	[  3] local 192.168.0.5 port 34945 connected with 192.168.0.2 port 5001
	[ ID] Interval       Transfer     Bandwidth
	[  3]  0.0-10.0 sec  1.09 GBytes   936 Mbits/sec

This put my mind at easy after a Samba copy came in at 20MiB/sec which
is only 167Mbits/sec.  Not sure where the overhead is coming from
(Samba, KDE...) but it's nice
to know I didn't break anything (yet).

-- 
╔═════════════╦══════════════════════════════════════════╗
║ Jason Irwin ║ OpenPGP (GPG/PGP) Public Key: 0xD0C592B1 ║
║             ║ Import from hkp://subkeys.pgp.net        ║
╚═════════════╩══════════════════════════════════════════╝



More information about the Nottingham mailing list