Skip to content

Instantly share code, notes, and snippets.

@ambud
Last active February 27, 2017 23:46
Show Gist options
  • Select an option

  • Save ambud/b39b34d96df28298702c740728653b6e to your computer and use it in GitHub Desktop.

Select an option

Save ambud/b39b34d96df28298702c740728653b6e to your computer and use it in GitHub Desktop.
FIO
# Test job that demonstrates how to use the latency target
# profiling. Fio will find the queue depth between 1..128
# that fits within the latency constraints of this 4k random
# read workload.
[global]
bs=4k
rw=randrw
random_generator=lfsr
direct=1
ioengine=libaio
iodepth=128
# Set max acceptable latency to 500msec
latency_target=500000
# profile over a 5s window
latency_window=5000000
# 99.9% of IOs must be below the target
latency_percentile=99.9
size=1024m
[device]
filename=<location of the director>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment