source: doc/theses/mike_brooks_MMath/plots/list-cfa-attrib.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.7 KB
RevLine 
[16a843b]1set terminal pdfcairo color enhanced size 6.0in,3.0in font "Times,17"
2
3INDIR="build"
4OUTDIR="build"
5SRCDIR="plots"
6
7set output OUTDIR.'/plot-list-cfa-attrib.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.75:1.8];
[6c58850]17set yrange [0.3:10];
[16a843b]18set ytics ( \
[6c58850]19 "+85%%" 6.666666667, \
20 "+80%%" 5, \
21 "+70%%" 3.333333333, \
22 "+60%%" 2.5, \
[16a843b]23 "+40%%" 1.666666667, \
24 "+20%%" 1.25, \
25 "0" 1, \
26 "-20%%" 0.833333333, \
[6c58850]27 "-60%%" 0.625, \
28 "-100%%" 0.5, \
29 "-200%%" 0.333333333 \
[16a843b]30)
[e57a405]31set ylabel "Duration (tailq-Relative)" offset -1.0,0
[16a843b]32
33# Draw axis-like line at speedup=0% (y=1.0)
34set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
35
36set grid
37set key top center horizontal
38
39BOXSPACING=0.2
40BOXWIDTH=BOXSPACING * .85
41set boxwidth BOXWIDTH absolute
42
43NUM_FXS=4
44
45offset(opNum, fxNum) = opNum + fxNum * BOXSPACING - (NUM_FXS+1) * BOXSPACING / 2 + 0.5
46
47# One row, to plot one-off points
48$Singleton <<EOD
490
50EOD
51
52# empty candlesticks for quantiles, then
53# varyiously styled points for means, then
54# x axis values, then
55# legend symbol augmentation
56plot INDIR.'/plot-list-cfa-attrib.dat' \
57 using ($2 == 1 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'full' with candlesticks lt rgb "blue" , \
58 '' using ($2 == 2 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'parity' with candlesticks lt rgb "gray40", \
59 '' using ($2 == 3 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'no-iter' with candlesticks lt rgb "dark-turquoise" , \
60 '' using ($2 == 4 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'strip' with candlesticks lt rgb "red" , \
61 '' using ($2 == 1 ? (offset($1, $2)) : 1/0):4 notitle with points pt 7 lt rgb "blue" , \
62 '' using ($2 == 2 ? (offset($1, $2)) : 1/0):4 notitle with points pt 6 lt rgb "gray40", \
63 '' using ($2 == 3 ? (offset($1, $2)) : 1/0):4 notitle with points pt 3 lt rgb "dark-turquoise" , \
64 '' using ($2 == 4 ? (offset($1, $2)) : 1/0):4 notitle with points pt 15 lt rgb "red" , \
65 SRCDIR.'/list-cfa-attrib-meta.dat' \
66 using 1:(-999):xtic(2) notitle with points, \
[6c58850]67 $Singleton using (2.85):(8.0) notitle with points pt 7 lt rgb "blue" , \
68 $Singleton using (4.60):(8.0) notitle with points pt 6 lt rgb "gray40", \
69 $Singleton using (6.30):(8.0) notitle with points pt 3 lt rgb "dark-turquoise" , \
70 $Singleton using (7.95):(8.0) notitle with points pt 15 lt rgb "red"
Note: See TracBrowser for help on using the repository browser.