Test network performance with nuttcp
May 26, 2008 – 14:36 by Hannes Van de VelInstallation
wget http://www.lcp.nrl.navy.mil/nuttcp/stable/rpm/nuttcp-5.3.1-1.i386.rpm
rpm -i nuttcp-5.3.1-1.i386.rpm
Run as server on target machine
nuttcp -S
Make sure tcp ports 5000 and 5001 are opened.
Test target
Basic without bandwidth limitation;
nuttcp -i1 hostname
With 40Mpbs bandwidth limitation;
nuttcp -i1 -Ri40m hostname
Output results like this;
4.8125 MB / 1.00 sec = 40.3421 Mbps
4.6487 MB / 1.00 sec = 38.9322 Mbps
4.7597 MB / 1.00 sec = 39.8966 Mbps
4.9041 MB / 1.00 sec = 41.0982 Mbps
4.6250 MB / 1.00 sec = 38.7668 Mbps
4.7500 MB / 1.00 sec = 39.8180 Mbps
4.8710 MB / 1.00 sec = 40.8293 Mbps
4.8165 MB / 1.00 sec = 40.3687 Mbps
4.5599 MB / 1.00 sec = 38.2229 Mbps
4.8151 MB / 1.00 sec = 40.3563 Mbps
47.6250 MB / 10.14 sec = 39.4143 Mbps 100 %TX 8 %RX