diff options
author | Aaron Ball <nullspoon@iohq.net> | 2015-10-23 08:17:40 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@iohq.net> | 2015-10-23 08:17:40 -0600 |
commit | 60406733b9340c26858384c7c45c261911386cae (patch) | |
tree | 4489c7857d45d8c771543c4e20e9ef3c26e2761e | |
parent | fbb342373fff256ac668e1044294568745e77b96 (diff) | |
download | dd-bench-60406733b9340c26858384c7c45c261911386cae.tar.gz dd-bench-60406733b9340c26858384c7c45c261911386cae.tar.xz |
Added 1KB block size tests
-rwxr-xr-x | dd-bench.sh | 10 |
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" |