X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre-iokit%2Fobdfilter-survey%2Fobdfilter-survey;h=12a83825a77fbc47f2ceeb042645e1b3eb627283;hb=3c94dc6c6156054293f1e794294036940ee5d578;hp=23e81891273b10e66ae097f3da352259c515ed0d;hpb=0ebfb9e910d2b435eccef7e45a86c136f045f660;p=fs%2Flustre-release.git diff --git a/lustre-iokit/obdfilter-survey/obdfilter-survey b/lustre-iokit/obdfilter-survey/obdfilter-survey index 23e8189..12a8382 100755 --- a/lustre-iokit/obdfilter-survey/obdfilter-survey +++ b/lustre-iokit/obdfilter-survey/obdfilter-survey @@ -527,6 +527,8 @@ for ((rsz = $rszlo; rsz <= $rszhi; rsz*=2)); do for test in ${tests[@]}; do declare -a pidarray for host in ${unique_hosts[@]}; do + remote_shell $host \ + "lctl set_param -n osd*.*OST*.force_sync 1" echo "starting run for test: $test rsz: $rsz " \ "threads: $thr objects: $nobj" >> ${vmstatf}_${host} done @@ -603,7 +605,7 @@ for ((rsz = $rszlo; rsz <= $rszhi; rsz*=2)); do str=$(printf "%17s " SHORT) fi else - str=$(awk "BEGIN {printf \"[%7.2f,%7.2f] \",\ + str=$(awk "BEGIN {printf \"[%7.2f, %7.2f] \",\ (${stats[1]} * $actual_rsz)/1024,\ (${stats[2]} * $actual_rsz)/1024; exit}") fi