Home | History | Annotate | Download | only in examples
      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]
      7 bs=4k
      8 rw=randread
      9 random_generator=lfsr
     10 direct=1
     11 ioengine=libaio
     12 iodepth=128
     13 # Set max acceptable latency to 500msec
     14 latency_target=500000
     15 # profile over a 5s window
     16 latency_window=5000000
     17 # 99.9% of IOs must be below the target
     18 latency_percentile=99.9
     19 
     20 [device]
     21 filename=/dev/sda
     22