source: benchmark/io/http/parhttperf @ 7f18438

Last change on this file since 7f18438 was ef3c383, checked in by Thierry Delisle <tdelisle@…>, 3 years ago

Added statistics about sendfile in the webserver

  • Property mode set to 100755
File size: 431 bytes
Line 
1#!/bin/bash
2
3NTHREADS=$1
4shift
5echo "Running $NTHREADS"
6
7mkdir -p out
8rm out/*
9echo "httperf --client [0-$(($NTHREADS - 1))]/$NTHREADS $@ > out/result.[0-$(($NTHREADS - 1))].out"
10for ((i=0; i<$NTHREADS; i++))
11do
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.