name=4kQ8T8write -bs=4k -iodepth=8 -numjobs=8 -rw=randwrite > $TARGET/.fiomark.txt name=4kQ8T8read -bs=4k -iodepth=8 -numjobs=8 -rw=randread \ name=4kQ32T1write -bs=4k -iodepth=32 -numjobs=1 -rw=randwrite \ name=4kQ32T1read -bs=4k -iodepth=32 -numjobs=1 -rw=randread \ name=4kwrite -bs=4k -iodepth=1 -numjobs=1 -rw=randwrite \ name=4kread -bs=4k -iodepth=1 -numjobs=1 -rw=randread \ name=SeqQ32T1write -bs= $QSIZE -iodepth=32 -numjobs=1 -rw=write \ name=SeqQ32T1read -bs= $QSIZE -iodepth=32 -numjobs=1 -rw=read \ name=Seqwrite -bs= $SIZE -iodepth=1 -numjobs=1 -rw=write \ name=Seqread -bs= $SIZE -iodepth=1 -numjobs=1 -rw=read \ name=Bufread -loops=1 -bs= $SIZE -iodepth=1 -numjobs=1 -rw=readwrite \ Running Benchmark on: /dev/ $DRIVE, $DRIVEMODEL ( $DRIVESIZE), please wait.įio -loops= $LOOPS -size= $SIZE -filename= $TARGET/.fiomark.tmp -stonewall -ioengine=libaio -direct=1 -zero_buffers= $WRITEZERO -output-format=json \ QSIZE= $(( $SIZE / 32 )) #Size of Q32Seq testsĮcho "Defaulting to $TARGET for testing "ĭRIVE= $(df $TARGET | grep /dev | cut -d/ -f3 | cut -d " " -f1 | rev | cut -c 2- | rev )ĭRIVEMODEL= $(cat /sys/block/ $DRIVE/device/model )ĭRIVESIZE= $(($(cat /sys /block / $DRIVE /size) * 512 / 1024 / 1024 / 1024 ))GBĮcho "Configuration: Size: $SIZE Loops: $LOOPS Write Only Zeroes: $WRITEZERO WRITEZERO=0 #Set whether to write zeroes or randoms to testfile (random is the default for both fio and crystaldiskmark) dd benchmarks typically only write zeroes which is why there can be a speed difference. SIZE=1024 #Size of each test, multiples of 32 recommended for Q32 tests to give the most accurate results.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |