From 06807992f74ac3cc58f2f3bdeb322ff51b7342d9 Mon Sep 17 00:00:00 2001 From: "Julian M. Kunkel" Date: Tue, 30 Oct 2018 12:33:08 +0000 Subject: [PATCH] Nai --- benchmark/run.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/benchmark/run.sh b/benchmark/run.sh index ac623ca08..c3684e3ae 100755 --- a/benchmark/run.sh +++ b/benchmark/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash function force_exit { echo "Committing suicide (PID $$)" @@ -16,7 +16,7 @@ function hosts() { HOST_LIST=( isc17-c04 isc17-c05 isc17-c06 isc17-c07 isc17-c08 isc17-c09 isc17-c11 isc17-c12 isc17-c13 isc17-c14 isc17-c15 isc17-c18 isc17-c22 isc17-c01 isc17-c02 isc17-c03 ) hlist=${HOST_LIST[0]} - for POS in $(seq 1 $(($num - 1))) ; do + for POS in $(seq 1 $(($num - 1))) ; do hlist="$hlist,${HOST_LIST[$POS]}" done echo $hlist @@ -44,10 +44,10 @@ PPN_ARR=( 8 4 1 6 2) T_ARR=( $((10*1024*1024)) $((1*1024*1024)) $((100*1024)) $((16*1024)) ) for COUNT in $(seq 1); do -for NN in ${NN_ARR[@]}; do -for T in ${T_ARR[@]}; do -for PPN in ${PPN_ARR[@]}; do -for API in ${API_ARR[@]}; do +for NN in ${NN_ARR[@]}; do +for T in ${T_ARR[@]}; do +for PPN in ${PPN_ARR[@]}; do +for API in ${API_ARR[@]}; do BENCHFILE="./output/COUNT:$COUNT#NN:$NN#PPN:$PPN#API:$API#T:$T.txt" @@ -76,12 +76,14 @@ for API in ${API_ARR[@]}; do if [ -d $TESTDIR ]; then rm -r $TESTDIR fi - mkdir -p $TESTDIR + mkdir -p $TESTDIR lfs setstripe -c $((2 * $NN)) $TESTDIR ( set -x $MPIEXEC $MPIEXEC_PARAMS $IOR $IOR_PARAMS -o $LUSTRE_TESTFILE_WRITE -w | tee -a $BENCHFILE + free -m $MPIEXEC $MPIEXEC_PARAMS /esfs/jtacquaviva/git/ime-evaluation/drop_caches.sh + free -m $MPIEXEC $MPIEXEC_PARAMS $IOR $IOR_PARAMS -o $LUSTRE_TESTFILE_READ -r | tee -a $BENCHFILE set +x ) 2> >(tee -a $BENCHFILE) @@ -95,4 +97,3 @@ done done done done -