ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
Last change
on this file since aa0a1ad was
cd70477,
checked in by Thierry Delisle <tdelisle@…>, 4 years ago
|
Added some basic scripts to handle runing httperf in parallel.
|
-
Property mode set to
100755
|
File size:
397 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | NTHREADS=$1 |
---|
4 | shift |
---|
5 | echo "Running $NTHREADS" |
---|
6 | |
---|
7 | mkdir -p out |
---|
8 | rm -v out/* |
---|
9 | for ((i=0; i<$NTHREADS; i++)) |
---|
10 | do |
---|
11 | # echo "httperf --client $i/$NTHREADS $@ > out/result.$i.out" |
---|
12 | httperf --client $i/$NTHREADS $@ > out/result.$i.out & |
---|
13 | done |
---|
14 | |
---|
15 | wait |
---|
16 | echo "Experiment terminated" |
---|
17 | |
---|
18 | FILES="" |
---|
19 | for ((i=0; i<$NTHREADS; i++)) |
---|
20 | do |
---|
21 | FILES="$FILES out/result.$i.out" |
---|
22 | done |
---|
23 | ./parse-httperf.py $FILES || echo $FILES |
---|
Note: See
TracBrowser
for help on using the repository browser.