Skip to content
Network Benchmarking Utility
C++ Perl Shell C M4 Awk Other
Branch: sockperf_v2
Clone or download

Latest commit

nkilim and igor-ivanov issue: 2079516 sockperf client -–srv-num option support
Option explanation:
-–srv-num should be used in special scenario as
1. Launch several (N) sockperf server instances with the same multicast address
2. Launch single sockperf client with this multicast address and –-srv-num=N
It is not supported now.

Currently sockperf can be used in following cases:
1. One server process and one client process
2. One server process and several client processes

Decision is made to remove support for this -–srv-num option.

Signed-off-by: Nahum Kilim <nahum@mellanox.com>
Latest commit b741ab3 Feb 17, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build issue: 1181835 Improve jenkins scripts Feb 22, 2018
config/m4 config/m4: use indirect variable name in SP_CHECK_CXXFLAG Sep 21, 2015
contrib issue: 2053834 Update License date to 2020 Jan 14, 2020
debian issue: 2053834 Update License date to 2020 Jan 14, 2020
doc issue: 2079516 sockperf client -–srv-num option support Mar 19, 2020
src issue: 2079516 sockperf client -–srv-num option support Mar 19, 2020
tests issue: 2053834 Update License date to 2020 Jan 14, 2020
tools Add cross-compatibilty for different network byte order. Dec 29, 2014
win Add missing libraries when compiling sockperf in Windows Nov 6, 2013
.gitignore added *~ to git ignore list Oct 15, 2015
Makefile.am issue: 1310745 Rename files to lowcase May 31, 2018
README.md configure.ac: check for valid boolean values of --enable-foo=... Jun 11, 2015
authors branches/v2 is going to be the trunk of our project Mar 27, 2011
autogen.sh Fix version output during compilation from tar Aug 2, 2017
configure.ac
copying issue: 2053834 Update License date to 2020 Jan 14, 2020
news branches/v2 is going to be the trunk of our project Mar 27, 2011
readme Added FreeBSD 64bit support (built over 10.1-RELEASE, amd64) Mar 19, 2015
version release v3.7 Jan 14, 2020

README.md

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 as well). It covers most of the socket API calls and options.

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

  • measure latency of each discrete packet at sub-nanosecond resolution (using TSC register that counts CPU ticks with very low overhead).

  • Does the above for both ping-pong mode and for latency under load mode. This means that we measure latency of single packets even under load of millions Packets Per Second (without waiting for reply of packet before sending subsequent packet on time)

  • Enable spike analysis by providing histogram, with various percentiles of the packets’ latencies (for example: median, min, max, 99% percentile, and more), (this is in addition to average and standard deviation). Also, sockperf provides full log with all packet’s tx/rx times that can be further analyzed with external tools, such as MS-Excel or matplotlib - All this without affecting the benchmark itself.

  • Support MANY optional settings for good coverage of socket API and network configurations, while still keeping very low overhead in the fast path to allow cleanest results.

  • Licensing

  • What you will need to compile aLic on Unix systems

    perl 5.8+ (used by the automake tools)

    GNU make tools: automake 1.7+, autoconf 2.57+, m4 1.4+ and libtool 1.4+

    A Compiler, among those tested are: . gcc4 (Ubuntu 9)

  • How to install:

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

    $ ./autogen.sh $ ./configure --prefix= $ make $ make install

    To enable test scripts $ ./configure --prefix= --enable-test

    To enable the documentation $ ./configure --prefix= --enable-doc

    To enable the special scripts $ ./configure --prefix= --enable-tool

    To compile with debug symbols and information: $ ./configure --prefix= --enable-debug

    This will define the DEBUG variable at compile time.

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

Good luck!

You can’t perform that action at this time.