Add options to have fio latency profile a device
authorJens Axboe <axboe@kernel.dk>
Mon, 9 Dec 2013 19:38:53 +0000 (12:38 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Dec 2013 19:38:53 +0000 (12:38 -0700)
commit3e260a46ea9a8de224c3d0a29a608da3440f284a
treebf9084a3b95aec5b3f22ca5ff4de3a5599f8b397
parent572cfb3f4d2cbf22291b395f2bb41facdc17ce86
Add options to have fio latency profile a device

This adds three new options:

- latency_target. This defines a specific latency target, in usec.
- latency_window. This defines the period over which fio samples.
- latency_percentile. This defines the percentage of IOs that must
  meet the criteria specified by latency_target/latency_window.

With these options set, fio will run the described workload and
vary the queue depth between 1 and iodepth= to find the best
performing spot that meets the criteria specified by the three
options.

A sample job file is also added to demonstrate how to use this.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
21 files changed:
HOWTO
README
backend.c
cconv.c
client.c
debug.h
examples/latency-profile.fio [new file with mode: 0644]
fio.1
fio.h
init.c
io_u.c
ioengine.h
libfio.c
options.c
options.h
parse.c
server.c
server.h
stat.c
stat.h
thread_options.h