PDA

View Full Version : netperf


Jamie
11-10-2004, 07:49 PM
Netperf is a tool that I've found useful for benchmarking tivo network performance. Here are mips-tivo and win32 executables for netperf and netserver. For x86 linux, I suggest you build from the tar archive or go find an appropriately wrapped package for your distribution. The documentation is also in the tar archive available from the netperf ftp site. (ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/) There is also a crude web site (http://www.netperf.org) that is occasionally up (and often down). The most recently release is netperf-2.3pl1.tar.gz. That's the version I built from.

Read the documentation (netperf.ps in the tar), but in its most basic use:

Run "netserver" on the receiving side. The linux version will go into background automatically, but the win32 version will not.

Run "netperf -H target" on the sending side, where target is the IP or DNS name of the receiving host.

You'll get something like this out:


bash-2.02# netperf -H 192.168.1.100
TCP STREAM TEST to 192.168.1.100
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec

131072 131072 131072 10.00 29.68