3 HP_WORKLOADS
="60 65 70 72 74 76 78 80 81 82 83 84 85 86 87 88 89 90"
6 for w
in $HP_WORKLOADS; do
8 .
/histo.pl
-k 'Laxity\[LCL,LP' UTL.LCL.
${w}.log
> UTL.XLCL.
${w}.LP.histo
9 .
/histo.pl
-k 'Laxity\[LCL,HP' UTL.LCL.
${w}.log
> UTL.XLCL.
${w}.HP.histo
10 .
/histo.pl
-k 'Laxity\[LCL,LP' UTL.ECM1.
${w}.log UTL.ECM2.${w}.log > UTL.LCL.${w}.LP.histo
11 .
/histo.pl
-k 'Laxity\[LCL,HP' UTL.ECM1.
${w}.log UTL.ECM2.${w}.log > UTL.LCL.${w}.HP.histo
23 # awk '{print $1, 100 * ($1 * 200 + 500 * 50) * 118 / $2}' |
25 grep 'Min' UTL.XLCL.
*.LP.histo |
26 sed -e 's/UTL.XLCL.//' -e s
'/.LP.histo:Min://' -e 's/,//g' |
27 awk '{print $1, $6, $2, $4}' |
28 sort -n > UTL.XLCL.LP.LAX.data
30 grep 'Min' UTL.XLCL.
*.HP.histo |
31 sed -e 's/UTL.XLCL.//' -e s
'/.HP.histo:Min://' -e 's/,//g' |
32 awk '{print $1, $6, $2, $4}' |
33 sort -n > UTL.XLCL.HP.LAX.data
35 grep 'Min' UTL.LCL.
*.LP.histo |
36 sed -e 's/UTL.LCL.//' -e s
'/.LP.histo:Min://' -e 's/,//g' |
37 awk '{print $1, $6, $2, $4}' |
38 sort -n > UTL.LCL.LP.LAX.data
40 grep 'Min' UTL.LCL.
*.HP.histo |
41 sed -e 's/UTL.LCL.//' -e s
'/.HP.histo:Min://' -e 's/,//g' |
42 awk '{print $1, $6, $2, $4}' |
43 sort -n > UTL.LCL.HP.LAX.data
45 cat UTL.LCL.LP.LAX.data |
46 awk '{print ($1 * 4 + 500) * 118 / 1000, $2, $3, $4}' > UTL.LCL.LP.data
47 cat UTL.XLCL.LP.LAX.data |
48 awk '{print ($1 * 4 + 500) * 118 / 1000, $2, $3, $4}' > UTL.XLCL.LP.data
49 cat UTL.LCL.HP.LAX.data |
50 awk '{print ($1 * 4 + 500) * 118 / 1000, $2, $3, $4}' > UTL.LCL.HP.data
51 cat UTL.XLCL.HP.LAX.data |
52 awk '{print ($1 * 4 + 500) * 118 / 1000, $2, $3, $4}' > UTL.XLCL.HP.data
58 set terminal postscript eps color
59 set xlabel "CPU Utilization (percentage)"
61 set ylabel "Minimum laxity for low-priority task"
62 set output "UTL.LCL.eps"
63 plot 'UTL.LCL.data' w l
65 #plot 'UTL.LCL.data' w l
70 for i
in UTL.
*.eps
; do
72 gs
-sDEVICE=jpeg
-g640x480 -r110x110 -sNOPAUSE \
73 -sOutputFile="${b}.jpg" ${b}.eps quit.ps
76 grep 'Time\[LCL,HP' UTL.LCL.
*.log |
sed -e 's/UTL.LCL.//' -e s
'/.log:Time\[.*\]://' |
awk '{if ($1 != 0) {print $2 / $1 / 200}}'