Made this due to iperf not being available for IBM i and the need to do some measurement of network throughput. Makes it possible to measure network throughput between two IBM i hosts (on same or different frames) or to/from Linux, AIX, Windows or any other platform that runs Java. To get best speed you need to use TCP and large packet sizes. The iperf tool defaults to 128K for TCP and 8K for UDP.
Go to file
Mark Nellemann 7431ce836e
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
Logging and output cleanup.
2023-06-26 22:16:53 +02:00
gradle/wrapper wip 2023-06-20 09:34:33 +02:00
src Logging and output cleanup. 2023-06-26 22:16:53 +02:00
.drone.yml Build improvements. 2023-06-24 09:04:58 +02:00
.gitattributes wip 2023-06-20 09:34:33 +02:00
.gitignore more wip 2023-06-20 15:58:00 +02:00
LICENSE more wip 2023-06-22 08:40:31 +02:00
README.md Cleanup 2023-06-26 12:56:46 +02:00
build.gradle Cleanup 2023-06-26 12:56:46 +02:00
gradle.properties Logging and output cleanup. 2023-06-26 22:16:53 +02:00
gradlew wip 2023-06-20 09:34:33 +02:00
gradlew.bat wip 2023-06-20 09:34:33 +02:00
settings.gradle Cleanup 2023-06-26 12:56:46 +02:00

README.md

jPerf

Small utility to measure network performance between two hosts.

Requirements

You need Java (JRE) version 8 or later to run jperf.

Usage Instructions

  • Install the jperf package (.deb, .rpm or .jar) from downloads or compile from source.
  • Run /opt/jperf/bin/jperf, if installed from package
  • Or as java -jar /path/to/jperf.jar
Usage: jperf [-hV] [-l=SIZE] [-n=NUM] [-p=PORT] (-c=HOST | -s)
Network performance measurement tool.
  -c, --connect=HOST   Connect to remote server
  -h, --help           Show this help message and exit.
  -l, --pkt-len=SIZE   Datagram size in bytes, max 65507 [default: 65507]
  -n, --pkt-num=NUM    Number of packets to send [default: 150000]
  -p, --port=PORT      Network port [default: 4445]
  -s, --server         Run server and wait for client
  -V, --version        Print version information and exit.

Development Information

You need Java (JDK) version 8 or later to build jperf.

Build & Test

Use the gradle build tool, which will download all required dependencies:

./gradlew clean build