Last change
on this file since bfa7bf0 was
ef3c383,
checked in by Thierry Delisle <tdelisle@…>, 2 years ago
|
Added statistics about sendfile in the webserver
|
-
Property mode set to
100755
|
File size:
431 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | NTHREADS=$1 |
---|
4 | shift |
---|
5 | echo "Running $NTHREADS" |
---|
6 | |
---|
7 | mkdir -p out |
---|
8 | rm out/* |
---|
9 | echo "httperf --client [0-$(($NTHREADS - 1))]/$NTHREADS $@ > out/result.[0-$(($NTHREADS - 1))].out" |
---|
10 | for ((i=0; i<$NTHREADS; i++)) |
---|
11 | do |
---|
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.