1 set terminal postscript enhanced eps color
3 set style data linespoints
8 ##### Plot Execution time for 4 threads ########
9 set title "Execution times for Microbenchmark numthreads= 4"
10 set output "ExecTime4.eps"
11 set ylabel 'Time in secs'
12 set xlabel 'Desired abort rate for benchmark in %'
13 set yrange [0.43:0.47]
14 set style line 1 lt 2 lw 2 pt 3 ps 0.5
15 plot 0.46 title 'No-lock base time' linewidth 2, \
16 "run4.data" using 1:2 title 'exec time' linetype 3 linewidth 2
19 ##### Plot Target abort rate vs observed rate for 4 threads ########
20 set title "Abort Rates for Microbenchmark(fudge factor= 3, numthreads= 4)"
21 set output "AbortRate4.eps"
22 set ylabel 'Observed Abort rate in %(numabort+numsoftabort)/numcommit'
23 set xlabel 'Desired abort rate for benchmark in %'
24 plot "run4.txt" using 1:2 with impulse title 'Base abort rate' linewidth 2, \
25 "run4.data" using 1:3 title 'abort rate' linetype 3 linewidth 2
28 ##### Plot Execution time for 8 threads ########
29 set title "Execution times for Microbenchmark numthreads= 8"
30 set output "ExecTime8.eps"
31 set ylabel 'Time in secs'
32 set xlabel 'Desired abort rate for benchmark in %'
33 set yrange [1.28:1.38]
34 set style line 1 lt 2 lw 2 pt 3 ps 0.5
35 plot 1.35 title 'No-lock base time' linewidth 2, \
36 "run8.data" using 1:2 title 'exec time' linetype 3 linewidth 2
39 ##### Plot Target abort rate vs observed rate for 8 threads ########
40 set title "Abort Rates for Microbenchmark(fudge factor= 3, numthreads= 8)"
41 set output "AbortRate8.eps"
42 set ylabel 'Observed Abort rate in %(numabort+numsoftabort)/numcommit'
43 set xlabel 'Desired abort rate for benchmark in %'
44 plot "run8.txt" using 1:2 with impulse title 'Base abort rate' linewidth 2, \
45 "run8.data" using 1:3 title 'abort rate' linetype 3 linewidth 2