Add support for latency probing over an interval of load
authorJens Axboe <axboe@kernel.dk>
Wed, 24 Oct 2018 11:01:43 +0000 (05:01 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Oct 2018 11:01:43 +0000 (05:01 -0600)
commit1a7081c7c3884b3eac9cfe6b3ae1d6dc341e7ed2
tree06e196229dd16ff517bc55821c775908556e8aaf
parentd7e92306bde2117702ed96b7c5647d9485869047
Add support for latency probing over an interval of load

Provide a way to easily run a latency probe on the device.
You define a job with peak parameters, and then probe settings
for generating iops/latency numbers based on that workload.
The latter looks something like this:

iodepth_mode=stepped:10-130/10,5/10

which has the format of:

low_percentage-high_percentage/step,ramp_time/run_time

The above would probe from 10% of peak performance to 130%,
in steps of 10%. For each step, it would run a 5 second ramp,
then do 10 seconds of testing. For percentages <= 100%,
fio will limit the IOPS. For percentages above, it'll ramp up
the queue depth. For each section run, it'll look the avg
completion latency associated with that queue depth / iops
setting.

Has normal output (which sucks), and json output. Still
experimenting, not final form yet.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
17 files changed:
Makefile
backend.c
cconv.c
client.c
examples/iodepth_mode_stepped.fio [new file with mode: 0644]
fio.h
init.c
io_u.c
libfio.c
options.c
server.c
server.h
stat.c
stat.h
target.c [new file with mode: 0644]
target.h [new file with mode: 0644]
thread_options.h