ipbench latency test sample


Here is an example run of ipbench with only a single client to localhost (i.e loopback).

Controller
Tester(s)
Target
1. Start daemons

$ python ./ipbenchd.py 
$ python ./ipbenchd --target
2. Execute test
$ python ./ipbench.py --test=latency 
--test-args="bps=6000000000,size=16384"
--client=localhost --test-target=localhost
--target=localhost


3. Setup process begins
Send IPBENCH_SETUP to localhost.
Send IPBENCH_SETUP to target localhost.


Accepted new connection (3).
Running test latency on target localhost (port 7).
testing at 6000000000bps, 16384 byte chunks
Socket type is TCP.
Setting TCP_NODELAY
Latency setup done.
Setup OK.




Accepted new connection (4).
calibrating: 1587206 loops/sec
calibrating: 1576237 loops/sec
calibrating: 1566651 loops/sec
calibrating: 1545289 loops/sec
calibrated OK. 1545289 loops/sec
Setup OK.


4. Test starts
Send IPBENCH_START to localhost
Send IPBENCH_START to target localhost


Latency test start.
transferred 3276800000 bytes in 11244092 microseconds
200000 recvs 200000 sends (200000 samples)
0 late packets.
0 dropped packets.
achieved 2331393232 bps
min rtt was 139 us
average rtt was 168 us
max rtt was 136239 us
rtt std dev was 886919 us^2
median rtt was 145 us
200000 sends, 200000 receives
EAGAIN - send 6106 recv 6116 | RETRYS send 1 recv 0
Latency test complete.



...
System load: 95.9%
System load: 95.9%
System load: 95.9%
System load: 95.7%
...

4. Marshall return data





Got IPBENCH_DATA_RETURN from localhost.
Unmarshall arguments.
Signalling controller data read OK

Sending IPBENCH_STOP to target.
Getting data from target.
Got IPBENCH_DATA_RETURN from target.
Signalling target data read OK

Test ran for 31.738948 seconds.
Latency marshall arguments.
Sending back IPBENCH_DATA_RETURN
Sent data (1600072 bytes)
Waiting for OK response



OK Received











Test ran for 31.745109 seconds.
Averaging 10 samples
Average CPU time is  96.9%.
Sending back IPBENCH_DATA_RETURN
Sent data (13 bytes)
Waiting for OK response

OK Received

5. Output final results
Request Throughput,Achieved Throughput,Sent Throughput
Size,Min,Avg,Max,Std.Dev,Median
6000000000,2331393232,2331393232,
16384,139,168,136239,941.76,145,96.9