Fixed cache dropping
This commit is contained in:
parent
9dd8a784b4
commit
cdbc08d9de
|
@ -36,8 +36,6 @@ for API in ${API_ARR[@]}; do
|
|||
[ ! -d $OUTDIR ] && mkdir $OUTDIR
|
||||
touch $BENCHFILE
|
||||
|
||||
$MPIEXEC $MPIEXEC_PARAMS ./drop_caches.sh
|
||||
|
||||
IOR_TYPE_OPTS=""
|
||||
if [[ "read" == $TYPE ]]; then
|
||||
IOR_TYPE_OPTS="-r"
|
||||
|
@ -46,17 +44,14 @@ for API in ${API_ARR[@]}; do
|
|||
lfs getstripe $TESTDIR | tee -a $BENCHFILE
|
||||
|
||||
elif [[ "write" == $TYPE ]]; then
|
||||
set -x
|
||||
IOR_TYPE_OPTS="-w"
|
||||
LUSTRE_TESTFILE="$TD/sharedwrite/file"
|
||||
TESTDIR="$(dirname $LUSTRE_TESTFILE)"
|
||||
[ -d $TESTDIR ] && rm -r $TESTDIR || mkdir -p $TESTDIR
|
||||
lfs setstripe -c $((2 * $NN)) $TESTDIR
|
||||
lfs getstripe $TESTDIR | tee -a $BENCHFILE
|
||||
set +x
|
||||
fi
|
||||
|
||||
|
||||
IOR_PARAMS="-i 1 "
|
||||
IOR_PARAMS+="-s 1 -t $T -b $((4800 * 1024 * 1024 * 32 / $PPN)) "
|
||||
IOR_PARAMS+="-D 60 -O stoneWallingWearOut=1 "
|
||||
|
@ -64,10 +59,13 @@ set +x
|
|||
IOR_PARAMS+="-e -g -z -k -o $LUSTRE_TESTFILE $IOR_TYPE_OPTS "
|
||||
|
||||
if [[ "isc17" == ${hostname:0:5} ]]; then
|
||||
$MPIEXEC -np $NN --hosts $(hosts $NN) ./drop_caches.sh
|
||||
|
||||
MPIEXEC_PARAMS=" -ppn $PPN -np $(($NN * $PPN)) --hosts $(hosts $NN) -wdir $WD "
|
||||
MPIEXEC_PARAMS+="-genv MV2_NUM_HCAS 1 "
|
||||
MPIEXEC_PARAMS+="-genv MV2_CPU_BINDING_LEVEL core "
|
||||
MPIEXEC_PARAMS+="-genv MV2_CPU_BINDING_POLICY scatter "
|
||||
|
||||
elif [[ "m" == ${hostname:0:1} ]]; then
|
||||
#MPIEXEC_PARAMS=" -ppn $PPN -n $(($NN * $PPN)) -wdir $WD --host $(hosts $NN) "
|
||||
MPIEXEC_PARAMS=" -ppn $PPN -n $(($NN * $PPN)) -wdir $WD "
|
||||
|
|
Loading…
Reference in New Issue