X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/mpi-energy.git/blobdiff_plain/12e64b3608c2faa64e292c6234c107facdbc7ec3..a61f50d29efe27025514a6a5e34444845de7fe9b:/paper.tex diff --git a/paper.tex b/paper.tex index 1ecfb3a..3c9c6c3 100644 --- a/paper.tex +++ b/paper.tex @@ -16,6 +16,7 @@ \usepackage{xspace} \usepackage[textsize=footnotesize]{todonotes} \newcommand{\AG}[2][inline]{\todo[color=green!50,#1]{\sffamily\textbf{AG:} #2}\xspace} +\newcommand{\JC}[2][inline]{\todo[color=red!10,#1]{\sffamily\textbf{JC:} #2}\xspace} \begin{document} @@ -31,15 +32,16 @@ \IEEEauthorblockA{% FEMTO-ST Institute\\ University of Franche-Comté\\ - IUT de Belfort-Montb\'{e}liard, Rue Engel Gros, BP 27, 90016 Belfort, France\\ - Fax : (+33)~3~84~58~77~32\\ - Email: \{jean-claude.charr, ahmed.fanfakh, raphael.couturier, arnaud.giersch\}@univ-fcomte.fr + IUT de Belfort-Montbéliard, 19 avenue du Maréchal Juin, BP 527, 90016 Belfort cedex, France\\ + Fax : +33~3~84~58~77~32\\ + Email: \{jean-claude.charr,raphael.couturier,ahmed.fanfakh\_badri\_muslim,arnaud.giersch\}@univ-fcomte.fr } } \maketitle -\AG{Use Capital letters for only the first letter in the title of a section, table, figure, ...} +\AG{Is the fax number correct? Shall we add a telephone number?} +\JC{Use Capital letters for only the first letter in the title of a section, table, figure, ...} \begin{abstract} Dynamic Voltage Frequency Scaling (DVFS) can be applied to modern CPUs. This technique is usually used to reduce the energy consumed by a CPU while @@ -117,7 +119,7 @@ we conclude in Section~\ref{sec.concl}. \section{Related Works} \label{sec.relwork} -\AG{Consider introducing the models sec.~\ref{sec.exe} maybe before related works} +\AG{Consider introducing the models (sec.~\ref{sec.exe}) before related works} In this section, some heuristics to compute the scaling factor are presented and classified into two categories: offline and online methods. @@ -167,7 +169,7 @@ The primary contribution of this paper is presenting a new online scaling factor \section{Execution and Energy of Parallel Tasks on Homogeneous Platform} \label{sec.exe} -\AG{The whole subsection ``Parallel Tasks Execution on Homogeneous Platform'', can be deleted if we need space, we can just say we are interested in this paper in homogeneous clusters} +\JC{The whole subsection ``Parallel Tasks Execution on Homogeneous Platform'', can be deleted if we need space, we can just say we are interested in this paper in homogeneous clusters} \subsection{Parallel Tasks Execution on Homogeneous Platform} A homogeneous cluster consists of identical nodes in terms of hardware and software. Each node has its own memory and at least one processor which can @@ -241,7 +243,7 @@ lower a core's frequency. This factor reduces quadratically the dynamic power which may cause degradation in performance and thus, the increase of the static energy because the execution time is increased~\cite{36}. If the tasks are sorted according to their execution times before scaling in a descending order, the total energy consumption model for a parallel homogeneous platform, as presented by Rauber et al.~\cite{3}, can be written as a function of the scaling factor \emph S, as in EQ~(\ref{eq:energy}). -\AG{Are you sure of the following equation} +\JC{Are you sure of the following equation} \begin{equation} \label{eq:energy} E = P_\textit{dyn} \cdot S_1^{-2} \cdot @@ -251,19 +253,19 @@ homogeneous platform, as presented by Rauber et al.~\cite{3}, can be written as \end{equation} where \emph N is the number of parallel nodes, $T_i \ and \ S_i \ for \ i=1,...,N$ are the execution times and scaling factors of the sorted tasks. Therefore, $T1$ is the time of the slowest task, and $S_1$ its scaling factor which should be the highest because they are proportional to the time values $T_i$. The scaling factors are computed as in EQ~(\ref{eq:si}). -\AG{This equation does not make sense either, what's S? there is no F} +\JC{This equation does not make sense either, what's S? there is no F} \begin{equation} \label{eq:si} S_i = S \cdot \frac{T_1}{T_i} = \frac{F_\textit{max}}{F_\textit{new}} \cdot \frac{T_1}{T_i} \end{equation} -\AG{The Rauber model was used for a parallel machine not a homogeneous platform} +\JC{The Rauber model was used for a parallel machine not a homogeneous platform} where $F$ is the number of available frequencies. In this paper we depend on Rauber and Rünger energy model EQ~(\ref{eq:energy}) for two reasons: (1) this model is used for homogeneous platform that we work on in this paper, and (2) we compare our algorithm with Rauber and Rünger scaling factor selection method which is based on EQ~(\ref{eq:energy}). The optimal scaling factor is computed by minimizing the derivation for this equation which produces EQ~(\ref{eq:sopt}). -\AG{what's the small n in the equation} +\JC{what's the small n in the equation} \begin{equation} \label{eq:sopt} @@ -271,7 +273,7 @@ EQ~(\ref{eq:energy}). The optimal scaling factor is computed by minimizing the d \left( 1 + \sum_{i=2}^{N} \frac{T_i^3}{T_1^3} \right) } \end{equation} -\AG{The following 2 sections can be merged easily} +\JC{The following 2 sections can be merged easily} \section{Performance Evaluation of MPI Programs} \label{sec.mpip} @@ -486,7 +488,7 @@ This lead to 18 run states for each program. We use seven MPI programs of the NAS parallel benchmarks: CG, MG, EP, FT, BT, LU and SP. Figure~(\ref{fig:pred}) presents plots of the real execution times and the simulated ones. The average normalized errors between the predicted execution time and the real time (SimGrid time) for all programs is between 0.0032 to 0.0133. -\AG{why compute the average error not the max} +\JC{why compute the average error not the max} \subsection{The experimental results} The proposed algorithm was applied to seven MPI programs of the NAS benchmarks (EP, CG, MG, FT, BT, LU and SP) which were run with three classes (A, B and @@ -560,8 +562,8 @@ optimal level without considering the performance as in EQ~(\ref{eq:sopt}). We refer to this scenario as $R_{E}$. The second scenario is similar to the first except setting the slower task to the maximum frequency (when the scale $S=1$) to keep the performance from degradation as mush as possible. We refer to this -scenario as $R_{E-P}$. The comparison is made in tables~(\ref{table:compare - Class A},\ref{table:compare Class B},\ref{table:compare Class C}). These +scenario as $R_{E-P}$. The comparison is made in tables~(\ref{table:compareA}, +\ref{table:compareB}, and \ref{table:compareC}). These tables show the results of our method and Rauber and Rünger scenarios for all the NAS benchmarks programs for classes A,B and C. \begin{table}[p] @@ -716,7 +718,7 @@ In the near future, we would like to adapt this scaling factor selection method As a PhD student, M. Ahmed Fanfakh, would like to thank the University of Babylon (Iraq) for supporting his work. -\AG{delete the online paths for each reference} +\JC{delete the online paths for each reference\AG{except for TOP500 and the NPB}} % trigger a \newpage just before the given reference % number - used to balance the columns on the last page % adjust value as needed - may need to be readjusted if