Last change
on this file since 1038 was
998,
checked in by cfuguet, 9 years ago
|
reconf: several improvements in the dspin_router synthetic test platform
|
-
Property svn:executable set to
*
|
File size:
1.3 KB
|
Line | |
---|
1 | #!/usr/bin/env sh |
---|
2 | LOGDIR=logs |
---|
3 | COMMON="-X 5 -Y 5 -N 10000" |
---|
4 | SCRIPTPATH=$(dirname $0) |
---|
5 | |
---|
6 | # compile the platform |
---|
7 | make |
---|
8 | if [[ ! -f simul.x ]]; then exit 1; fi; |
---|
9 | |
---|
10 | mkdir -p $LOGDIR |
---|
11 | #for (( x = 0; x < 5; x++ )); do |
---|
12 | # for (( y = 0; y < 5; y++ )); do |
---|
13 | # for (( load = 100; load <= 1000; load += 100 )); do |
---|
14 | # if [[ ( $x == $FX ) && ( $y == $FY ) ]]; then continue; fi |
---|
15 | # LOGFILE=$LOGDIR/$(echo latency'_'$x'_'$y'_'$load); |
---|
16 | # ARGS="$COMMON -SX $x -SY $y -FX $FX -FY $FY -L $load"; |
---|
17 | # echo "./simul.x $ARGS ($LOGFILE)" |
---|
18 | # ./simul.x $ARGS > $LOGFILE 2>/dev/null; |
---|
19 | # ./broadcast_latency.sh $LOGFILE |
---|
20 | # if [[ $? == 1 ]]; then |
---|
21 | # echo "FAILURE"; |
---|
22 | # exit 1; |
---|
23 | # fi |
---|
24 | # done |
---|
25 | # done |
---|
26 | #done |
---|
27 | for (( load = 25; load <= 550; load += 25 )); do |
---|
28 | LOGFILE=$LOGDIR/$(echo latency_all'_'$load); |
---|
29 | ARGS="$COMMON -L $load"; |
---|
30 | echo "./simul.x $ARGS ($LOGFILE)" |
---|
31 | ./simul.x $ARGS > $LOGFILE 2>/dev/null; |
---|
32 | $SCRIPTPATH/broadcast_latency.sh $LOGFILE |
---|
33 | done; |
---|
34 | |
---|
35 | for (( x = 0; x < 5; x++ )); do |
---|
36 | for (( y = 0; y < 5; y++ )); do |
---|
37 | for (( load = 25; load <= 550; load += 25 )); do |
---|
38 | LOGFILE=$LOGDIR/$(echo latency_all'_'$x'_'$y'_'$load); |
---|
39 | ARGS="$COMMON -FX $x -FY $y -L $load"; |
---|
40 | echo "./simul.x $ARGS ($LOGFILE)" |
---|
41 | ./simul.x $ARGS > $LOGFILE 2>/dev/null; |
---|
42 | $SCRIPTPATH/broadcast_latency.sh $LOGFILE |
---|
43 | done; |
---|
44 | done; |
---|
45 | done; |
---|
Note: See
TracBrowser
for help on using the repository browser.