1 [global] 2 ioengine=falloc 3 iodepth=1 4 direct=0 5 buffered=0 6 directory=/scratch 7 nrfiles=1 8 size=100M 9 filesize=100M 10 group_reporting 11 12 13 # Run falloc and punch_hole threads in parallel 14 # After activity file will be highly fragmented 15 [falloc-fuzzer] 16 stonewall 17 runtime=10 18 time_based=10 19 bssplit=4k/10:64k/50:32k/40 20 rw=randwrite 21 numjobs=1 22 filename=fragmented_file 23 24 [punch hole-fuzzer] 25 bs=4k 26 runtime=10 27 time_based=10 28 rw=randtrim 29 numjobs=2 30 filename=fragmented_file 31 32 ## Mesure IO performance on fragmented file 33 [sequential aio-dio write] 34 stonewall 35 ioengine=libaio 36 numjobs=1 37 iodepth=128 38 buffered=0 39 direct=1 40 rw=write 41 bs=64k 42 filename=fragmented_file 43 44 [sequential buffered read] 45 stonewall 46 ioengine=sync 47 numjobs=1 48 iodepth=1 49 buffered=1 50 direct=0 51 rw=read 52 bs=64k 53 filename=fragmented_file 54 55