source: benchmark/io/http/parhttperf@ c7015e6b

ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
Last change on this file since c7015e6b was cd70477, checked in by Thierry Delisle <tdelisle@…>, 5 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
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.