Whamcloud - gitweb
LU-4108 tests: decrease load for zfs in performance-sanity/4 25/9725/2
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Wed, 19 Mar 2014 14:33:32 +0000 (10:33 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 25 Mar 2014 15:30:06 +0000 (15:30 +0000)
Given the poor performance of metadata on ZFS (cf LU-2600), this patch
decreases the number of files created (similar to what happens in
perforamnce-scale.sh).

Test-Parameters: mdtfilesystemtype=zfs ostfilesystemtype=zfs  mdsfilesystemtype=zfs testlist=performance-sanity
Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I998c8525bf218dacad07d98ac842f4c12102cd9a
Reviewed-on: http://review.whamcloud.com/9725
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
lustre/tests/performance-sanity.sh

index 0ddcaa8..719b682 100644 (file)
@@ -48,6 +48,9 @@ run_test 3 "small file create/open/delete ======"
 
 # mdsrate-create-large
 test_4() {
+    # LU-2600/LU-4108 - Decrease load on zfs
+    [ "$SLOW" = no -a $(facet_fstype $SINGLEMDS) = zfs ] &&
+       NUM_FILES=10000
     echo "Large file creation performance"
     bash mdsrate-create-large.sh
 }