GithubHelp home page GithubHelp logo

qiwei94 / sockperf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mellanox/sockperf

0.0 0.0 0.0 620 KB

Network Benchmarking Utility (exported from code.google.com/p/sockperf)

License: Other

Makefile 0.21% Shell 12.66% M4 0.86% C++ 42.22% C 4.46% Awk 0.11% Perl 39.47%

sockperf's 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 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!

sockperf's People

Contributors

avnerbh avatar michich avatar igor-ivanov avatar rosenbaumalex avatar orkmellanox avatar liranoz12 avatar sharkcz avatar jasonseba avatar ashanably avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.