Coder Social home page Coder Social logo

rscheff / uperf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uperf/uperf

0.0 0.0 0.0 638 KB

uperf

Home Page: http://www.uperf.org

License: GNU General Public License v3.0

Shell 0.21% C 84.49% XSLT 0.12% CSS 0.31% Makefile 0.96% HTML 10.59% M4 3.32%

uperf's Introduction

Quickstart

Please visit uperf.org for the latest information.

On the slave run ./uperf -s

On the master (System under test) ./uperf -m netperf.xml

To get lots of statistics, use the -a option. For example:

./uperf -m netperf.xml -a

Please open Github issues for comments, bugs.

Compiling uperf

uperf uses the standard GNU build tools:

  • autoreconf --install && ./configure && make

Running uperf

  1. The ./uperf can be run as either a master (active) OR slave (passive).
  2. When run as active it needs master flag (-m) with a profile describing the test application. Sample profiles have been provided which are sure to run, more and more application profiles are expected to be added defining the various test cases.
  3. When run as the slave the program needs -s flag
  4. By default we are using port 20000 as the master port.
  5. We can set the verbose level, three level are provided
    1. (-V) High - all the messages are printed
    2. (-v) Medium - warnings and critical messages are displayed
    3. ( ) Low - only critical messages are displayed.
  6. Outputs: See usage for more information

Profile examples

Please see workloads/ directory for example profiles.

Compiling on Android

It is possible to build uperf as a part of AOSP platform. Because autotools are not used in Android platform config.h cannot be generated automatically. A version of config.h for Android N is created manually. Modifications may be required for compatibility with other Android versions.

Steps

  1. Download uperf sources and place them under appropriate AOSP directory, e.g. external/uperf
  2. Initialize build environment following standard Android steps (i.e. run source build/envsetup.sh, refer to Android official documentation for this part)
  3. Build uperf
    cd external/uperf
    mm
    

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.