bachelorThesis/report/figures/table_iii.tex
Claudio Maggioni (maggicl) c2a6ddc044 table iv mostly done
2021-05-24 12:44:49 +02:00

210 lines
7 KiB
TeX

\newcommand{\tableGENERIC}[3]{
\begin{subfigure}{0.49\textwidth}
\vspace{0.5cm}
\begin{minipage}[c]{\textwidth}%
\resizebox{\textwidth}{!}{
\begin{tabular}{lrrrrr}
\toprule
#3
\midrule
#2
\bottomrule
\end{tabular}}
\end{minipage}
\hfill
\caption{Cluster #1}
\end{subfigure}}
\newcommand{\tableIII}[2]{\tableGENERIC{#1}{#2}{\tableIIIh}}
\newcommand{\tableIV}[2]{\tableGENERIC{#1}{#2}{\tableIVh}}
\newcommand{\tableIIIh}{%
\multirow{2}{*}{\parbox{1.5cm}{\centering{Task \\ termination}}}
& \multicolumn{5}{c}{Mean number of events} \\
& Overall ($95^{th}$ p.) &
EVICT & FAIL & FINISH & KILL \\}
\newcommand{\tableIVh}{%
\multirow{2}{*}{\parbox{1.5cm}{\centering{Job \\ termination}}}
& \multirow{2}{*}{\parbox{2.5cm}{\centering{\# of tasks mean. ($95^{th}$ p)}}}
& \multicolumn{4}{c}{Mean number of events} \\
& & EVICT & FAIL & FINISH & KILL \\}
\begin{figure}[p]
\begin{subfigure}{\textwidth}
\centering
\begin{tabular}{lrrrrr}
\toprule
\tableIIIh
\midrule
EVICT & 2.372 (5) & 2.094 & 0.259 & 0.004 & 0.015 \\
FAIL & 3.130 (8) & 0.350 & 2.700 & 0.020 & 0.060 \\
FINISH & 2.516 (4) & 0.302 & 1.175 & 1.023 & 0.016 \\
KILL & 1.094 (1) & 0.061 & 0.008 & 0.011 & 1.014 \\
\bottomrule
\end{tabular}
\caption{2011 data}
\vspace{0.5cm}
\end{subfigure}
\begin{subfigure}{\textwidth}
\centering
\begin{tabular}{lrrrrr}
\toprule
\tableIIIh
\midrule
EVICT & 78.710 (342) & 52.242 & 0.673 & 0.000 & 25.795 \\
FAIL & 24.962 (26) & 0.290 & 23.635 & 0.348 & 0.691 \\
FINISH & 2.962 (2) & 0.022 & 0.012 & 2.915 & 0.013 \\
KILL & 8.763 (16) & 1.876 & 0.143 & 0.003 & 6.741 \\
\bottomrule
\end{tabular}
\caption{2019 data}
\end{subfigure}
\caption{Mean number of termination events and their distributions per
task type between 2011 and 2019 (all clusters aggregated) traces. The
tables show an
overall mean accompanied by the 95-th percentile of all termination
events, followed by the mean of events per event type of each
termination event.}
\end{figure}
\begin{figure}[p]
\tableIII{A}{%
EVICT & 103.228 (719) & 73.694 & 0.769 & 0.000 & 28.766 \\
FAIL & 11.819 (26) & 0.288 & 11.062 & 0.002 & 0.468 \\
FINISH & 2.185 (1) & 0.019 & 0.004 & 2.153 & 0.008 \\
KILL & 5.963 (11) & 2.350 & 0.214 & 0.003 & 3.396 \\
}
\tableIII{B}{%
EVICT & 83.018 (394) & 64.817 & 0.240 & 0.000 & 17.962 \\
FAIL & 20.851 (62) & 0.518 & 19.657 & 0.001 & 0.675 \\
FINISH & 2.995 (4) & 0.020 & 0.021 & 2.943 & 0.012 \\
KILL & 9.173 (12) & 3.351 & 0.276 & 0.004 & 5.541 \\
}
\tableIII{C}{%
EVICT & 98.437 (444) & 73.716 & 1.813 & 0.000 & 22.908 \\
FAIL & 52.010 (30) & 0.773 & 48.446 & 2.035 & 0.756 \\
FINISH & 2.507 (2) & 0.018 & 0.013 & 2.471 & 0.006 \\
KILL & 5.452 (6) & 1.533 & 0.116 & 0.004 & 3.799 \\
}
\tableIII{D}{%
EVICT & 76.759 (366) & 62.001 & 0.700 & 0.000 & 14.058 \\
FAIL & 62.314 (62) & 0.496 & 58.968 & 0.810 & 2.040 \\
FINISH & 3.877 (2) & 0.059 & 0.019 & 3.789 & 0.010 \\
KILL & 6.795 (6) & 1.960 & 0.151 & 0.002 & 4.682 \\
}
\tableIII{E}{%
EVICT & 17.678 (72) & 11.781 & 0.106 & 0.000 & 5.791 \\
FAIL & 112.384 (28) & 0.458 & 111.471 & 0.000 & 0.456 \\
FINISH & 2.029 (2) & 0.014 & 0.008 & 1.999 & 0.008 \\
KILL & 13.505 (64) & 1.288 & 0.057 & 0.000 & 12.160 \\
}
\tableIII{F}{%
EVICT & 70.146 (114) & 23.974 & 0.192 & 0.000 & 45.980 \\
FAIL & 41.087 (54) & 0.279 & 39.257 & 0.000 & 1.550 \\
FINISH & 3.129 (4) & 0.019 & 0.004 & 3.008 & 0.098 \\
KILL & 10.288 (38) & 0.384 & 0.098 & 0.001 & 9.804 \\
}
\tableIII{G}{%
EVICT & 136.032 (490) & 77.429 & 0.303 & 0.000 & 58.299 \\
FAIL & 8.948 (8) & 0.016 & 8.593 & 0.000 & 0.339 \\
FINISH & 14.176 (2) & 0.015 & 0.002 & 14.154 & 0.005 \\
KILL & 32.320 (164) & 6.909 & 0.135 & 0.000 & 25.276 \\
}
\tableIII{H}{%
EVICT & 14.734 (40) & 6.733 & 0.837 & 0.000 & 7.165 \\
FAIL & 41.067 (120) & 0.600 & 37.600 & 0.000 & 2.867 \\
FINISH & 3.681 (2) & 0.024 & 0.014 & 3.633 & 0.011 \\
KILL & 17.976 (98) & 0.633 & 0.170 & 0.000 & 17.173 \\
}
\caption{Mean number of termination events and their distributions per
task type for each cluster in the 2019 traces. The tables show an
overall mean accompanied by the 95-th percentile of all termination
events, followed by a mean of events per event type of each
termination event.}\label{fig:tableIII-csts}
\end{figure}
\begin{figure}[p]
\begin{subfigure}{\textwidth}
\centering
\begin{tabular}{lrrrrr}
\toprule
\tableIVh%
\midrule
EVICT & 0.989 (1) & 1.000 & 0.000 & 0.000 & 0.000 \\
FAIL & 43.126 (200) & 0.114 & 2.300 & 0.981 & 12.833 \\
FINISH & 3.074 (2) & 0.005 & 0.153 & 1.778 & 0.014 \\
KILL & 53.919 (178) & 0.235 & 0.103 & 0.288 & 11.337 \\
\bottomrule
\end{tabular}
\caption{2011 data}
\vspace{0.5cm}
\end{subfigure}
\begin{subfigure}{\textwidth}
\centering
\begin{tabular}{lrrrrr}
\toprule
\tableIVh%
\midrule
EVICT & 0.989 (1) & 1.000 & 0.000 & 0.000 & 0.000 \\
FAIL & 43.126 (200) & 0.114 & 2.300 & 0.981 & 12.833 \\
FINISH & 3.074 (2) & 0.005 & 0.153 & 1.778 & 0.014 \\
KILL & 53.919 (178) & 0.235 & 0.103 & 0.288 & 11.337 \\
\bottomrule
\end{tabular}
\caption{2019 data}
\end{subfigure}
\caption{tbd}
\end{figure}
\begin{figure}[p]
\tableIV{A}{
EVICT & -- & -- & -- & -- & -- \\
FAIL & 90.793 (499) & 0.695 & 0.684 & 0.086 & 1.850 \\
FINISH & 1.187 (1) & 0.005 & 0.001 & 1.073 & 0.024 \\
KILL & 16.533 (10) & 1.045 & 0.074 & 0.461 & 1.189 \\
}
\tableIV{B}{
EVICT & 1.000 (1) & 1.000 & 0.000 & 0.000 & 0.000 \\
FAIL & 74.368 (374) & 2.003 & 1.994 & 0.267 & 4.944 \\
FINISH & 6.304 (10) & 0.022 & 0.008 & 2.349 & 0.013 \\
KILL & 69.853 (234) & 1.696 & 0.158 & 0.614 & 3.009 \\
}
\tableIV{C}{
EVICT & 1.000 (1) & 1.001 & 0.000 & 0.000 & 0.000 \\
FAIL & 41.982 (200) & 3.484 & 0.998 & 0.376 & 3.998 \\
FINISH & 1.991 (1) & 0.022 & 0.017 & 1.565 & 0.017 \\
KILL & 110.681 (652) & 0.627 & 0.059 & 0.656 & 2.267 \\
}
\tableIV{D}{
EVICT & 1.000 (1) & 1.000 & 0.000 & 0.000 & 0.000 \\
FAIL & 43.356 (250) & 6.112 & 0.949 & 0.531 & 6.498 \\
FINISH & 2.109 (2) & 0.268 & 0.013 & 1.723 & 0.019 \\
KILL & 89.648 (283) & 1.013 & 0.054 & 0.283 & 3.256 \\
}
\tableIV{E}{
EVICT & 1.000 (1) & 1.000 & 0.000 & 0.000 & 0.000 \\
FAIL & 23.081 (25) & 0.247 & 0.666 & 0.717 & 1.588 \\
FINISH & 7.776 (2) & 0.019 & 0.029 & 1.934 & 0.021 \\
KILL & 88.790 (309) & 0.706 & 0.029 & 0.461 & 7.572 \\
}
\tableIV{F}{
EVICT & 1.000 (1) & 1.000 & 0.000 & 0.000 & 0.000 \\
FAIL & 17.161 (8) & 0.621 & 0.546 & 0.426 & 7.559 \\
FINISH & 2.941 (2) & 0.015 & 0.051 & 1.670 & 0.162 \\
KILL & 103.889 (361) & 0.183 & 0.064 & 0.417 & 5.824 \\
}
\tableIV{G}{
EVICT & 1.000 (1) & 1.000 & 0.000 & 0.000 & 0.000 \\
FAIL & 51.835 (250) & 0.556 & 3.335 & 0.608 & 20.352 \\
FINISH & 8.519 (36) & 0.002 & 0.630 & 1.760 & 0.005 \\
KILL & 37.055 (100) & 5.687 & 0.065 & 0.080 & 19.166 \\
}
\tableIV{H}{
EVICT & 1.000 (1) & 1.000 & 0.000 & 0.000 & 0.000 \\
FAIL & 20.504 (1) & 0.114 & 2.300 & 0.981 & 12.833 \\
FINISH & 4.278 (14) & 0.005 & 0.153 & 1.778 & 0.014 \\
KILL & 11.023 (3) & 0.235 & 0.103 & 0.288 & 11.337 \\
}
\caption{tbd}
\end{figure}