122 lines
2.6 KiB
TeX
122 lines
2.6 KiB
TeX
\subsection{Politiques d'exécution}
|
|
|
|
%{{{
|
|
\begin{frame}{\texttt{DynamicPool} : \en{Thread pool}}
|
|
%{{{ frame "
|
|
\fig{exec/threadpool}
|
|
%}}}
|
|
\end{frame}
|
|
%}}}
|
|
|
|
%{{{
|
|
\begin{frame}{Répartition équilibrée}
|
|
%{{{ frame "
|
|
\only<1>{\def\N{12}\def\T{4}}
|
|
\only<2>{\def\N{10}\def\T{4}}
|
|
\fig{exec/firstlevel}
|
|
\only<1>{
|
|
\vspace{-1ex}
|
|
\[
|
|
12\text{ tâches} = 3\text{ tâches/\en{thread}} \times 4\text{ \en{threads}} + 0\text{ tâche}
|
|
\]
|
|
\[
|
|
\implies \text{accélération idéale : }4
|
|
\]
|
|
}
|
|
\only<2>{
|
|
\vspace{-1ex}
|
|
\[
|
|
10\text{ tâches} = 2\text{ tâches/\en{thread}} \times 4\text{ \en{threads}} + 2\text{ tâches}
|
|
\]
|
|
\[
|
|
\implies \text{accélération idéale : }3.\overline{3}
|
|
\]
|
|
}
|
|
%}}}
|
|
\end{frame}
|
|
%}}}
|
|
|
|
%{{{
|
|
\begin{frame}{Répartition équilibrée multi-niveaux}
|
|
%{{{ frame "
|
|
\def\N{10}\def\T{4}
|
|
\figonly<1>{exec/firstleveldetails}
|
|
\only<2>{
|
|
\fig{exec/multilevel}
|
|
\vspace{6.5mm}
|
|
}
|
|
\only<1>{
|
|
\vspace{-1ex}
|
|
\[
|
|
10 \times 2\text{ tâches} = 2 \times 2\text{ tâches/\en{thread}} \times 4\text{ \en{threads}}
|
|
+ 2 \times 2\text{ tâches}
|
|
\]
|
|
\[
|
|
\implies \text{accélération idéale : }3.\overline{3}
|
|
\]
|
|
}
|
|
\only<2>{
|
|
\vspace{-1ex}
|
|
\[
|
|
10 \times 2\text{ tâches} = (2 \times 2 + 1)\text{ tâches/\en{thread}} \times 4\text{ \en{threads}}
|
|
\]
|
|
\[
|
|
\implies \text{accélération idéale : }4
|
|
\]
|
|
}
|
|
%}}}
|
|
\end{frame}
|
|
%}}}
|
|
|
|
%{{{
|
|
\begin{frame}{Performances}
|
|
%{{{ frame "
|
|
\framesubtitle<2>{Temps moyen (exécutions séquentielles)}
|
|
\framesubtitle<3>{Temps moyen (exécutions parallèles)}
|
|
\framesubtitle<4>{Accélération (exécutions parallèles)}
|
|
|
|
\only<1>{
|
|
Contexte matériel et logiciel :
|
|
\vspace{1ex}
|
|
\begin{itemize}
|
|
\item Intel Xeon E7-8890 v3 -- \SI{2.5}{\GHz}
|
|
\vspace{1ex}
|
|
\item \num{18} cœurs
|
|
\vspace{1ex}
|
|
\item GCC 8.2.0 -- \texttt{-O2}
|
|
\vspace{1ex}
|
|
\item Résolution de \graspels{} (194 sommets)
|
|
\vspace{1ex}
|
|
\item moyennes sur \num{20} exécutions
|
|
\vspace{1ex}
|
|
\item exécutions répétables
|
|
\end{itemize}
|
|
}
|
|
|
|
\only<2>{
|
|
\begin{columns}
|
|
\begin{column}{.7\paperwidth}
|
|
\includegraphics{img/exec/rt_graspels_qa194_24_20_20_seq.pdf}
|
|
\end{column}
|
|
\begin{column}{.25\paperwidth}
|
|
\begin{itemize}
|
|
\item[hw\_\ldots] \og à la main \fg
|
|
\item[sk\_\ldots] avec squelettes
|
|
\end{itemize}
|
|
\end{column}
|
|
\end{columns}
|
|
}
|
|
\only<3>{
|
|
\includegraphics{img/exec/rt_graspels_qa194_20_20_20_speedup.pdf}
|
|
\vspace{-2ex}
|
|
\center Nombre d'itérations du GRASP : \num{20}
|
|
}
|
|
\only<4>{
|
|
\includegraphics{img/exec/rt_graspels_qa194_4_20_20_speedup.pdf}
|
|
\vspace{-2.5ex}
|
|
\center Nombre d'itérations du GRASP : \num{4}
|
|
}
|
|
%}}}
|
|
\end{frame}
|
|
%}}}
|