From 52809289d5e81557784346bc53a436541214690f Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Fri, 16 Mar 2018 14:28:57 +0300 Subject: [PATCH] LU-9273 tests: disable random I/O in replay-ost-single/5 disable random I/O in replay-ost-single/5 as it's very slow on ZFS - this is due to grants as the client consume them way too quickly: 1MB blocksize + ~0.5MB metadata overhead for each random 4K written by iozone. This is a backport to b2_10 of master patch Lustre-change: https://review.whamcloud.com/#/c/31671 Lustre-commit: e3bc6e681666aa2c60ada5f997966efa31fae68c Test-Parameters: trivial ostcount=7 clients=2 ostfilesystemtype=zfs mdtfilesystemtype=zfs testlist=replay-ost-single envdefinitions=SLOW=yes,ONLY=5 Test-Parameters: trivial ostcount=7 clients=2 ostfilesystemtype=zfs mdtfilesystemtype=zfs testlist=replay-ost-single envdefinitions=SLOW=yes,ONLY=5 Test-Parameters: trivial ostcount=7 clients=2 ostfilesystemtype=zfs mdtfilesystemtype=zfs testlist=replay-ost-single envdefinitions=SLOW=yes,ONLY=5 Test-Parameters: trivial ostcount=7 clients=2 ostfilesystemtype=zfs mdtfilesystemtype=zfs testlist=replay-ost-single envdefinitions=SLOW=yes,ONLY=5 Test-Parameters: trivial ostcount=7 clients=2 ostfilesystemtype=zfs mdtfilesystemtype=zfs testlist=replay-ost-single envdefinitions=SLOW=yes,ONLY=5 Change-Id: Ic49429b8c681fdc16e5f95f483d78198b6f4804c Signed-off-by: Alex Zhuravlev Reviewed-on: https://review.whamcloud.com/31671 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: James Nunez (cherry picked from commit e3bc6e681666aa2c60ada5f997966efa31fae68c) Reviewed-on: https://review.whamcloud.com/33053 Reviewed-by: Wei Liu Reviewed-by: Alex Zhuravlev Reviewed-by: John L. Hammond --- lustre/tests/replay-ost-single.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/tests/replay-ost-single.sh b/lustre/tests/replay-ost-single.sh index 07ce0c3..36760bc 100755 --- a/lustre/tests/replay-ost-single.sh +++ b/lustre/tests/replay-ost-single.sh @@ -159,7 +159,8 @@ test_5() { if (( size > GB )); then size=$GB fi - local iozone_opts="-i 0 -i 1 -i 2 -+d -r 4 -s $size -f $TDIR/$tfile" + # no random I/O (-i 2) as it's very slow with ZFS + local iozone_opts="-i 0 -i 1 -+d -r 4 -s $size -f $TDIR/$tfile" iozone_bg $iozone_opts & local pid=$! -- 1.8.3.1