Skip to content
C Makefile Shell HTML M4 C++ Other
Branch: master
Clone or download

Latest commit

uperf and realneel Fix Warnings on Ubuntu 18.04 (#36)
Fix incorrectly size buffers. Bump up the data version as we are
changing the handshake structure size. Fixes #35

Co-authored-by: Neel Nadgir <realneel@gmail.com>
Latest commit 86c8783 Apr 26, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Update webpage Apr 21, 2020
manual Mark as release v1.0.7 Apr 16, 2020
src Fix Warnings on Ubuntu 18.04 (#36) Apr 26, 2020
tests Add missing tests Apr 16, 2020
workloads Changes by autoreconf -f -i (automake 1.16-1) Apr 15, 2020
.gitignore Fix Warnings on Ubuntu 18.04 (#36) Apr 26, 2020
AUTHORS Update AUTHORS Apr 22, 2020
Android.mk Make uperf buildable for Android Aug 7, 2017
COPYING Remove exec permission from files Aug 7, 2017
ChangeLog Remove exec permission from files Aug 7, 2017
INSTALL Changes by autoreconf -f -i (automake 1.16-1) Apr 15, 2020
Makefile.am Remove exec permission from files Aug 7, 2017
Makefile.in Changes by autoreconf -f -i (automake 1.16-1) Apr 15, 2020
NEWS Remove exec permission from files Aug 7, 2017
README Fix build issue due to renaming README file Jul 27, 2017
README.md Don't point to old mailing lists Apr 25, 2020
aclocal.m4 Changes by autoreconf -f -i (automake 1.16-1) Apr 15, 2020
bootstrap Add simple script to generate autotool files. Nov 19, 2016
client.pem Remove exec permission from files Aug 7, 2017
compile Changes by autoreconf -f -i (automake 1.16-1) Apr 15, 2020
config.h.android Create Android version of config.h Aug 7, 2017
config.h.in Regenerated derived autotools files. Nov 19, 2016
configure Mark as release v1.0.7 Apr 16, 2020
configure.ac Mark as release v1.0.7 Apr 16, 2020
cscope.files Remove exec permission from files Aug 7, 2017
depcomp Changes by autoreconf -f -i (automake 1.16-1) Apr 15, 2020
install-sh Changes by autoreconf -f -i (automake 1.16-1) Apr 15, 2020
missing Changes by autoreconf -f -i (automake 1.16-1) Apr 15, 2020
release Mark as release v1.0.7 Apr 16, 2020
release.template [ 2481036 ] Add uperf version number onto untarred directory name Feb 5, 2009
server.pem Remove exec permission from files Aug 7, 2017
stamp-h1 initial import May 6, 2008
test-driver Changes by autoreconf -f -i (automake 1.16-1) Apr 15, 2020

README.md

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 ex

./uperf -m netperf.xml -a

Please open Github issues for comments, bugs.

Compiling uperf

uperf uses the standard GNU build tools (./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 20000 port 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) med - 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
    
You can’t perform that action at this time.