summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@iohq.net>2015-10-23 08:17:40 -0600
committerAaron Ball <nullspoon@iohq.net>2015-10-23 08:17:40 -0600
commit60406733b9340c26858384c7c45c261911386cae (patch)
tree4489c7857d45d8c771543c4e20e9ef3c26e2761e
parentfbb342373fff256ac668e1044294568745e77b96 (diff)
downloaddd-bench-60406733b9340c26858384c7c45c261911386cae.tar.gz
dd-bench-60406733b9340c26858384c7c45c261911386cae.tar.xz
Added 1KB block size tests
-rwxr-xr-xdd-bench.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/dd-bench.sh b/dd-bench.sh
index 7ce79f0..be43d24 100755
--- a/dd-bench.sh
+++ b/dd-bench.sh
@@ -98,9 +98,17 @@ function main {
echo -e "Benchmark started at $(date)\n"
- path=${1}
+ path="${1}"
# Perform benchmark tests
+ log "*** Testing 1 KB blocks"
+ write_bench "${path}" "1K" "10240"
+ read_bench "${path}" "1K" "10240"
+ write_bench "${path}" "1K" "81920"
+ read_bench "${path}" "1K" "81920"
+ write_bench "${path}" "1K" "204800"
+ read_bench "${path}" "1K" "204800"
+
log "*** Testing 1 MB blocks"
write_bench "${path}" "1M" "1024"
read_bench "${path}" "1M" "1024"

Generated by cgit