Ignore:
Timestamp:
Feb 4, 2026, 12:43:09 PM (7 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/plots
Files:
33 added
9 deleted
5 edited
15 moved

Legend:

Unmodified
Added
Removed
  • 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.