Changeset 408f954


Ignore:
Timestamp:
Apr 25, 2026, 6:31:13 PM (3 days ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
7184906
Parents:
810c2c5
Message:

fix list perf plotting issues with physical factors

Location:
doc/theses/mike_brooks_MMath
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/mike_brooks_MMath/list.tex

    r810c2c5 r408f954  
    13121312  \small{\textsuperscript{\textdagger} LQ-@list@ is (/48) by its incomplete (25\%) use case coverage.  Its bars are scaled to match.}
    13131313  \caption{Histogram of IR durations, decomposed by all first-order effects.
    1314   Each of the three breakdowns divides the entire population of test results into its mutually disjoint constituents. Lower duration is better. \MLB{To fix: the size-zone bars are broken (wrong data)}}
     1314  Each of the three breakdowns divides the entire population of test results into its mutually disjoint constituents. Lower duration is better.
     1315  }
    13151316  \label{fig:plot-list-1ord}
    13161317\end{figure}
     
    13601361        Every (binned and mean-contributing) individual data point represents a pair of test setups, one with the criterion set to the option labelled at the top; the other setup uses the bottom option.
    13611362        This point's y-axis score is the ratio of these setups' durations.
    1362         The point lands in a bin closer to the label of the option that performs better. \MLB{To fix: the size-zone bars are broken (no data)}
     1363        The point lands in a bin closer to the label of the option that performs better.
    13631364        }
    13641365        \label{fig:plot-list-2ord}
  • doc/theses/mike_brooks_MMath/plots/ListCommon.py

    r810c2c5 r408f954  
    101101    return timings
    102102
     103# calls = 0
    103104
    104105def annotateBaseline( timings, marginalizeOn ):
     106#   global calls
     107#   print( "XXX", calls, marginalizeOn, file=sys.stderr )
    105108    c_tgtPeers = c( 'Peers', marginalizeOn )
    106109    c_tgtBl = c("Baseline", marginalizeOn)
     
    117120    # comparing to sz-only baseline gets rid of "they all pitch up," while keeping "SM is faster then ML"
    118121    if 'SizeZone' in marginalizeOn and 'NumNodes' not in marginalizeOn:
     122        assert( 'Length' not in marginalizeOn )  # need to treat them in lockstep because of fd
     123    #   calls += 1
    119124        # special case: sz-only synthetic benchmark
    120125        margNeither = list( set(marginalizeOn) - {'SizeZone'} )
    121         margBoth = list( set(marginalizeOn) | {'NumNodes'} )
    122         margJustNn = list( set(margNeither) | {'NumNodes'} )
     126        margBoth = list( set(marginalizeOn) | {'NumNodes', 'Length'} )
     127        margJustNn = list( set(margNeither) | {'NumNodes', 'Length'} )
    123128        annotateBaseline( timings, margNeither )
    124129        annotateBaseline( timings, margBoth )
     
    136141        conditionOn = list( set(explanations) - set(marginalizeOn) )
    137142    #   print( "marginalizing on", marginalizeOn, "conditioning on", conditionOn, file=sys.stderr )
     143    #   calls += 1
    138144
    139145        if conditionOn:
  • doc/theses/mike_brooks_MMath/plots/list-1ord.gp

    r810c2c5 r408f954  
    2929
    3030set xrange [-5.5:17.5];
    31 set xlabel "Architecture, Size Zone (/156);                 Use Case (/52);                            Framework (/192^†)       \nPrevalence                                   Prevalence                                     Prevalence"
     31set xlabel "Machine, Size Zone (/156);                  Use Case (/52);                             Framework (/192^†)       \nPrevalence                                   Prevalence                                     Prevalence"
    3232set xtics ( \
    3333   "AMD, sm"    -5, \
     
    6464
    6565plot INDIR."/plot-list-1ord.det.dat" \
    66        i  3 using (0):(0):(-1 - 1):(-1 - 1 +       barHtScale_phys * $3):1:2 title columnheader(1) with boxxyerror fc rgb "black"        fs transparent solid 0.15 noborder, \
    67     '' i  2 using (0):(0):(-1 - 2):(-1 - 2 +       barHtScale_phys * $3):1:2 title columnheader(1) with boxxyerror fc rgb "black" fs transparent solid 0.15 noborder, \
    68     '' i  1 using (0):(0):(-1 - 3):(-1 - 3 +       barHtScale_phys * $3):1:2 title columnheader(1) with boxxyerror fc rgb "black"     fs transparent solid 0.15 noborder, \
    69     '' i  0 using (0):(0):(-1 - 4):(-1 - 4 +       barHtScale_phys * $3):1:2 title columnheader(1) with boxxyerror fc rgb "black"      fs transparent solid 0.15 noborder, \
    70     '' i  3 using (-1 - 1 +       barHtScale_phys * $3):2 notitle with steps lc rgb "black"         lw 0.3, \
    71     '' i  2 using (-1 - 2 +       barHtScale_phys * $3):2 notitle with steps lc rgb "black"  lw 0.3, \
    72     '' i  1 using (-1 - 3 +       barHtScale_phys * $3):2 notitle with steps lc rgb "black"      lw 0.3, \
    73     '' i  0 using (-1 - 4 +       barHtScale_phys * $3):2 notitle with steps lc rgb "black"       lw 0.3, \
     66       i  3 using (0):(0):(-1 - 4):(-1 - 4 +       barHtScale_phys * $3):1:2 title columnheader(1) with boxxyerror fc rgb "black"        fs transparent solid 0.15 noborder, \
     67    '' i  2 using (0):(0):(-1 - 3):(-1 - 3 +       barHtScale_phys * $3):1:2 title columnheader(1) with boxxyerror fc rgb "black" fs transparent solid 0.15 noborder, \
     68    '' i  1 using (0):(0):(-1 - 2):(-1 - 2 +       barHtScale_phys * $3):1:2 title columnheader(1) with boxxyerror fc rgb "black"     fs transparent solid 0.15 noborder, \
     69    '' i  0 using (0):(0):(-1 - 1):(-1 - 1 +       barHtScale_phys * $3):1:2 title columnheader(1) with boxxyerror fc rgb "black"      fs transparent solid 0.15 noborder, \
     70    '' i  3 using (-1 - 4 +       barHtScale_phys * $3):2 notitle with steps lc rgb "black"         lw 0.3, \
     71    '' i  2 using (-1 - 3 +       barHtScale_phys * $3):2 notitle with steps lc rgb "black"  lw 0.3, \
     72    '' i  1 using (-1 - 2 +       barHtScale_phys * $3):2 notitle with steps lc rgb "black"      lw 0.3, \
     73    '' i  0 using (-1 - 1 +       barHtScale_phys * $3):2 notitle with steps lc rgb "black"       lw 0.3, \
    7474\
    7575    '' i 10 using (0):(0):( 0):( 0 + barHtScale_op * $3):1:2 title columnheader(1) with boxxyerror fc rgb "black"        fs transparent solid 0.15 noborder, \
     
    108108\
    109109   INDIR."/plot-list-1ord.sum.dat" \
    110        i  3 using (-1 - 1):1:(-1 - 1):(-1 - 1 + .8) notitle with xerrorbars lc rgb "black"       pt  5  ps 0.8, \
    111     '' i  2 using (-1 - 2):1:(-1 - 2):(-1 - 2 + .8) notitle with xerrorbars lc rgb "black"       pt  5  ps 0.8, \
    112     '' i  1 using (-1 - 3):1:(-1 - 3):(-1 - 3 + .8) notitle with xerrorbars lc rgb "black"       pt  5  ps 0.8, \
    113     '' i  0 using (-1 - 4):1:(-1 - 4):(-1 - 4 + .8) notitle with xerrorbars lc rgb "black"       pt  5  ps 0.8, \
     110       i  3 using (-1 - 4):1:(-1 - 4):(-1 - 4 + .8) notitle with xerrorbars lc rgb "black"       pt  5  ps 0.8, \
     111    '' i  2 using (-1 - 3):1:(-1 - 3):(-1 - 3 + .8) notitle with xerrorbars lc rgb "black"       pt  5  ps 0.8, \
     112    '' i  1 using (-1 - 2):1:(-1 - 2):(-1 - 2 + .8) notitle with xerrorbars lc rgb "black"       pt  5  ps 0.8, \
     113    '' i  0 using (-1 - 1):1:(-1 - 1):(-1 - 1 + .8) notitle with xerrorbars lc rgb "black"       pt  5  ps 0.8, \
    114114\
    115115    '' i 10 using (     0):1:(     0):(     0 + .8) notitle with xerrorbars lc rgb "black"       pt  5  ps 0.8, \
Note: See TracChangeset for help on using the changeset viewer.