From 551a831a09b125cc20962ca3cc4593b728efb028 Mon Sep 17 00:00:00 2001 From: Emoly Liu Date: Tue, 8 Jan 2013 11:16:27 +0800 Subject: [PATCH] LU-1625 test: reduce test duration for nfs mode There isn't much value to run long duration in nfs mode. Cut down IOR test as well. Based on original work by Minh Diep. port of patch f518a40d96d3431f3d68de9eac99ea33498894c7 port of patch e69d9852bc095695ceecb219b84bd8a48d5aa10c Test-Parameters: envdefinitions=SLOW=yes,ENABLE_QUOTA=yes \ testlist=parallel-scale-nfsv3,parallel-scale-nfsv4 Signed-off-by: Keith Mannthey Change-Id: I308d2dcedcb86bbc86b3d2b875e91ceeb2b96f6e Signed-off-by: Liu Ying Reviewed-on: http://review.whamcloud.com/4949 Reviewed-by: Jian Yu Tested-by: Hudson Tested-by: Maloo Reviewed-by: Li Wei Reviewed-by: Johann Lombardi --- lustre/tests/parallel-scale-nfs.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lustre/tests/parallel-scale-nfs.sh b/lustre/tests/parallel-scale-nfs.sh index dd34e3f..db3d2e5 100755 --- a/lustre/tests/parallel-scale-nfs.sh +++ b/lustre/tests/parallel-scale-nfs.sh @@ -49,19 +49,19 @@ 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 # IOR -[ "$SLOW" = "no" ] && ior_DURATION=30 +ior_DURATION=${ior_DURATION:-30} # source the common file after all parameters are set to take affect . $LUSTRE/tests/functions.sh -- 1.8.3.1