steadystate: Use calloc(3)
[fio.git] / examples / rand-zones.fio
CommitLineData
e0a04ac1
JA
1# Sample job file demonstrating how to use zoned random distributionss
2# to have skewed random accesses. This example has 50% of the accesses
3# to the first 5% of the file (50/5), 30% to the next 15% (30/15), and
4# finally 20% of the IO will end up in the remaining 80%.
5[zones]
6size=2g
7direct=1
8bs=4k
9rw=randread
10norandommap
11random_distribution=zoned:50/5:30/15:20/
12
13# The above applies to all of reads/writes/trims. If we wanted to do
14# something differently for writes, let's say 50% for the first 10%
15# and 50% for the remaining 90%, we could do it by adding a new section
16# after a a comma.
17
18# random_distribution=zoned:50/5:30/15:20/,50/10:50/90