Last active
March 1, 2017 00:57
-
-
Save gmatheu/6a9568853fb4a9c70ff3 to your computer and use it in GitHub Desktop.
Revisions
-
gmatheu revised this gist
Mar 1, 2017 . 1 changed file with 0 additions and 38 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,4 @@ # https://wiki.mikejung.biz/Benchmarking#How_to_Break_In_an_SSD_before_Benchmarking #--filename=$block_dev echo "FIO randwrite" @@ -38,40 +37,3 @@ sysbench --test=fileio --file-total-size=8G --file-test-mode=rndrd --max-time=60 echo "sysbench fileio cleanup" sysbench --test=fileio --file-total-size=8G --file-num=64 cleanup -
gmatheu revised this gist
Mar 1, 2017 . 1 changed file with 39 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,43 @@ # https://wiki.mikejung.biz/Benchmarking#How_to_Break_In_an_SSD_before_Benchmarking # https://wiki.mikejung.biz/Benchmarking#How_to_Break_In_an_SSD_before_Benchmarking #--filename=$block_dev echo "FIO randwrite" fio --name=randwrite --ioengine=libaio --iodepth=1 --rw=randwrite --bs=4k --direct=0 --size=1024M \ --numjobs=8 --runtime=240 --group_reporting --output-format=json > fio-randwrite.json; echo "FIO randread" fio --name=randread --ioengine=libaio --iodepth=16 --rw=randread --bs=4k --direct=0 --size=1024M \ --numjobs=8 --runtime=240 --group_reporting --output-format=json > fio-randread.json; rm *.0 echo "sysbench memory read" sysbench --test=memory --memory-block-size=1K --memory-scope=global --memory-total-size=100G \ --memory-oper=read run > sysbench-memory-read.out echo "sysbench memory write" sysbench --test=memory --memory-block-size=1K --memory-scope=global --memory-total-size=100G \ --memory-oper=write run > sysbench-memory-write.out for each in 1 2 4 8 16; do echo "sysbench cpu: $each" sysbench --test=cpu --cpu-max-prime=20000 --num-threads=$each run > sysbench-cpu-$each.out; done echo "sysbench fileio prepare" sysbench --test=fileio --file-total-size=8G --file-num=64 prepare thread=8 run=1 echo "sysbench fileio rndwr ${thread} threads" sysbench --test=fileio --file-total-size=8G --file-test-mode=rndwr --max-time=60 --max-requests=0 \ --file-block-size=4K --file-num=64 --num-threads=${thread} run > sysbench-fileio-rndwr_${thread}T-${run}.out echo "sysbench fileio rndrd ${thread} threads" sysbench --test=fileio --file-total-size=8G --file-test-mode=rndrd --max-time=60 --max-requests=0 \ --file-block-size=4K --file-num=64 --num-threads=${thread} run > sysbench-fileio-rndrd_${thread}T-${run}.out echo "sysbench fileio cleanup" sysbench --test=fileio --file-total-size=8G --file-num=64 cleanup #--filename=$block_dev echo "FIO randwrite" -
gmatheu revised this gist
Mar 1, 2017 . 1 changed file with 11 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,31 +1,38 @@ # https://wiki.mikejung.biz/Benchmarking#How_to_Break_In_an_SSD_before_Benchmarking #--filename=$block_dev echo "FIO randwrite" fio --name=randwrite --ioengine=libaio --iodepth=1 --rw=randwrite --bs=4k --direct=0 --size=1024M \ --numjobs=8 --runtime=240 --group_reporting --output-format=json > fio-randwrite.json; echo "FIO randread" fio --name=randread --ioengine=libaio --iodepth=16 --rw=randread --bs=4k --direct=0 --size=1024M \ --numjobs=8 --runtime=240 --group_reporting --output-format=json > fio-randread.json; echo "sysbench memory read" sysbench --test=memory --memory-block-size=1K --memory-scope=global --memory-total-size=100G \ --memory-oper=read run > sysbench-memory-read.out echo "sysbench memory write" sysbench --test=memory --memory-block-size=1K --memory-scope=global --memory-total-size=100G \ --memory-oper=write run > sysbench-memory-write.out for each in 1 2 4 8 16; do echo "sysbench cpu: $each" sysbench --test=cpu --cpu-max-prime=20000 --num-threads=$each run > sysbench-cpu-$each.out; done echo "sysbench fileio prepare" sysbench --test=fileio --file-total-size=8G --file-num=64 prepare thread=8 run=1 echo "sysbench fileio rndwr ${thread} threads" sysbench --test=fileio --file-total-size=8G --file-test-mode=rndwr --max-time=60 --max-requests=0 \ --file-block-size=4K --file-num=64 --num-threads=${thread} run > sysbench-fileio-rndwr_{thread}T-${run}.out echo "sysbench fileio rndrd ${thread} threads" sysbench --test=fileio --file-total-size=8G --file-test-mode=rndrd --max-time=60 --max-requests=0 \ --file-block-size=4K --file-num=64 --num-threads=${thread} run > sysbench-fileio-rndrd_{thread}T-${run}.out echo "sysbench fileio cleanup" sysbench --test=fileio --file-total-size=8G --file-num=64 cleanup -
gmatheu created this gist
Jan 10, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,31 @@ # https://wiki.mikejung.biz/Benchmarking#How_to_Break_In_an_SSD_before_Benchmarking #--filename=$block_dev fio --name=randwrite --ioengine=libaio --iodepth=1 --rw=randwrite --bs=4k --direct=0 --size=1024M \ --numjobs=8 --runtime=240 --group_reporting --output-format=json > fio-randwrite.json; fio --name=randread --ioengine=libaio --iodepth=16 --rw=randread --bs=4k --direct=0 --size=1024M \ --numjobs=8 --runtime=240 --group_reporting --output-format=json > fio-randread.json; sysbench --test=memory --memory-block-size=1K --memory-scope=global --memory-total-size=100G \ --memory-oper=read run > sysbench-memory-read.out sysbench --test=memory --memory-block-size=1K --memory-scope=global --memory-total-size=100G \ --memory-oper=write run > sysbench-memory-write.out for each in 1 2 4 8 16; do sysbench --test=cpu --cpu-max-prime=20000 --num-threads=$each run > sysbench-cpu-$each.out; done sysbench --test=fileio --file-total-size=8G --file-num=64 prepare thread=8 run=1 echo "Performing test RW-${thread}T-${run}" sysbench --test=fileio --file-total-size=8G --file-test-mode=rndwr --max-time=60 --max-requests=0 \ --file-block-size=4K --file-num=64 --num-threads=${thread} run > /root/RW-${thread}T-${run} echo "Performing test RR-${thread}T-${run}" sysbench --test=fileio --file-total-size=8G --file-test-mode=rndrd --max-time=60 --max-requests=0 \ --file-block-size=4K --file-num=64 --num-threads=${thread} run > /root/RR-${thread}T-${run} sysbench --test=fileio --file-total-size=8G --file-num=64 cleanup