Whamcloud - gitweb
LU-1625 test: reduce test duration for nfs mode
authorKeith Mannthey <keith@whamcloud.com>
Mon, 13 Aug 2012 19:55:55 +0000 (12:55 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 15 Aug 2012 12:19:56 +0000 (08:19 -0400)
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 <keith@whamcloud.com>
Change-Id: I635d388e4dba5192199602b29ccaae843e9a1346
Reviewed-on: http://review.whamcloud.com/3596
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/parallel-scale-nfs.sh

index 0182c7a..0e07505 100755 (executable)
@@ -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