Install Netperf On Windows
IPERF for Windows released with Iperf3-compatible GUI and Charts. Native Win32 port with QoS. Free download of trial version is available.
By: is a cool little utility that I discovered while working with. It's technically a network benchmarking tool, but it's fun to use to hammer your network with load and test out the bandwidth control features provided by network virtualization. Netperf used to be available in the now decommissioned contrib repository.
That's OK, it's easy enough to build. Building Netperf for Solaris If you want to save yourself the steps below, just save the following binaries to your /usr/bin directory: and.
Here are the from the Netperf manual. At the time of this writing the latest stable build is. Extract the archive: bleonard@solaris:/Downloads$ tar -xvf netperf-2.4.5.tar.bz2 netperf-2.4.5/ netperf-2.4.5/src/. Netperf-2.4.5/doc/examples/udpstreamscript netperf-2.4.5/doc/netperf.info. Make sure you have gcc-3 and header-math installed: bleonard@solaris:$ pkg list gcc-3 header-math NAME (PUBLISHER) VERSION STATE UFOXI developer/gcc-3 3.4.3-0.151.0.1 installed - system/library/math/header-math 0.5.11-0.151.0.1 installed -. Run configure, overriding the default install directory of /usr/local to /usr: bleonard@solaris:/Downloads/netperf-2.4.5$./configure -prefix=/usr checking build system type. Config.status: executing depfiles commands.
Run make: bleonard@solaris:/Downloads/netperf-2.4.5$ make make all-recursive make1: Entering directory `/home/bleonard/Downloads/netperf-2.4.5'. Make1: Leaving directory `/home/bleonard/Downloads/netperf-2.4.5'.
The run make install: bleonard@solaris:/Downloads/netperf-2.4.5$ sudo make install Password: Making install in src make1: Entering directory `/home/bleonard/Downloads/netperf-2.4.5/src'. Bleonard@solaris:$ sudo cp /usr/bin/netserver /zones/myzone/root/usr/bin/. And then start the netserver: bleonard@solaris:$ sudo zlogin myzone /usr/bin/netserver Password: Starting netserver at port 12865 Starting netserver at hostname 0.0.0.0 port 12865 and family AFUNSPEC Now let's test the connection between the global and local zone: bleonard@solaris:$ netperf -H 10.0.1.25 TCP STREAM TEST from::ffff:0.0.0.0 (0.0.0.0) port 0 AFINET to::ffff:10.0.1.25 (10.0.1.25) port 0 AFINET Recv Send Send Socket Socket Message Elapsed Size Size Size Time Throughput bytes bytes bytes secs. 10^6bits/sec 12 49152.31 Here we can see the throughput between my zones is 1722 Mbit/s. Now let's reduce the max bandwidth of the virtual NIC to 500 Mbit/s and try the test again: bleonard@solaris:$ sudo dladm set-linkprop -p maxbw=500 myzone0 bleonard@solaris:$ dladm show-vnic LINK OVER SPEED MACADDRESS MACADDRTYPE VID myzone0 e1000g0 500 2:8:20:59:0:b5 random 0 bleonard@solaris:$ netperf -H 10.0.1.25 TCP STREAM TEST from::ffff:0.0.0.0 (0.0.0.0) port 0 AFINET to::ffff:10.0.1.25 (10.0.1.25) port 0 AFINET Recv Send Send Socket Socket Message Elapsed Size Size Size Time Throughput bytes bytes bytes secs. 10^6bits/sec 12 49152 10.00 482.77 Or at a ridiculously low 2 Mbit/s: bleonard@solaris:$ sudo dladm set-linkprop -p maxbw=2 myzone0 bleonard@solaris:$ netperf -H 10.0.1.25 TCP STREAM TEST from::ffff:0.0.0.0 (0.0.0.0) port 0 AFINET to::ffff:10.0.1.25 (10.0.1.25) port 0 AFINET Recv Send Send Socket Socket Message Elapsed Size Size Size Time Throughput bytes bytes bytes secs. 10^6bits/sec 12 49152 10.38 1.07 Good stuff.
Netperf Server
I've just scratched the surface of Netperf, but this simple introduction suits my purposes for testing network virtualization. For more fun check out the.