Changeset 68af77b


Ignore:
Timestamp:
Apr 13, 2026, 12:21:18 PM (3 days ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Parents:
0f9c67bf
Message:

changes to first-order effects

Location:
doc/theses/mike_brooks_MMath
Files:
2 edited

Legend:

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

    r0f9c67bf r68af77b  
    706706\end{itemize}
    707707
    708 In the result analysis, a where list length is a performance-influencing factor, once truly ``large'' lengths have been dismissed, these zones are identified as representing different patterns:
     708In the result analysis, where list length is a performance-influencing factor, once ``large'' lengths are dismissed, these zones are identified as representing different patterns:
    709709\begin{description}
    710710        \item[size zone ``small''] lists of 4--16 elements
     
    712712\end{description}
    713713Each zone buckets four specific sizes at which trials are run.
     714
    714715
    715716\subsubsection{Experiment setup}
     
    978979The preceding result shows the intrusive implementations have better performance to the wrapped lists for small to medium sized lists.
    979980This analysis covers the experiment position taken in \VRef{s:AddRemovePerformance} for movement, polarity, and accessor.
    980 \VRef[Figure]{f:ExperimentOperations} shows the experiment operations tested, which results in 12 experiments for comparing intrusive implementations.
     981\VRef[Figure]{f:ExperimentOperations} shows the experiment operations tested, which results in 12 experiments (I--XII) for comparing intrusive implementations.
    981982To preclude hardware interference, only list sizes below 150 are examined to differentiate among the intrusive implementations,
    982983The data is selected from the start of \VRef[Figures]{f:Linear-swift}--\subref*{f:Linear-java}, but the start of \VRef[Figures]{f:Random-swift}--\subref*{f:Random-java} is largely the same.
     
    10361037        X:      &  queue, insert last, I-head / R-head \\
    10371038        XI:     & queue, insert last, iI-list / R-head \\
    1038         XII:    & queue, insert last, I-head / R-list \\
     1039        XII:& queue, insert last, I-head / R-list \\
    10391040        \end{tabular}
    10401041\end{tabular}
     
    10431044\end{figure}
    10441045
    1045 \VRef[Figure]{fig:plot-list-1ord} gives the first-order effects.
    1046 Its first breakdown, Machine--Size-Zone, shows the effects of an insert/remove's physical situation.
    1047 The Intel runs faster than the AMD; the small zone runs faster than the medium zone.
    1048 The size effect is more pronounced on the AMD than it is on the Intel.
    1049 
    10501046\begin{figure}
    10511047  \centering
    10521048  \includegraphics{plot-list-1ord.pdf}
    10531049  \caption{Histogram of operation durations, decomposed by all first-order effects.
    1054   Each of the three breakdowns divides the entire population of test results into its mutually disjoint constituents.}
     1050  Each of the three breakdowns divides the entire population of test results into its mutually disjoint constituents. Higher in column is better}
    10551051  \label{fig:plot-list-1ord}
    10561052\end{figure}
    10571053
    1058 These facts stated, you will not be chosing between these particular mahines or whether to run at one of these specific size zones.
    1059 The key takeaway from the physical comparison is the context it establishes for interpreting the framework comparison following.
    1060 Both the particulars of a the machine's cache design, and a list length's effect on the program's cache friendliness, affect add/remove speed in the manner illlustrated in this breakdown.
     1054\VRef[Figure]{fig:plot-list-1ord} gives the first-order effects.
     1055The first breakdown, architecture/size-zone (left), showing the overall performance of all 12 experiment on the two different hardware architectures.
     1056The relative experiment duration for each experiment is shown as a bar in each column and the black bar in that column shows the average of all 12 experiments.
     1057By inspection, Intel runs faster than AMD.
     1058As well, the small zone (lists of 4--16 elements) runs faster than the medium zone (lists of 50--200 elements).
     1059The size effect is more pronounced on the AMD with its smaller L3 cache than it is on the Intel.
     1060(No NUMA effects for these list sizes.)
    10611061Specifically, a 20\% standard deviation exists here, between the means four physical-effect categories.
     1062The key takeaway for this comparison is the context it establishes for interpreting the following framework comparisons.
     1063Both the particulars of a the machine's cache design, and a list length's effect on the program's cache friendliness, affect insert/remove speed in the manner illlustrated in this breakdown.
    10621064That is, if you are running on an unknown machine, at a scale above anomaly-prone individuals, and below where major LLC caching effects take over the general intrusive-list advantage, but with an unknown relationship to the sizing of your fickle low-level caches, you are likely to experience an unpredictable speed impact on the order of 20\%.
    10631065
  • doc/theses/mike_brooks_MMath/plots/list-1ord.gp

    r0f9c67bf r68af77b  
    2929
    3030set xrange [-5.5:17.5];
    31 set xlabel "Machine, Size Zone;                           Operation;                                     Framework;       \nPrevalence                                   Prevalence                                     Prevalence"
     31set xlabel "Architecture, Size Zone;                           Operation;                                     Framework;       \nPrevalence                                   Prevalence                                     Prevalence"
    3232set xtics ( \
    3333   "AMD, sm"    -5, \
Note: See TracChangeset for help on using the changeset viewer.