From 2bcb4312e9bdd71889d9debd6f591048411707e4 Mon Sep 17 00:00:00 2001 From: Nils Steinger Date: Thu, 1 Jun 2017 18:26:29 +0200 Subject: [PATCH] Use direct IO (O_DIRECT) for ioping test --- nench.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nench.sh b/nench.sh index e6a2051..72fe323 100755 --- a/nench.sh +++ b/nench.sh @@ -172,9 +172,9 @@ printf '\n' # ioping printf 'ioping: seek rate\n ' -"$ioping_cmd" -R -w 5 . | tail -n 1 +"$ioping_cmd" -DR -w 5 . | tail -n 1 printf 'ioping: sequential read speed\n ' -"$ioping_cmd" -RL -w 5 . | tail -n 2 | head -n 1 +"$ioping_cmd" -DRL -w 5 . | tail -n 2 | head -n 1 printf '\n'