From: Keith Mannthey Date: Mon, 13 Aug 2012 19:55:55 +0000 (-0700) Subject: LU-1625 test: reduce test duration for nfs mode X-Git-Tag: 2.2.93~10 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=f518a40d96d3431f3d68de9eac99ea33498894c7;p=fs%2Flustre-release.git LU-1625 test: reduce test duration for nfs mode There isn't much value to run long duration in nfs mode. Based on original work by Minh Diep. Test-Parameters: testgroup=full Signed-off-by: Keith Mannthey Change-Id: I635d388e4dba5192199602b29ccaae843e9a1346 Reviewed-on: http://review.whamcloud.com/3596 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/parallel-scale-nfs.sh b/lustre/tests/parallel-scale-nfs.sh index 0182c7a..0e07505 100755 --- a/lustre/tests/parallel-scale-nfs.sh +++ b/lustre/tests/parallel-scale-nfs.sh @@ -49,13 +49,13 @@ generate_machine_file $clients $MACHINEFILE || \ num_clients=$(get_node_count ${clients//,/ }) # compilbench -if [ "$SLOW" = "no" ]; then - cbench_IDIRS=2 - cbench_RUNS=2 -fi +# Run short iteration in nfs mode +cbench_IDIRS=${cbench_IDIRS:-2} +cbench_RUNS=${cbench_RUNS:-2} # metabench -[ "$SLOW" = "no" ] && mbench_NFILES=10000 +# Run quick in nfs mode +mbench_NFILES=${mbench_NFILES:-10000} # connectathon [ "$SLOW" = "no" ] && cnt_NRUN=2