ddn-ime-evaluation/benchmark/prepare.sh

32 lines
1.1 KiB
Bash
Raw Normal View History

2018-11-13 11:36:15 +00:00
#!/bin/bash
2018-11-13 14:48:24 +00:00
. ./config.sh
2018-11-13 11:36:15 +00:00
2018-12-11 21:30:58 +00:00
#for NN in ${NN_ARR[@]}; do
#TESTFILE="$TD/sharedread${NN}/file"
NN=16
2018-12-17 09:36:47 +00:00
#TESTFILE="/gsfs/jtacquaviva/file_read_gpfs"
TESTFILE="ime:///gsfs/jtacquaviva/file_read_gpfs"
2018-12-11 21:30:58 +00:00
if [ ! -f $TESTFILE ]; then
TESTDIR="$(dirname $TESTFILE)"
2018-11-14 11:27:24 +00:00
mkdir $TESTDIR
2018-12-11 21:30:58 +00:00
#lfs setstripe -c $(($NN * 2)) $TESTDIR
2018-11-13 14:48:24 +00:00
2018-11-15 08:21:56 +00:00
MPIEXEC_PARAMS="-ppn 8 -np $((8*$NN)) --hosts $(hosts $NN) "
2018-12-11 21:30:58 +00:00
MPIEXEC_PARAMS+="-genv MV2_NUM_HCAS 1 -genv MV2_CPU_BINDING_LEVEL core -genv MV2_CPU_BINDING_POLICY scatter "
MPIEXEC_PARAMS+="-genv RDMAV_FORK_SAFE 1 "
MPIEXEC_PARAMS+="-genv RDMAV_HUGEPAGES_SAFE 1 "
2018-12-17 09:36:47 +00:00
#IOR_PARAMS="-i 1 -s 1 -t $((16 * 1024 * 1024)) -b $(($DATASIZE / 8)) -o $TESTFILE -a MPIIO -e -g -k "
IOR_PARAMS="-i 1 -s 1 -t $((16 * 1024 * 1024)) -b $(($DATASIZE / 8)) -o $TESTFILE -a IME -e -g -k "
2018-11-14 11:27:24 +00:00
#IOR_PARAMS+="-D 60 -O stoneWallingWearOut=1 "
2018-11-13 14:48:24 +00:00
2018-11-14 11:27:24 +00:00
#./drop_caches.sh
set -x
2018-11-15 08:21:56 +00:00
$MPIEXEC $MPIEXEC_PARAMS $IOR $IOR_PARAMS -w
set +x
else
2018-12-11 21:30:58 +00:00
echo "skip $TESTFILE"
2018-11-14 11:27:24 +00:00
fi
2018-12-11 21:30:58 +00:00
#done