bachelorThesis/report/figures/spatial_resource_waste.tex

40 lines
2.1 KiB
TeX
Raw Normal View History

2021-05-20 10:33:36 +00:00
\newcommand{\spatialresourcewaste}[2][0.33\textwidth]{
\begin{subfigure}{#1}
2021-05-12 13:24:57 +00:00
%\ifnum#1=1 \hspace{0.25\textwidth} \fi
2021-05-20 10:33:36 +00:00
\resizebox{\textwidth}{!}{%
\input{figures/spatial_resource_waste/#2.pgf}}
2021-05-12 13:24:57 +00:00
%\hfill
\end{subfigure}}
2021-05-26 19:46:30 +00:00
\begin{figure}[p]
2021-05-20 10:33:36 +00:00
\spatialresourcewaste[0.5\textwidth]{used-2011}
\spatialresourcewaste[0.5\textwidth]{used-all}
2021-05-31 14:38:58 +00:00
\caption{Percentages of CPU and RAM resources used by tasks w.r.t.\ task termination type in 2011 and 2019 traces (total of clusters A to D). The x axis is the type of resource, y-axis is the percentage of resource used and color represents task termination. Numeric values are displayed below the graph as a table.}\label{fig:spatialresourcewaste-actual}
2021-05-20 10:33:36 +00:00
\end{figure}
2021-05-26 19:46:30 +00:00
\begin{figure}[p]
2021-05-20 10:33:36 +00:00
\spatialresourcewaste{used-a}
\spatialresourcewaste{used-b}
\spatialresourcewaste{used-c}
\spatialresourcewaste{used-d}
2021-05-31 14:38:58 +00:00
\caption{Percentages of CPU and RAM resources used by tasks w.r.t.\ task termination type for clusters A to D in 2019 traces. Refer to figure~\ref{fig:spatialresourcewaste-actual} for plot explaination.}\label{fig:spatialresourcewaste-actual-csts}
2021-05-20 10:33:36 +00:00
\end{figure}
2021-05-12 13:24:57 +00:00
2021-05-26 19:46:30 +00:00
\begin{figure}[p]
2021-05-20 10:33:36 +00:00
\spatialresourcewaste[0.5\textwidth]{requested-2011}
\spatialresourcewaste[0.5\textwidth]{requested-all}
2021-05-31 14:38:58 +00:00
\caption{Percentages of CPU and RAM resources requested by tasks w.r.t.\ task termination type in 2011 and 2019 traces. The x axis is the type of resource, y-axis is the percentage of resource used and color represents task termination. Numeric values are displayed below the graph as a table.}\label{fig:spatialresourcewaste-requested}
2021-05-12 13:24:57 +00:00
\end{figure}
2021-05-31 14:38:58 +00:00
\begin{figure}
2021-05-20 10:33:36 +00:00
\spatialresourcewaste{requested-a}
\spatialresourcewaste{requested-b}
\spatialresourcewaste{requested-c}
\spatialresourcewaste{requested-d}
\spatialresourcewaste{requested-e}
\spatialresourcewaste{requested-f}
\spatialresourcewaste{requested-g}
\spatialresourcewaste{requested-h}
2021-05-31 14:38:58 +00:00
\caption{Percentages of CPU and RAM resources requested by tasks w.r.t.\ task termination type for in 2019 traces. Refer to figure~\ref{fig:spatialresourcewaste-requested} for plot explaination.}\label{fig:spatialresourcewaste-requested-csts}
2021-05-12 13:24:57 +00:00
\end{figure}