Explorar o código

make a pause between tests to allow hardware to empty caches

Suren A. Chilingaryan %!s(int64=12) %!d(string=hai) anos
pai
achega
118175a1f2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      fwbench.sh

+ 1 - 0
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"