Whamcloud - gitweb
LU-1018 tests: reduce runtime value for compilebench
authorMinh Diep <minh.diep@intel.com>
Thu, 17 Jan 2013 15:57:41 +0000 (07:57 -0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 21 Jan 2013 19:44:39 +0000 (14:44 -0500)
We are reducing the cbench_IDIRS and cbench_RUNS to 2.
These variables can be adjusted to other runs beside
sanity check.

Test-Parameters: envdefinitions=SLOW=yes,ENABLE_QUOTA=yes testlist=parallel-scale
Signed-off-by: Minh Diep <minh.diep@intel.com>
Change-Id: If03f7b5a71eb8a4b4b380638af872a012f9cdac5
Reviewed-on: http://review.whamcloud.com/5052
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/functions.sh

index 3543946..c039746 100644 (file)
@@ -268,17 +268,13 @@ print_opts () {
 
 run_compilebench() {
 
 
 run_compilebench() {
 
-# Takes:
-# 5 min * cbench_RUNS
-#        SLOW=no     10 mins
-#        SLOW=yes    50 mins
 # Space estimation:
 #        compile dir kernel-1 680MB
 # Space estimation:
 #        compile dir kernel-1 680MB
-#        required space       680MB * cbench_IDIRS = ~7 Gb
+#        required space       680MB * cbench_IDIRS = ~1.4 Gb
 
     cbench_DIR=${cbench_DIR:-""}
 
     cbench_DIR=${cbench_DIR:-""}
-    cbench_IDIRS=${cbench_IDIRS:-4}
-    cbench_RUNS=${cbench_RUNS:-4}
+    cbench_IDIRS=${cbench_IDIRS:-2}
+    cbench_RUNS=${cbench_RUNS:-2}
 
     print_opts cbench_DIR cbench_IDIRS cbench_RUNS
 
 
     print_opts cbench_DIR cbench_IDIRS cbench_RUNS