summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2012-03-08 05:10:58 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2012-03-08 05:10:58 +0100
commit118175a1f2988081241eddb3a49ef505abedf79d (patch)
treee00c258d9d148ba1648e8b6401268f676824e035
parentd8a59c319f553b1d1ec0d4a4ee47e8a832c5e235 (diff)
downloadfwbench-118175a1f2988081241eddb3a49ef505abedf79d.tar.gz
fwbench-118175a1f2988081241eddb3a49ef505abedf79d.tar.bz2
fwbench-118175a1f2988081241eddb3a49ef505abedf79d.tar.xz
fwbench-118175a1f2988081241eddb3a49ef505abedf79d.zip
make a pause between tests to allow hardware to empty caches
-rwxr-xr-xfwbench.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/fwbench.sh b/fwbench.sh
index e8014ef..de86385 100755
--- a/fwbench.sh
+++ b/fwbench.sh
@@ -34,6 +34,7 @@ while [ $res -ne 0 ]; do
speed=$((speed - 50))
fwbench -b 1024 -m 0 -r $speed -s $size -o $out
res=$?
+ usleep 500000
done
echo "Maximal speed: $speed"