gdunlap/sched-sim.hg

view run.sh @ 17:03ad237559b4

Fix-up options, scheduler list
author George Dunlap <george.dunlap@eu.citrix.com>
date Fri Jul 16 11:58:53 2010 +0100 (2010-07-16)
parents 0ec40a1605a3
children
line source
1 #!/bin/bash
2 sched=credit01
3 workload=N2s2
4 file_base=${sched}.${workload}
5 ./simulator --scheduler=${sched} --workload=${workload} > /tmp/${file_base}.all
6 for C in credit runtime; do
7 for I in 0 1 2 3 4 ; do
8 grep -a "^$C v$I" /tmp/${file_base}.all | awk '{print $3 " " $4;}' > /tmp/${file_base}.$C.$I.csv
9 done
10 ygraph -c /tmp/${file_base}.$C.*.csv &
11 done
12 tail -25 /tmp/$file_base.all