1# Test job that demonstrates how to use the latency target
2# profiling. Fio will find the queue depth between 1..128
3# that fits within the latency constraints of this 4k random
4# read workload.
5
6[global]
7bs=4k
8rw=randread
9random_generator=lfsr
10direct=1
11ioengine=libaio
12iodepth=128
13# Set max acceptable latency to 500msec
14latency_target=500000
15# profile over a 5s window
16latency_window=5000000
17# 99.9% of IOs must be below the target
18latency_percentile=99.9
19
20[device]
21filename=/dev/sda
22