test-fio-libaio
This commit is contained in:
parent
0d017e6431
commit
72f7117c00
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
IMG_S=13107200 #50GiB
|
IMG_S=6553600 #25GiB
|
||||||
R_T=60
|
R_T=60
|
||||||
TESTS="randwrite randread randrw"
|
TESTS="randwrite randread randrw"
|
||||||
OBJ_LST="64K 256K 1M 4M "
|
OBJ_LST="64K 256K 1M 4M "
|
||||||
|
@ -16,7 +16,7 @@ FIO_PRM_CONST="-ioengine=libaio -name=test -runtime=$R_T "
|
||||||
for OBJ in $OBJ_LST ; do
|
for OBJ in $OBJ_LST ; do
|
||||||
for BS in $BS_LST ; do
|
for BS in $BS_LST ; do
|
||||||
# crear imagen de 100G
|
# crear imagen de 100G
|
||||||
IMG="image-$MY_HOST-$OBJ"
|
IMG="image-$MY_HOST"
|
||||||
if [[ ! -f $IMG ]] ; then
|
if [[ ! -f $IMG ]] ; then
|
||||||
echo "dd if=/dev/urandom of=$IMG bs=4k count=$IMG_S status=progress"
|
echo "dd if=/dev/urandom of=$IMG bs=4k count=$IMG_S status=progress"
|
||||||
dd if=/dev/urandom of=$IMG bs=4k count=$IMG_S status=progress
|
dd if=/dev/urandom of=$IMG bs=4k count=$IMG_S status=progress
|
||||||
|
|
Loading…
Reference in a new issue