From d31a60537d43ae6bb69cb5125a58448018814da0 Mon Sep 17 00:00:00 2001 From: Nils Steinger Date: Thu, 1 Jun 2017 18:21:09 +0200 Subject: [PATCH] Use GNU dd for dd benchmark --- nench.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nench.sh b/nench.sh index 56ccb0e..79f5270 100755 --- a/nench.sh +++ b/nench.sh @@ -69,7 +69,7 @@ dd_benchmark() # The awk script assumes bytes/second if the suffix is !~ [TGMK]B. Call me # if your storage system does more than terabytes per second; I'll want to # see that. - LC_ALL=C dd if=/dev/zero of=test_$$ bs=64k count=16k conv=fdatasync 2>&1 | \ + LC_ALL=C "$gnu_dd" if=/dev/zero of=test_$$ bs=64k count=16k conv=fdatasync 2>&1 | \ awk -F, ' { io=$NF