source: benchmark/io/http/parhttperf @ cd70477

arm-ehjacob/cs343-translationnew-ast-unique-expr
Last change on this file since cd70477 was cd70477, checked in by Thierry Delisle <tdelisle@…>, 9 months 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
3NTHREADS=$1
4shift
5echo "Running $NTHREADS"
6
7mkdir -p out
8rm -v out/*
9for ((i=0; i<$NTHREADS; i++))
10do
11        # echo "httperf --client $i/$NTHREADS $@ > out/result.$i.out"
12        httperf --client $i/$NTHREADS $@ > out/result.$i.out &
13done
14
15wait
16echo "Experiment terminated"
17
18FILES=""
19for ((i=0; i<$NTHREADS; i++))
20do
21        FILES="$FILES out/result.$i.out"
22done
23./parse-httperf.py $FILES ||  echo $FILES
Note: See TracBrowser for help on using the repository browser.