summaryrefslogtreecommitdiff
path: root/dd_benchmark
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-04-16 16:34:33 +0200
committerPatrick Simianer <p@simianer.de>2016-04-16 16:34:33 +0200
commit95b3e4bb744932ce4eac14bb350cc0455d15848a (patch)
treec96093d9667c87264a8820d876041fe96b068f57 /dd_benchmark
parentfca926851e1d56eeb0044727fe976252d646f48d (diff)
mv
Diffstat (limited to 'dd_benchmark')
-rwxr-xr-xdd_benchmark18
1 files changed, 0 insertions, 18 deletions
diff --git a/dd_benchmark b/dd_benchmark
deleted file mode 100755
index 0db9a46..0000000
--- a/dd_benchmark
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-for i in {0..4}; do
-echo "WRITE SPEED"
-dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc
-echo
-
-echo "READ SPEED"
-echo 3 > /proc/sys/vm/drop_caches
-dd if=tempfile of=/dev/null bs=1M count=1024
-echo
-
-echo "BUFFERED READ SPEED"
-dd if=tempfile of=/dev/null bs=1M count=1024
-
-rm tempfile
-done
-