From 474bbd262b095cee441e24ee0818745678236d9c Mon Sep 17 00:00:00 2001 From: Nathaniel Clark Date: Thu, 26 Sep 2013 13:39:49 -0400 Subject: [PATCH] LU-2887 tests: disable SLOW for ZFS in parallel-scale Because all zfs pools are on the same physical device in autotest ZFS backed OSTs run VERY slowly so disable SLOW. Decrease load on zfs backed MDS. Test-Parameters: envdefinitions=SLOW=yes,ENABLE_QUOTA=yes mdtfilesystemtype=zfs mdsfilesystemtype=zfs ostfilesystemtype=zfs testlist=parallel-scale Signed-off-by: Nathaniel Clark Change-Id: I99d980adcf4259f8431c351ce6fecb1088419130 Reviewed-on: http://review.whamcloud.com/7778 Tested-by: Jenkins Reviewed-by: Alex Zhuravlev Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- lustre/tests/parallel-scale.sh | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/lustre/tests/parallel-scale.sh b/lustre/tests/parallel-scale.sh index 8746655..ab526c8 100644 --- a/lustre/tests/parallel-scale.sh +++ b/lustre/tests/parallel-scale.sh @@ -11,6 +11,17 @@ init_logging # bug 20670 ALWAYS_EXCEPT="parallel_grouplock $PARALLEL_SCALE_EXCEPT" +if [ $(facet_fstype $SINGLEMDS) = zfs -o $(facet_fstype "ost1") = zfs ]; then + ZFSSLOW=$SLOW + SLOW=no + + cbench_IDIRS=1 + cbench_RUNS=1 + + mdtest_nFiles=10000 + statahead_NUMFILES=100000 +fi + # common setup MACHINEFILE=${MACHINEFILE:-$TMP/$(basename $0 .sh).machines} clients=${CLIENTS:-$HOSTNAME} @@ -20,8 +31,8 @@ num_clients=$(get_node_count ${clients//,/ }) # compilbench if [ "$SLOW" = "no" ]; then - cbench_IDIRS=2 - cbench_RUNS=2 + cbench_IDIRS=${cbench_IDIRS:-2} + cbench_RUNS=${cbench_RUNS:-2} fi # metabench @@ -124,6 +135,9 @@ test_statahead () { } run_test statahead "statahead test, multiple clients" +[ $(facet_fstype $SINGLEMDS) = zfs -o $(facet_fstype "ost1") = zfs] && + SLOW=$ZFSSLOW + complete $SECONDS check_and_cleanup_lustre exit_status -- 1.8.3.1