Skip to content

Commit 1e8b423

Browse files
committed
readme update and made default work directory ./
1 parent 29d16a0 commit 1e8b423

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ files in this project
2727
> data_emc.r
2828
> data_ssd.r
2929
> data_pharos.r
30+
> data_mem.r
3031

3132
Running fio.sh
3233
---------------------------
@@ -51,13 +52,15 @@ varied.
5152
OPTIONS:
5253
-h Show this message
5354
-b binary name of fio binary, defaults to ./fio
54-
-d directory work directory where fio creates a fio and reads and writes, default /domain0/fiotest
55+
-d directory work directory where fio creates a file and reads and writes,
56+
default ./ (and default filename created is fiodata)
5557
-o directory results directory, where to put output files, defaults to ./
56-
-t tests tests to run, defaults to all, options are
58+
-t tests tests to run, defaults to readrand,read,write
59+
options are
5760
readrand - IOPS test : 8k by 1,8,16,32 users
5861
read - MB/s test : 1M by 1,8,16,32 users & 8k,32k,128k,1m by 1 user
59-
write - redo test, ie sync seq writes : 1k, 4k, 8k, 128k, 1024k by 1 user
60-
randrw - workload test: 8k read write by 1,8,16,32 users
62+
write - redo test, ie sync seq writes : 1k, 8k, 128k by 1 user
63+
randrw - workload test: 8k read and write by 1,8,16,32 users
6164
-s seconds seconds to run each test for, default 60
6265
-m megabytes megabytes for the test I/O file to be used, default 8000 (ie 8G)
6366
-i individual file per process, default size 100m (overrides -m )

fio.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ SEEDFILE=fio_random.dat
2525

2626
DIRECT=1
2727
BINARY="./fio"
28-
DIRECTORY="/domain0/fiotest"
28+
if [ -f /etc/delphix/version ] ; then
29+
DIRECTORY="/domain0/fiotest"
30+
else
31+
DIRECTORY="./"
32+
fi
2933
OUTPUT="."
3034
TESTS="all"
3135
SECS="60"
@@ -38,6 +42,7 @@ CUSTOMBLOCKSIZE=-1
3842
FILE=fiodata
3943
FILENAME="filename=$FILE"
4044
RAW=0
45+
NOZFS=0
4146

4247
DTRACE1=""
4348
DTRACE2=""

0 commit comments

Comments
 (0)