summaryrefslogtreecommitdiff
path: root/common/scripts
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2015-06-15 16:26:32 -0700
committerArthur She <arthur.she@linaro.org>2015-06-18 11:43:02 -0700
commitb7317e5aeb952710e94c27b73cfcd93aa8780b15 (patch)
tree2f3f18e400dbfeb607055df22b11d44da3c7261d /common/scripts
parent5e142209165bf5118c10ace1affa1917a782caeb (diff)
common: iozone.yaml
IOzone is a filesystem benchmark tool. The benchmark generates and measures a variety of file operations. Change-Id: I21cc59593697d15201f4c1e6cfd8886372dc4ae3
Diffstat (limited to 'common/scripts')
-rwxr-xr-xcommon/scripts/iozone.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/common/scripts/iozone.sh b/common/scripts/iozone.sh
new file mode 100755
index 0000000..cc378a6
--- /dev/null
+++ b/common/scripts/iozone.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+TEST_ITEM="write rewrite read reread random_read random_write bkwd_read record_rewrite stride_read fwrite frewrite fread freread"
+while read in
+do
+ n=1
+ kb=`echo ${in} | cut -d' ' -f 1`
+ reclen=`echo ${in} | cut -d' ' -f 2`
+ for i in `echo ${in} | cut -d' ' -f 3-`
+ do
+ itm=`echo ${TEST_ITEM} | cut -d' ' -f ${n}`
+ echo "${itm}-${kb}-KB-${reclen}-reclen: ${i} pass"
+ n=$(($n+1))
+ done
+done
+