JonMagon / KDiskMark

A simple open-source disk benchmark tool for Linux distros

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alternative console test with only FIO (Linux/Windows)

Deoptim opened this issue · comments

commented

Description:

File config.fio

[global]
ioengine=windowsaio
#ioengine=libaio
filesize=1g
#directory=G\:\
filename=.fio-diskmark
direct=1	#use O_DIRECT IO (negates buffered)
time_based	#keep running until runtime/timeout is met
runtime=30	#stop workload when this amount of time has passed
loops=1		#number of times to run the job
#refill_buffers	#always writes new random data in the buffer
#randrepeat=0	#do not use repeatable random IO pattern
thread		#use threads instead of processes
stonewall	#insert a hard barrier between this job and previous

[Seq-Read-Q32T1]
startdelay=0
iodepth=32
numjobs=1
bs=1m
rw=read

[Seq-Write-Q32T1]
startdelay=35 #add 5s delay to the job time (based on runtime=30)
iodepth=32
numjobs=1
bs=1m
rw=write

[Rand-Read-4K-Q8T8]
startdelay=70
iodepth=8
numjobs=8
openfiles=8
bs=4k
rw=randread

[Rand-Write-4K-Q8T8]
startdelay=105
iodepth=8
numjobs=8
openfiles=8
bs=4k
rw=randwrite

[Rand-Read-4K-Q32T1]
startdelay=140
iodepth=32
numjobs=1
bs=4k
rw=randread

[Rand-Write-4K-Q32T1]
startdelay=175
iodepth=32
numjobs=1
bs=4k
rw=randwrite

[Rand-Read-4K-Q1T1]
startdelay=210
iodepth=1
numjobs=1
bs=4k
rw=randread

[Rand-Write-4K-Q1T1]
startdelay=245
iodepth=1
numjobs=1
bs=4k
rw=randwrite

Usage on Windows:
Write(or uncomment) "ioengine=windowsaio" option in file config.fio
Execute:
fio --directory=D\:\ --output=log.txt config.fio
(whre disk format must be with additional slash "D:" )

Usage on Linux:
Write(or uncomment) "ioengine=libaio" option in file config.fio
Execute:
fio --directory=/mnt/D/ --output=log.txt config.fio

Output of test will be in log.txt file.