Use GNU dd for dd benchmark

This commit is contained in:
Nils Steinger 2017-06-01 18:21:09 +02:00
parent a3db271bc9
commit d31a60537d
1 changed files with 1 additions and 1 deletions

View File

@ -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