\newcommand{\taskslowdown}[2]{
	\begin{subfigure}{0.49\textwidth}
	\vspace{0.5cm}
	\resizebox{\textwidth}{!}{#2}
	\caption{#1}
	\vfill
	\end{subfigure}}
\newcommand{\taskslowdownbig}[2]{
	\begin{subfigure}{\textwidth}
	\centering
	#2
	\caption{#1}
	\end{subfigure}}
\newcommand{\ctr}[2][3cm]{\parbox{#1}{\centering{#2}}}
\newcommand{\taskslowdownheader}{
\textbf{Tier} & \textbf{\% finished} &
\textbf{\ctr{Mean response [s] \\ (last execution)}} &
\textbf{\ctr{Mean response [s] \\ (all executions)}} &
\textbf{Mean slowdown} \\
}

\begin{figure}[p]
\taskslowdownbig{2011 data}{
	\begin{tabular}{cC{1.5cm}rrrr}
\toprule
\textbf{\ctr[1.5cm]{2011 \\ priority}} & \taskslowdownheader
\midrule
0 &  \multirow{2}{*}{Free} & 53.80\% & 2845 & 1767 & 3.37\\
1 & & 67.44\% & 3598 & 2939 &2.58\\\midrule
2 & \multirow{6}{*}{\centering\parbox{1.5cm}{\centering Best effort\\ batch}} & 90.78\% & 1835 & 1782 &1.15\\
3 &  & 95.62\% & 9683 & 8294 &3.39\\
4 &  & 78.05\% & 2006 & 1890 &1.69 \\
5 &  & 100\% & 58 & 58 & 1 \\
6 &  & 77.99\% & 567 & 567 & 1.02 \\
8 &  & 45.48\% & 1159 & 1151 & 1.01 \\\midrule
9 & Production & 23.35\% & 504 & 496 & 1.07 \\
\bottomrule
\end{tabular}}%
\vspace{0.5cm}
\taskslowdownbig{2019 data, aggregated}{
\begin{tabular}{lrrrr}
\toprule
\taskslowdownheader
\midrule
              Free &    42.85\% &    1374 &    8 &  1.15\\
 Best effort batch &    11.06\% &    4139 &  113 &  7.84\\
               Mid &     2.71\% &   18187 &  157 &  2.55\\
        Monitoring &     2.74\% &  834226 &  130 &  2.05\\
        Production &    13.54\% &   54789 &   24 &  6.68\\
\bottomrule
\end{tabular}}
\caption{Mean task slowdown for each cluster and each priority ``tier'' for 2011
	and 2019 data. \textbf{\% finished} is the percentage of tasks with
	\texttt{FINISH} termination w.r.t.\ priority, \textbf{mean response [s]
	(last execution)} is the mean response time (queue+execution time, in
	seconds) for the last task execution w.r.t.\ priority, \textbf{mean
	response [s] (all executions)} is the response time (in seconds) of all
	executions, \textbf{mean slowdown} is the mean slowdown measure w.r.t.\
	priority.  Priorities with no successfully terminated jobs have been
	omitted.}\label{fig:taskslowdown}
\end{figure}

\begin{figure}[p]
\taskslowdown{Cluster A}{
\begin{tabular}{lrrrr}
\toprule
\taskslowdownheader
\midrule
              Free &     0.33\% &     5769 &     1203 &     82.97 \\
 Best effort batch &   212.62\% &    71108 &    14201 &      5.17 \\
               Mid &    46.22\% &     8510 &     9135 &      1.16 \\
        Monitoring &     2.82\% &  1200998 &  1054458 &      2.86 \\
        Production &    27.21\% &     4546 &    16845 &      4.12 \\
\bottomrule
\end{tabular}
}
\taskslowdown{Cluster B}{
\begin{tabular}{lrrrr}
\toprule
\taskslowdownheader
\midrule
              Free &    45.21\% &    12047 &     5588 &      1.18 \\
 Best effort batch &    71.84\% &  1018454 &   550288 &      8.47 \\
               Mid &     8.82\% &   225147 &   336262 &      1.11 \\
        Monitoring &     4.12\% &  2627612 &  2024679 &      1.51 \\
        Production &    30.92\% &   182604 &   466329 &      9.71 \\
\bottomrule
\end{tabular}
}
\taskslowdown{Cluster C}{
\begin{tabular}{lrrrr}
\toprule
\taskslowdownheader
\midrule
              Free &    73.36\% &   172214 &     5553 &      1.12 \\
 Best effort batch &    52.96\% &  1236666 &   997117 &      7.40 \\
               Mid &     95.4\% &   579844 &   248553 &      2.04 \\
        Monitoring &     5.88\% &  2159459 &  1761833 &      1.74 \\
        Production &     3.61\% &   352603 &   357993 &      4.14 \\
\bottomrule
\end{tabular}

}
\taskslowdown{Cluster D}{
\begin{tabular}{lrrrr}
\toprule
\taskslowdownheader
\midrule
              Free &    42.82\% &    22831 &     5506 &      1.15 \\
 Best effort batch &    50.56\% &  1154060 &  1135023 &     12.04 \\
               Mid &    86.34\% &   228762 &   225269 &      2.56 \\
        Monitoring &     2.21\% &  1588844 &   913816 &      2.16 \\
        Production &     6.53\% &   279565 &   349364 &      5.51 \\
\bottomrule
\end{tabular}

}
\taskslowdown{Cluster E}{
\begin{tabular}{lrrrr}
\toprule
\taskslowdownheader
\midrule
              Free &    48.15\% &    33050 &    40073 &      1.44 \\
 Best effort batch &     0.47\% &   280811 &   205838 &      8.06 \\
               Mid &     0.46\% &    62123 &    83322 &     10.31 \\
        Monitoring &    37.71\% &  1415296 &  1263746 &      2.82 \\
        Production &     1.96\% &   231639 &   414149 &      8.54 \\
\bottomrule
\end{tabular}

}
\taskslowdown{Cluster F}{
\begin{tabular}{lrrrr}
\toprule
\taskslowdownheader
\midrule
              Free &    45.86\% &   187447 &    37069 &      1.09 \\
 Best effort batch &    44.29\% &  1368306 &  1563086 &      6.14 \\
               Mid &    31.36\% &   200116 &   110201 &      7.60 \\
        Monitoring &     8.42\% &  2079134 &  1682711 &      2.08 \\
        Production &     3.65\% &   297168 &   492372 &      5.94 \\
\bottomrule
\end{tabular}
}
\taskslowdown{Cluster G}{
\begin{tabular}{lrrrr}
\toprule
\taskslowdownheader
\midrule
              Free &    33.85\% &    64718 &    15473 &      1.14 \\
 Best effort batch &   104.33\% &   294959 &   184724 &     19.06 \\
               Mid &    49.06\% &   732532 &   706124 &      3.86 \\
        Monitoring &     4.36\% &  1991341 &  1676276 &      1.72 \\
        Production &    26.75\% &   115953 &   399050 &     14.57 \\
\bottomrule
\end{tabular}
}
\taskslowdown{Cluster H}{
\begin{tabular}{lrrrr}
\toprule
\taskslowdownheader
\midrule
              Free &    28.79\% &   310534 &   290058 &      1.12 \\
 Best effort batch &   107.03\% &   947368 &   527812 &      7.33 \\
               Mid &     2.18\% &   338883 &   197440 &      6.49 \\
        Monitoring &     4.96\% &  2309296 &  1808698 &      1.94 \\
        Production &      2.7\% &   298799 &   470783 &      5.80 \\
\bottomrule
\end{tabular}
}
\caption{Mean task slowdown for each cluster and each task priority for single
clusters in the 2019 traces. Refer to Figure~\ref{fig:taskslowdown} for a legend
of the columns.}\label{fig:taskslowdown-csts}
\end{figure}
