Ignore:
Timestamp:
Feb 4, 2026, 12:43:09 PM (3 days ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master, stuck-waitfor-destruct
Children:
f648875
Parents:
df72682
Message:

Add data for Intel host 'java', alongside incumbent AMD host 'swift'.

Revise analysis--presentation to show both side by side. Remove presentation of CFA Attribution, which is now seen to be chasing a red herring.

Data continue to be from harness of commit 78bc398830.

Location:
doc/theses/mike_brooks_MMath
Files:
36 added
9 deleted
7 edited
18 moved

Legend:

Unmodified
Added
Removed
  • doc/theses/mike_brooks_MMath/benchmarks/list/detail-plots.gp

    rdf72682 r8eb85de  
    3636
    3737
    38     plot FILE \
    39            i 0 using 1:2 title columnheader(1) with points lt rgb "blue"        pt  1 ps 1 lw 1, \
    40         '' i 1 using 1:2 title columnheader(1) with points lt rgb "purple"      pt  1  ps 1 lw 1, \
    41         '' i 2 using 1:2 title columnheader(1) with points lt rgb "magenta"     pt  1  ps 1 lw 1
     38#   plot FILE \
     39#          i 0 using 1:2 title columnheader(1) with points lt rgb "blue"        pt  1 ps 1 lw 1, \
     40#       '' i 1 using 1:2 title columnheader(1) with points lt rgb "purple"      pt  1  ps 1 lw 1, \
     41#       '' i 2 using 1:2 title columnheader(1) with points lt rgb "magenta"     pt  1  ps 1 lw 1
    4242
    4343
    44 #           i 0 using 1:2 title columnheader(1) with points lt rgb "blue"       pt  1 ps 1 lw 1, \
     44    plot FILE \
     45            i 0 using 1:2 title columnheader(1) with points lt rgb "blue"       pt  1 ps 1 lw 1, \
     46         '' i 7 using 1:2 title columnheader(1) with points lt rgb "purple"     pt  1  ps 1 lw 1, \
     47         '' i 8 using 1:2 title columnheader(1) with points lt rgb "magenta"    pt  1  ps 1 lw 1, \
     48         '' i 9 using 1:2 title columnheader(1) with points lt rgb "brown"      pt  1  ps 1 lw 1
     49
    4550#        '' i 1 using 1:2 title columnheader(1) with points lt rgb "red"            pt  1 ps 1 lw 1, \
    4651#        '' i 2 using 1:2 title columnheader(1) with points lt rgb "green"      pt  1 ps 1 lw 1, \
     
    4954#        '' i 5 using 1:2 title columnheader(1) with points lt rgb "cyan"       pt  1  ps 1 lw 1, \
    5055#        '' i 6 using 1:2 title columnheader(1) with points lt rgb "gray"       pt  1  ps 1 lw 1, \
    51 #        '' i 7 using 1:2 title columnheader(1) with points lt rgb "purple"     pt  1  ps 1 lw 1, \
    52 #        '' i 8 using 1:2 title columnheader(1) with points lt rgb "magenta"    pt  1  ps 1 lw 1, \
    53 #        '' i 9 using 1:2 title columnheader(1) with points lt rgb "brown"      pt  1  ps 1 lw 1
    5456
    5557
  • doc/theses/mike_brooks_MMath/list.tex

    rdf72682 r8eb85de  
    715715
    716716
    717 \subsection{Experimental Environment}
     717\subsubsection{Execution Environment}
    718718\label{s:ExperimentalEnvironment}
    719719
     
    726726\item[AMD]
    727727Supermicro AS--1125HS--TNR EPYC 9754 128--core socket, hyper-threading $\times$ 2 sockets (512 processing units) 2.25 GHz, TSO memory model, with cache structure 32KB L1i/L1d, 1024KB L2, 16MB L3, where each L3 cache covers 16 processors.
    728 %\item[Intel]
    729 %Supermicro SYS-121H-TNR Xeon Gold 6530 32--core, hyper-threading $\times$ 2 sockets (128 processing units) 2.1 GHz, TSO memory model
     728\item[Intel]
     729Supermicro SYS-121H-TNR Xeon Gold 6530 32--core, hyper-threading $\times$ 2 sockets (128 processing units) 2.1 GHz, TSO memory model
    730730\end{description}
    731731The experiments are single threaded and pinned to single core to prevent any OS movement, which might cause cache or NUMA effects perturbing the experiment.
     
    743743
    744744
    745 \subsubsection{Result: Coarse comparison of styles}
     745\subsection{Result: Coarse comparison of styles}
    746746
    747747This comparison establishes how an intrusive list performs compared with a wrapped-reference list.
     
    757757\begin{figure}
    758758  \centering
    759   \subfloat[Linear List Nodes]{\label{f:Linear}
    760     \includegraphics{plot-list-zoomout-noshuf.pdf}
     759  \setlength{\tabcolsep}{0pt}
     760  \begin{tabular}{p{0.75in}p{2.75in}p{3in}}
     761  &
     762  \subfloat[Linear List Nodes, AMD]{\label{f:Linear-swift}
     763    \hspace*{-0.75in}
     764    \includegraphics{plot-list-zoomout-noshuf-swift.pdf}
     765  } % subfigure
     766  &
     767  \subfloat[Linear List Nodes, Intel]{\label{f:Linear-java}
     768    \includegraphics{plot-list-zoomout-noshuf-java.pdf}
    761769  } % subfigure
    762770  \\
    763   \subfloat[Shuffled List Nodes]{\label{f:Shuffled}
    764     \includegraphics{plot-list-zoomout-shuf.pdf}
     771  &
     772  \subfloat[Shuffled List Nodes, AMD]{\label{f:Shuffled-swift}
     773    \hspace*{-0.75in}
     774    \includegraphics{plot-list-zoomout-shuf-swift.pdf}
    765775  } % subfigure
     776  &
     777  \subfloat[Shuffled List Nodes, Intel]{\label{f:Shuffled-java}
     778    \includegraphics{plot-list-zoomout-shuf-java.pdf}
     779  } % subfigure
     780  \end{tabular}
    766781  \caption{Insert/remove duration \vs list length.
    767782  Lengths go as large possible without error.
     
    779794Hence, dynamic allocation cost is fundamental for wrapped lists.
    780795
    781 In detail, \VRef[Figure]{f:Linear} shows linear insertion of all the nodes and then linear removal, both in the same direction.
     796In detail, \VRef[Figure]{f:Linear-swift}--\subref*{f:Linear-java} shows linear insertion of all the nodes and then linear removal, both in the same direction.
    782797For intrusive lists, the nodes are adjacent because they are preallocated in an array.
    783798For wrapped lists, the wrapped nodes are still adjacent because the memory allocator happens to use bump allocation for the small fixed-sized wrapped nodes.
     
    786801Hence, performance is largely constant for both kinds of lists, until L3 cache and NUMA boundaries are crossed for longer lists and the costs increase consistently for both kinds of lists.
    787802
    788 In detail, \VRef[Figure]{f:Shuffled} shows shuffle insertion and removal of the nodes.
     803In detail, \VRef[Figure]{f:Shuffled-swift}--\subref*{f:Shuffled-java} shows shuffled insertion and removal of the nodes.
    789804As for linear, there are issues with the wrapped list and memory allocation.
    790805For intrusive lists, it is possible to link the nodes randomly, so consecutive nodes in memory seldom point at adjacent nodes.
     
    840855
    841856
    842 \section{Result: Comparing intrusive implementations}
     857\subsection{Result: Comparing intrusive implementations}
    843858\label{s:ComparingIntrusiveImplementations}
    844859
     
    849864\begin{figure}
    850865\centering
    851   \subfloat[Absolute Time]{\label{f:AbsoluteTime}
    852   \includegraphics{plot-list-zoomin-abs.pdf}
     866  \setlength{\tabcolsep}{0pt}
     867  \begin{tabular}{p{0.75in}p{2.75in}p{3in}}
     868  &
     869  \subfloat[Absolute Time, AMD]{\label{f:AbsoluteTime-swift}
     870    \hspace*{-0.75in}
     871    \includegraphics{plot-list-zoomin-abs-swift.pdf}
     872  } % subfigure
     873  &
     874  \subfloat[Absolute Time, Intel]{\label{f:AbsoluteTime-java}
     875    \includegraphics{plot-list-zoomin-abs-java.pdf}
    853876  } % subfigure
    854877  \\
    855   \subfloat[Relative Time]{\label{f:RelativeTime}
    856   \includegraphics{plot-list-zoomin-rel.pdf}
     878  &
     879  \subfloat[Relative Time, AMD]{\label{f:RelativeTime-swift}
     880    \hspace*{-0.75in}
     881    \includegraphics{plot-list-zoomin-rel-swift.pdf}
    857882  } % subfigure
     883  &
     884  \subfloat[Relative Time, Intel]{\label{f:RelativeTime-java}
     885    \includegraphics{plot-list-zoomin-rel-java.pdf}
     886  } % subfigure
     887  \end{tabular}
    858888  \caption{Operation duration \vs list length at small-medium lengths.  One example operation is shown: stack movement, insert-first polarity and head-mediated access.  (a) has absolute times.  (b) has times relative to those of LQ-\lstinline{tailq}.}
    859889  \label{fig:plot-list-zoomin}
     
    880910\begin{figure}
    881911\centering
    882   \subfloat[Supersets]{\label{f:Superset}
    883   \includegraphics{plot-list-cmp-exout.pdf}
     912  \setlength{\tabcolsep}{0pt}
     913  \begin{tabular}{p{0.75in}p{2.75in}p{3in}}
     914  &
     915  \subfloat[Supersets, AMD]{\label{f:Superset-swift}
     916    \hspace*{-0.75in}
     917    \includegraphics{plot-list-cmp-exout-swift.pdf}
     918  } % subfigure
     919  &
     920  \subfloat[Supersets, Intel]{\label{f:Superset-java}
     921    \includegraphics{plot-list-cmp-exout-java.pdf}
    884922  } % subfigure
    885923  \\
    886   \subfloat[1st Level Slice]{\label{f:1stLevelSlice}
    887   \includegraphics{plot-list-cmp-survey.pdf}
     924  &
     925  \subfloat[1st Level Slice, AMD]{\label{f:1stLevelSlice-swift}
     926    \hspace*{-0.75in}
     927    \includegraphics{plot-list-cmp-survey-swift.pdf}
    888928  } % subfigure
     929  &
     930  \subfloat[1st Level Slice, Intel]{\label{f:1stLevelSlice-java}
     931    \includegraphics{plot-list-cmp-survey-java.pdf}
     932  } % subfigure
     933  \end{tabular}
    889934  \caption{Operation duration ranges across operational scenarios.  (a) has the supersets of the running example operation.  (b) has the first-level slices of the full space of operations.}
    890935  \label{fig:plot-list-cmp-overall}
     
    892937
    893938\VRef[Figure]{fig:plot-list-cmp-overall} introduces alternative views of the data.
    894 Part (a)'s first column summarizes all the data of \VRef{fig:plot-list-zoomin}-(b).
     939Part \ref*{f:Superset-swift}--\ref*{f:Superset-java}'s first column summarizes all the data of \VRef{f:RelativeTime}.
    895940Its x-axis label, ``stack/insfirst/allhead,'' names the concrete scenario that has been discussed until now.
    896941Moving across the columns, the next three each stretch to include more scenarios on each of the operation dimensions, one at a time.
     
    900945The \CFA bar in the last column is summarizing 840 test-program runs: 14 list lengths, 2 movements, 2 polarities, 3 accessors and 5 repetitions.
    901946
    902 In the earlier plots of one scenario broken down by length, each data point, with its error bars, represents just 5 repetitions.
     947In the earlier plots of a single scenario broken down by length, each data point, with its error bars, represents just 5 repetitions.
    903948With a couple exceptions, this reproducibility error was small.
    904 Now, for a \CFA bar, summarizing 70 (first column) to 840 (last column) runs, a bar's height is dominated by the different behaviours of the scenarios and list length that it summarizes.
     949Now, for a \CFA bar, summarizing 70 (first column) to 840 (last column) runs, a bar's height is dominated by the different behaviours of the scenarios and list lengths that it summarizes.
    905950Accordingly, the first column's bars are short and last one's are tall.
    906951A box represents the inner 68\% of the durations, while its lines extend to cover 95\%.
     
    935980% \end{figure}
    936981
    937 
    938 \section{Result: CFA cost attribution}
     982\begin{comment}
     983\subsection{Result: CFA cost attribution}
    939984
    940985This comparison loosely itemizes the reasons that the \CFA implementation runs 15--20\% slower than LQ.
     
    9761021\centering
    9771022  \begin{tabular}{c}
    978   \includegraphics{plot-list-cfa-attrib.pdf} \\
     1023  \includegraphics{plot-list-cfa-attrib-swift.pdf} \\
    9791024  (a) \\
    980   \includegraphics{plot-list-cfa-attrib-remelem.pdf} \\
     1025  \includegraphics{plot-list-cfa-attrib-remelem-swift.pdf} \\
    9811026  (b) \\
    9821027  \end{tabular}
     
    10271072Ultimately, this analysis provides options for a future effort that needs to get the most speed out of the \CFA list.
    10281073
    1029 
     1074\end{comment}
    10301075
    10311076
  • doc/theses/mike_brooks_MMath/plots/ListCommon.py

    rdf72682 r8eb85de  
    1414        timings = pd.read_csv(
    1515            process.stdout,
    16             names=['RunMoment', 'RunIdx', 'Args', 'Program', 'Width',
     16            names=['RunMoment', 'RunIdx', 'Args', 'Program',
    1717                   'expt_ops_completed', 'expt_elapsed_sec', 'mean_op_dur_ns'],
    1818            dtype={'RunMoment':       str,
     
    2020                'Args':               str,
    2121                'Program':            str,
    22                 'Width':              np.int64,
    2322                'expt_ops_completed': np.int64,
    2423                'expt_elapsed_sec':   np.float64,
     
    109108    return timings
    110109
     110def stripMachine(pyCore):
     111    parts = str.split(pyCore, '-')
     112    exceptLast = parts[ 0 : -1 ]
     113    return str.join('-', exceptLast)
     114
    111115def getSummaryMeta(metaFileCore):
    112116    metafile = os.path.dirname(os.path.abspath(__file__)) + "/" + metaFileCore + '-meta.dat'
     
    120124        'accessor']] = metadata['Op'].str.split('\\\\n', expand=True)
    121125    metadata.replace('*', 'all', inplace=True)
     126    metadata.replace('S', 'stack', inplace=True)
     127    metadata.replace('Q', 'queue', inplace=True)
     128    metadata.replace('iF', 'insfirst', inplace=True)
     129    metadata.replace('iL', 'inslast', inplace=True)
     130    metadata.replace('H', 'allhead', inplace=True)
     131    metadata.replace('Ie', 'inselem', inplace=True)
     132    metadata.replace('Re', 'remelem', inplace=True)
    122133    return metadata
     134
     135swiftSweetspot = (lambda x: x > 16 and x < 150)
     136# swiftSweetspot = (lambda x: x > 4 and x < 32)
     137javaSweetspot = (lambda x: x >= 24 and x <= 256)
    123138
    124139def printManySummary(*,
     
    126141        metafileCore,
    127142        fxs,
    128         sizeQual = (lambda x: x > 16 and x < 150), # for Swift
    129        #sizeQual = (lambda x: x >= 2 and x <= 32), # for java
     143        sizeQual,
    130144        tgtInterleave = 0.0,
    131145        measure = 'OpDurRelFx') :
  • doc/theses/mike_brooks_MMath/plots/list-cfa-attrib-java.gp

    rdf72682 r8eb85de  
    1 set terminal pdfcairo color enhanced size 6.0in,3.0in font "Times,17"
     1set terminal pdfcairo color enhanced size 3.0in,3.0in font "Times,17"
    22
    33INDIR="build"
     
    55SRCDIR="plots"
    66
    7 set output OUTDIR.'/plot-list-cfa-attrib.pdf'
     7set output OUTDIR.'/plot-list-cfa-attrib-java.pdf'
    88
    99set bmargin 6  # extra room at bottom for multiline x axis labels
     
    5454# x axis values, then
    5555# legend symbol augmentation
    56 plot INDIR.'/plot-list-cfa-attrib.dat' \
     56plot INDIR.'/plot-list-cfa-attrib-java.dat' \
    5757        using ($2 == 1 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'full'    with candlesticks lt rgb "blue"        , \
    5858     '' using ($2 == 2 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'parity'  with candlesticks lt rgb "gray40", \
  • doc/theses/mike_brooks_MMath/plots/list-cfa-attrib-meta.dat

    rdf72682 r8eb85de  
    1 1       stack\n*\n*
    2 2       queue\n*\n*
    3 3       *\ninsfirst\n*
    4 4       *\ninslast\n*
    5 5       *\n*\nallhead
    6 6       *\n*\ninselem
    7 7       *\n*\nremelem
     11       S\n*\n*
     22       Q\n*\n*
     33       *\niF\n*
     44       *\niL\n*
     55       *\n*\nH
     66       *\n*\nIe
     77       *\n*\nRe
    888       *\n*\n*
  • doc/theses/mike_brooks_MMath/plots/list-cfa-attrib-remelem-java.gp

    rdf72682 r8eb85de  
    55
    66
    7 set terminal pdf color enhanced size 6.0in,3.0in font "Times,17"
     7set terminal pdf color enhanced size 3.0in,3.0in font "Times,17"
    88
    99INDIR="build"
     
    1111SRCDIR="plots"
    1212
    13 set output OUTDIR.'/plot-list-cfa-attrib-remelem.pdf'
     13set output OUTDIR.'/plot-list-cfa-attrib-remelem-java.pdf'
    1414
    1515set bmargin 6  # extra room at bottom for multiline x axis labels
     
    5959# x axis values, then
    6060# legend symbol augmentation
    61 plot INDIR.'/plot-list-cfa-attrib-remelem.dat' \
     61plot INDIR.'/plot-list-cfa-attrib-remelem-java.dat' \
    6262        using ($2 == 1 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'full'      with candlesticks lt        rgb "blue", \
    6363     '' using ($2 == 2 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'mand-head' with candlesticks lt        rgb "dark-goldenrod", \
  • doc/theses/mike_brooks_MMath/plots/list-cfa-attrib-remelem-java.py

    rdf72682 r8eb85de  
    1010
    1111printManySummary(
    12     infileLocal = 'results-general.csv',
    13     metafileCore = thisPy,
    14     fxs=['cfa-cfa', 'cfa-mandHead', 'cfa-noListed', 'cfa-likeLq', 'cfa-noIter', 'cfa-strip']
     12    infileLocal = 'results-java-general.csv',
     13    metafileCore = stripMachine(thisPy),
     14    fxs=['cfa-cfa', 'cfa-mandHead', 'cfa-noListed', 'cfa-likeLq', 'cfa-noIter', 'cfa-strip'],
     15    sizeQual = javaSweetspot
    1516)
  • doc/theses/mike_brooks_MMath/plots/list-cfa-attrib-remelem-meta.dat

    rdf72682 r8eb85de  
    1 1       stack\n*\nremelem
    2 2       queue\n*\nremelem
    3 3       *\ninsfirst\nremelem
    4 4       *\ninslast\nremelem
    5 5       *\n*\nremelem
     11       S\n*\nRe
     22       Q\n*\nRe
     33       *\niF\nRe
     44       *\niL\nRe
     55       *\n*\nRe
  • doc/theses/mike_brooks_MMath/plots/list-cmp-exout-java.py

    rdf72682 r8eb85de  
    1010
    1111printManySummary(
    12     infileLocal = 'results-general.csv',
    13     metafileCore = thisPy,
    14     fxs=['cfa-cfa', 'cfa-likeLq', 'cfa-noIter', 'cfa-strip']
     12    infileLocal = 'results-java-general.csv',
     13    metafileCore = stripMachine(thisPy),
     14    fxs=['cfa-cfa', 'upp-upp', 'lq-list'],
     15    sizeQual = javaSweetspot
    1516)
  • doc/theses/mike_brooks_MMath/plots/list-cmp-exout-meta.dat

    rdf72682 r8eb85de  
    1 1       stack\ninsfirst\nallhead
    2 2       stack\ninsfirst\n*
    3 3       stack\n*\nallhead
    4 4       *\ninsfirst\nallhead
    5 5       stack\n*\n*
    6 6       *\ninsfirst\n*
    7 7       *\n*\nallhead
     11       S\niF\nH
     22       S\niF\n*
     33       S\n*\nH
     44       *\niF\nH
     55       S\n*\n*
     66       *\niF\n*
     77       *\n*\nH
    888       *\n*\n*
  • doc/theses/mike_brooks_MMath/plots/list-cmp-exout-swift.gp

    rdf72682 r8eb85de  
    1 set terminal pdf color enhanced size 6.0in,3.0in font "Times,17"
     1set terminal pdfcairo color enhanced size 3.625in,3.0in font "Times,17"
     2
     3# set size 1.0, 1.0    # scale of plot area inside terminal
     4# set origin 0.0, 0.0  # bottom-left corner
    25
    36INDIR="build"
     
    58SRCDIR="plots"
    69
    7 set output OUTDIR.'/plot-list-cmp-exout.pdf'
    8 
    9 set bmargin 6  # extra room at bottom for multiline x axis labels
     10set output OUTDIR.'/plot-list-cmp-exout-swift.pdf'
    1011
    1112set xrange [1:9]
    12 set xlabel "Operation (movement / polarity / accessor)"  offset 0,-2,0
    13 set xtics offset 4.2,0
     13set xlabel " "  offset 0,-1,0
     14set xtics offset 2.1,0
    1415
    1516set logscale y 2
    16 set yrange [0.3:10];
     17set yrange [0.3:2.0];
    1718set ytics ( \
    18    "+85%%" 6.666666667, \
    19    "+80%%" 5, \
    20    "+70%%" 3.333333333, \
    21    "+60%%" 2.5, \
    2219   "+40%%" 1.666666667, \
    2320   "+20%%" 1.25, \
     
    5350# x axis values, then
    5451# legend symbol augmentation
    55 plot INDIR.'/plot-list-cmp-exout.dat' \
     52plot INDIR.'/plot-list-cmp-exout-swift.dat' \
    5653        using ($2 == 1 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'cfa-cfa' with candlesticks lt rgb "blue"        , \
    5754     '' using ($2 == 2 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'upp-upp' with candlesticks lt rgb "dark-orange", \
  • doc/theses/mike_brooks_MMath/plots/list-cmp-exout-swift.py

    rdf72682 r8eb85de  
    1010
    1111printManySummary(
    12     infileLocal = 'results-general.csv',
    13     metafileCore = thisPy,
    14     fxs=['cfa-cfa', 'upp-upp', 'lq-list']
     12    infileLocal = 'results-swift-general.csv',
     13    metafileCore = stripMachine(thisPy),
     14    fxs=['cfa-cfa', 'upp-upp', 'lq-list'],
     15    sizeQual = swiftSweetspot
    1516)
  • doc/theses/mike_brooks_MMath/plots/list-cmp-survey-java.py

    rdf72682 r8eb85de  
    1010
    1111printManySummary(
    12     infileLocal = 'results-general.csv',
    13     metafileCore = thisPy,
    14     fxs=['cfa-cfa', 'upp-upp', 'lq-list']
     12    infileLocal = 'results-java-general.csv',
     13    metafileCore = stripMachine(thisPy),
     14    fxs=['cfa-cfa', 'upp-upp', 'lq-list'],
     15    sizeQual = javaSweetspot
    1516)
  • doc/theses/mike_brooks_MMath/plots/list-cmp-survey-meta.dat

    rdf72682 r8eb85de  
    1 1       stack\n*\n*
    2 2       queue\n*\n*
    3 3       *\ninsfirst\n*
    4 4       *\ninslast\n*
    5 5       *\n*\nallhead
    6 6       *\n*\ninselem
    7 7       *\n*\nremelem
     11       S\n*\n*
     22       Q\n*\n*
     33       *\niF\n*
     44       *\niL\n*
     55       *\n*\nH
     66       *\n*\nIe
     77       *\n*\nRe
    888       *\n*\n*
  • doc/theses/mike_brooks_MMath/plots/list-cmp-survey-swift.gp

    rdf72682 r8eb85de  
    1 set terminal pdf color enhanced size 6.0in,3.0in font "Times,17"
     1set terminal pdfcairo color enhanced size 3.625in,3.0in font "Times,17"
     2
     3# set size 1.0, 1.0    # scale of plot area inside terminal
     4# set origin 0.0, 0.0  # bottom-left corner
    25
    36INDIR="build"
     
    58SRCDIR="plots"
    69
    7 set output OUTDIR.'/plot-list-cmp-survey.pdf'
     10set output OUTDIR.'/plot-list-cmp-survey-swift.pdf'
    811
    912set bmargin 6  # extra room at bottom for multiline x axis labels
     
    1114set xrange [1:9]
    1215set xlabel "Operation (movement / polarity / accessor)"  offset 0,-2,0
    13 set xtics offset 4.2,0
     16set xtics offset 2.1,0
    1417
    1518set logscale y 2
    16 set yrange [0.3:10];
     19set yrange [0.3:2.0];
    1720set ytics ( \
    18    "+85%%" 6.666666667, \
    19    "+80%%" 5, \
    20    "+70%%" 3.333333333, \
    21    "+60%%" 2.5, \
    2221   "+40%%" 1.666666667, \
    2322   "+20%%" 1.25, \
     
    5352# x axis values, then
    5453# legend symbol augmentation
    55 plot INDIR.'/plot-list-cmp-survey.dat' \
     54plot INDIR.'/plot-list-cmp-survey-swift.dat' \
    5655        using ($2 == 1 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'cfa-cfa' with candlesticks lt rgb "blue"        , \
    5756     '' using ($2 == 2 ? (offset($1, $2)) : 1/0):10:9:13:12 title 'upp-upp' with candlesticks lt rgb "dark-orange", \
  • doc/theses/mike_brooks_MMath/plots/list-zoomin-abs-java.py

    rdf72682 r8eb85de  
    88
    99printSingleDetail(
    10     infileLocal='results-general.csv',
     10    infileLocal='results-java-general.csv',
    1111    tgtMovement = 'stack',
    1212    tgtPolarity = 'insfirst',
  • doc/theses/mike_brooks_MMath/plots/list-zoomin-rel-java.py

    rdf72682 r8eb85de  
    88
    99printSingleDetail(
    10     infileLocal='results-general.csv',
     10    infileLocal='results-java-general.csv',
    1111    tgtMovement = 'stack',
    1212    tgtPolarity = 'insfirst',
  • doc/theses/mike_brooks_MMath/plots/list-zoomin-rel-swift.gp

    rdf72682 r8eb85de  
    1 set terminal pdf color enhanced size 6.0in,3.0in font "Times,17"
     1set terminal pdfcairo color enhanced size 3.625in,2.5in font "Times,17"
     2
     3set size 1.0, 1.0    # scale of plot area inside terminal
     4set origin 0.0, 0.0  # bottom-left corner
    25
    36INDIR="build"
    47OUTDIR="build"
    58
     9set lmargin 10
     10
    611set macros
    7 set output OUTDIR."/plot-list-zoomin-rel.pdf"
     12set output OUTDIR."/plot-list-zoomin-rel-swift.pdf"
    813
    914set grid
    10 set key bottom left
     15unset key
    1116set logscale x 2
    1217set logscale y 2
     
    2732   "-200%%" 0.333333333 \
    2833)
    29 set xrange [0.75:128];
     34set xrange [0.75:180];
    3035set xlabel "List length (item count)" offset 2,0
    3136set ylabel "Duration (tailq-Relative)" offset -1.0,0
    3237set errorbars 2.0
     38set pointintervalbox 0
    3339
    3440# Draw axis-like line at speedup=0% (y=1.0)
    3541set arrow from graph 0, first 1 to graph 1, first 1 nohead lt -1 lw 2
    3642
    37 plot INDIR."/plot-list-zoomin-rel.dat" \
    38        i 0 using ($1 * 0.98):8:4:5 title columnheader(1) with yerrorbars lt rgb "blue"        pt  7  ps 0.85 lw 1, \
    39     '' i 9 using ($1 * 0.94):8:4:5 title columnheader(1) with yerrorbars lt rgb "dark-orange"   pt  9  ps 0.75 lw 1, \
    40     '' i 8 using ($1 * 1.02):8:4:5 title columnheader(1) with yerrorbars lt rgb "magenta"             pt  11 ps 0.85 lw 1, \
    41     '' i 7 using ($1 * 1.06):8:4:5 title columnheader(1) with yerrorbars lt rgb "purple"              pt  13 ps 1.0  lw 1
     43plot INDIR."/plot-list-zoomin-rel-swift.dat" \
     44       i 0 using ($1 * 0.98):8:4:5 title columnheader(1) with yerrorbars lt rgb "blue"        pt  6  ps 0.85 lw 1, \
     45    '' i 9 using ($1 * 0.94):8:4:5 title columnheader(1) with yerrorbars lt rgb "dark-orange"   pt  8  ps 0.75 lw 1, \
     46    '' i 8 using ($1 * 1.02):8:4:5 title columnheader(1) with yerrorbars lt rgb "magenta"             pt  10 ps 0.85 lw 1, \
     47    '' i 7 using ($1 * 1.06):8:4:5 title columnheader(1) with yerrorbars lt rgb "purple"              pt  12 ps 1.0  lw 1
  • doc/theses/mike_brooks_MMath/plots/list-zoomout-shuf-java.gp

    rdf72682 r8eb85de  
    1 set terminal pdf color enhanced size 6.0in,3.0in font "Times,17"
     1set terminal pdfcairo color enhanced size 3.0in,3.0in font "Times,17"
     2
     3set size 1.0, 1.0    # scale of plot area inside terminal
     4set origin 0.0, 0.0  # bottom-left corner
    25
    36INDIR="build"
     
    58
    69set macros
    7 set output OUTDIR."/plot-list-zoomout-noshuf.pdf"
     10set output OUTDIR."/plot-list-zoomout-shuf-java.pdf"
    811
    912set grid
    10 set key top left
     13set key bottom right offset 1,1
    1114set logscale x
    12 #set logscale y
     15set xtics ("1" 1, "10" 10, "100" 100, \
     16           "10^3" 1e3, "10^4" 1e4, "10^5" 1e5, \
     17           "10^6" 1e6, "10^7" 1e7, "10^8" 1e8, "10^9" 1e9)
     18set mxtics 9
     19set logscale y
    1320#set yrange [1:1000];
    1421set xlabel "List length (item count)" offset 2,0
    15 set ylabel "Duration (ns)"
     22#set ylabel "Duration (ns)"
     23unset ylabel
     24set format y ""
    1625set linetype 3 dashtype 2
    1726set linetype 4 dashtype 2
    1827
    19 plot INDIR."/plot-list-zoomout-noshuf.dat" \
     28plot INDIR."/plot-list-zoomout-shuf-java.dat" \
    2029       i 1 using 1:2 title "STL" with points lt rgb "forest-green"      pt  3 ps 1 lw 1, \
    2130    '' i 0 using 1:2 title "intrusives" with points lt rgb "black"      pt  1 ps 1 lw 1, \
  • doc/theses/mike_brooks_MMath/plots/list-zoomout-shuf-java.py

    rdf72682 r8eb85de  
    88
    99printSingleDetail(
    10     infileLocal='results-zoomout-noshuf.csv',
     10    infileLocal='results-java-zoomout-shuf.csv',
    1111    tgtMovement = 'stack',
    1212    tgtPolarity = 'insfirst',
  • doc/theses/mike_brooks_MMath/plots/list-zoomout-shuf-swift.gp

    rdf72682 r8eb85de  
    1 set terminal pdf color enhanced size 6.0in,3.0in font "Times,17"
     1set terminal pdfcairo color enhanced size 3.625in,3.0in font "Times,17"
     2
     3set size 1.0, 1.0    # scale of plot area inside terminal
     4set origin 0.0, 0.0  # bottom-left corner
    25
    36INDIR="build"
     
    58
    69set macros
    7 set output OUTDIR."/plot-list-zoomout-shuf.pdf"
     10set output OUTDIR."/plot-list-zoomout-shuf-swift.pdf"
     11
     12set lmargin 10
    813
    914set grid
    10 set key top left
     15unset key
    1116set logscale x
     17set xtics ("1" 1, "10" 10, "100" 100, \
     18           "10^3" 1e3, "10^4" 1e4, "10^5" 1e5, \
     19           "10^6" 1e6, "10^7" 1e7, "10^8" 1e8, "10^9" 1e9)
     20set mxtics 9
    1221set logscale y
    1322#set yrange [1:1000];
    1423set xlabel "List length (item count)" offset 2,0
    15 set ylabel "Duration (ns), log scale"
     24set ylabel "Duration (ns)" offset 1,0
    1625set linetype 3 dashtype 2
    1726set linetype 4 dashtype 2
    1827
    19 plot INDIR."/plot-list-zoomout-shuf.dat" \
     28plot INDIR."/plot-list-zoomout-shuf-swift.dat" \
    2029       i 1 using 1:2 title "STL" with points lt rgb "forest-green"      pt  3 ps 1 lw 1, \
    2130    '' i 0 using 1:2 title "intrusives" with points lt rgb "black"      pt  1 ps 1 lw 1, \
  • doc/theses/mike_brooks_MMath/plots/list-zoomout-shuf-swift.py

    rdf72682 r8eb85de  
    88
    99printSingleDetail(
    10     infileLocal='results-zoomout-shuf.csv',
     10    infileLocal='results-swift-zoomout-shuf.csv',
    1111    tgtMovement = 'stack',
    1212    tgtPolarity = 'insfirst',
Note: See TracChangeset for help on using the changeset viewer.