summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2013-12-09 12:38:53 -0700
committerJens Axboe <axboe@kernel.dk>2013-12-09 12:38:53 -0700
commit3e260a46ea9a8de224c3d0a29a608da3440f284a (patch)
treebf9084a3b95aec5b3f22ca5ff4de3a5599f8b397 /debug.h
parent572cfb3f4d2cbf22291b395f2bb41facdc17ce86 (diff)
downloadfio-3e260a46ea9a8de224c3d0a29a608da3440f284a.tar.gz
fio-3e260a46ea9a8de224c3d0a29a608da3440f284a.tar.bz2
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>
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug.h b/debug.h
index 6a74131a..e248695e 100644
--- a/debug.h
+++ b/debug.h
@@ -19,6 +19,7 @@ enum {
FD_PROFILE,
FD_TIME,
FD_NET,
+ FD_RATE,
FD_DEBUG_MAX,
};