Mellanox / sockperf

Network Benchmarking Utility
Other
580 stars 119 forks source link

Introduction

sockperf is a network benchmarking utility over socket API that was designed for testing performance (latency and throughput) of high-performance systems (it is also good for testing performance of regular networking systems). It covers most of the socket API calls and options.

Specifically, in addition to the standard throughput tests, sockperf does the following:

Prereqs: What you will need to compile sockperf on Unix systems

How to install

The sockperf package uses the GNU autotools compilation and installation framework.

./autogen.sh  (only when cloning from repository)
./configure --prefix=<path to install>
make
make install

Configuration

Type ./configure --help for a list of all the configure options. Some of the options are generic autoconf options, while the sockperf specific options are prefixed with "SOCKPERF:" in the help text.

To build for ARM

1) Define CROSS_COMPILE in the environment to point to the cross compilation tools, e.g. set CROSS_COMPILE=/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux/bin/arm-linux-gnueabihf- 2) Use ./autogen.sh to create the configure script. 3) Invoke ./configure with the following options: ./configure CXX=${CROSS_COMPILE}g++ STRIP=${CROSS_COMPILE}strip LD=${CROSS_COMPILE}ld CC=${CROSS_COMPILE}gcc --host i386 4) Invoke make

To build for FreeBSD

Licensing

View Here

~Good luck!