Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* changed parameter defaults
[fs/lustre-release.git]
/
lustre-iokit
/
sgpdd-survey
/
sgpdd-survey
diff --git
a/lustre-iokit/sgpdd-survey/sgpdd-survey
b/lustre-iokit/sgpdd-survey/sgpdd-survey
index
0b1fdc6
..
75dcc65
100755
(executable)
--- a/
lustre-iokit/sgpdd-survey/sgpdd-survey
+++ b/
lustre-iokit/sgpdd-survey/sgpdd-survey
@@
-26,9
+26,9
@@
crglo=1
crghi=256
# threads to share between concurrent regions per device
crghi=256
# threads to share between concurrent regions per device
-# NB survey skips over #thr < #regions and #thr > SG_MAX_QUEUE
+# NB survey skips over #thr < #regions and #thr
/#regions
> SG_MAX_QUEUE
thrlo=1
thrlo=1
-thrhi=
8192
+thrhi=
4096
#####################################################################
#####################################################################
@@
-80,7
+80,7
@@
for ((rsz=$rszlo;rsz<=$rszhi;rsz*=2)); do
# show computed parameters
actual_rsz=$((bpt*bs/1024))
actual_size=$((bs*count*crg/1024))
# show computed parameters
actual_rsz=$((bpt*bs/1024))
actual_size=$((bs*count*crg/1024))
- str=`printf 'total_size %8dK rsz %4d crg %5d thr %
3
d ' \
+ str=`printf 'total_size %8dK rsz %4d crg %5d thr %
5
d ' \
$((actual_size*ndevs)) $actual_rsz $((crg*ndevs)) $((thr*ndevs))`
echo "==============> $str" >> $workf
print_summary -n "$str"
$((actual_size*ndevs)) $actual_rsz $((crg*ndevs)) $((thr*ndevs))`
echo "==============> $str" >> $workf
print_summary -n "$str"
@@
-135,7
+135,7
@@
for ((rsz=$rszlo;rsz<=$rszhi;rsz*=2)); do
# compute MB/sec from nregions*slowest
check=`awk < $tmpf \
'/time to transfer data/ {mb=$8/1.048576; if (n == 0 || mb < min) min = mb; n++}\
# compute MB/sec from nregions*slowest
check=`awk < $tmpf \
'/time to transfer data/ {mb=$8/1.048576; if (n == 0 || mb < min) min = mb; n++}\
- END {printf "%
3
d x %6.2f = %7.2f MB/s", n, min, min * n}'`
+ END {printf "%
5
d x %6.2f = %7.2f MB/s", n, min, min * n}'`
print_summary -n "$bw $check "
fi
rm $tmpf
print_summary -n "$bw $check "
fi
rm $tmpf