source: doc/theses/mike_brooks_MMath/plots/list-cmp-exout.gp

Last change on this file was 6c58850, checked in by Michael Brooks <mlbrooks@…>, 6 weeks ago

Revise data in linked-list plots with streamlined harness and data from runs on swift.

No change to text discussing the plots, so some of that discussion is now stale.

Harness changes allow more ifdef feature disabling and eliminate side-array usage, keeping all per-node harness state inside the list nodes.

Completely disable the interleaving experiment, which was not giving discernable data.

  • Property mode set to 100644
File size: 2.3 KB
Line 
1set terminal pdf color enhanced size 6.0in,3.0in font "Times,17"
2
3INDIR="build"
4OUTDIR="build"
5SRCDIR="plots"
6
7set output OUTDIR.'/plot-list-cmp-exout.pdf'
8
9set bmargin 6 # extra room at bottom for multiline x axis labels
10
11set xrange [1:9]
12set xlabel "Operation (movement / polarity / accessor)" offset 0,-2,0
13set xtics offset 4.2,0
14
15set logscale y 2
16set yrange [0.3:10];
17set ytics ( \
18 "+85%%" 6.666666667, \
19 "+80%%" 5, \
20 "+70%%" 3.333333333, \
21 "+60%%" 2.5, \
22 "+40%%" 1.666666667, \
23 "+20%%" 1.25, \
24 "0" 1, \
25 "-20%%" 0.833333333, \
26 "-60%%" 0.625, \
27 "-100%%" 0.5, \
28 "-200%%" 0.333333333 \
29)
30set ylabel "Duration (tailq-Relative)" offset -1.0,0
31
32# Draw axis-like line at speedup=0% (y=1.0)
33set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
34
35set grid
36set key top center horizontal
37
38BOXSPACING=0.25
39BOXWIDTH=BOXSPACING * .88
40set boxwidth BOXWIDTH absolute
41
42NUM_FXS=3
43
44offset(opNum, fxNum) = opNum + fxNum * BOXSPACING - (NUM_FXS+1) * BOXSPACING / 2 + 0.5
45
46# One row, to plot one-off points
47$Singleton <<EOD
480
49EOD
50
51# empty candlesticks for quantiles, then
52# varyiously styled points for means, then
53# x axis values, then
54# legend symbol augmentation
55plot INDIR.'/plot-list-cmp-exout.dat' \
56 using ($2 == 1 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'cfa-cfa' with candlesticks lt rgb "blue" , \
57 '' using ($2 == 2 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'upp-upp' with candlesticks lt rgb "dark-orange", \
58 '' using ($2 == 3 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'lq-list' with candlesticks lt rgb "purple" , \
59 '' using ($2 == 1 ? (offset($1, $2)) : 1/0):4 notitle with points pt 7 lt rgb "blue" , \
60 '' using ($2 == 2 ? (offset($1, $2)) : 1/0):4 notitle with points pt 9 lt rgb "dark-orange", \
61 '' using ($2 == 3 ? (offset($1, $2)) : 1/0):4 notitle with points pt 13 lt rgb "purple" , \
62 SRCDIR.'/list-cmp-exout-meta.dat' \
63 using 1:(-999):xtic(2) notitle with points, \
64 $Singleton using (3.73):(7.50) notitle with points pt 7 lt rgb "blue" , \
65 $Singleton using (5.44):(7.50) notitle with points pt 9 lt rgb "dark-orange", \
66 $Singleton using (7.14):(7.50) notitle with points pt 13 lt rgb "purple"
Note: See TracBrowser for help on using the repository browser.