Commit 534a0e1d authored by Shane Snyder's avatar Shane Snyder

add perf estimate to job summary graphs

parent 7610c2fb
...@@ -81,6 +81,7 @@ my $cumul_meta_indep = 0; ...@@ -81,6 +81,7 @@ my $cumul_meta_indep = 0;
my $perf_est = 0.0; my $perf_est = 0.0;
my $perf_layer = ""; my $perf_layer = "";
my $perf_mbytes = 0;
my $first_data_line = 1; my $first_data_line = 1;
my %file_record_hash = (); my %file_record_hash = ();
...@@ -142,14 +143,25 @@ while($line = <PARSE_OUT>) ...@@ -142,14 +143,25 @@ while($line = <PARSE_OUT>)
if($perf_layer eq "") if($perf_layer eq "")
{ {
($junk, $perf_est) = split(':', $line, 2); ($junk, $perf_est) = split(':', $line, 2);
$perf_est = sprintf("%.2f", $perf_est);
$perf_layer = "POSIX"; $perf_layer = "POSIX";
} }
elsif($perf_layer eq "POSIX") elsif($perf_layer eq "POSIX")
{ {
($junk, $perf_est) = split(':', $line, 2); ($junk, $perf_est) = split(':', $line, 2);
$perf_est = sprintf("%.2f", $perf_est);
$perf_layer = "MPI-IO"; $perf_layer = "MPI-IO";
} }
} }
elsif ($line =~ /^# total_bytes: /)
{
if($perf_mbytes == 0)
{
($junk, $perf_mbytes) = split(':', $line, 2);
$perf_mbytes = $perf_mbytes / 1024 / 1024;
$perf_mbytes = sprintf("%.1f", $perf_mbytes);
}
}
elsif ($line =~ /^# \*WARNING\*: .* contains incomplete data!/) elsif ($line =~ /^# \*WARNING\*: .* contains incomplete data!/)
{ {
$partial_flag = 1; $partial_flag = 1;
...@@ -983,6 +995,7 @@ my $latex_cmd_line = "\"\\def\\titlecmd{$cmd} \\ ...@@ -983,6 +995,7 @@ my $latex_cmd_line = "\"\\def\\titlecmd{$cmd} \\
\\def\\filecmi{$cmi} \\ \\def\\filecmi{$cmi} \\
\\def\\perfest{$perf_est} \\ \\def\\perfest{$perf_est} \\
\\def\\perflayer{$perf_layer} \\ \\def\\perflayer{$perf_layer} \\
\\def\\perfbytes{$perf_mbytes} \\
\\input{summary.tex}\" \\ \\input{summary.tex}\" \\
@__DARSHAN_PDFLATEX_HALT_ON_ERROR@"; @__DARSHAN_PDFLATEX_HALT_ON_ERROR@";
......
...@@ -51,15 +51,16 @@ which may skew results in this document. ...@@ -51,15 +51,16 @@ which may skew results in this document.
\input{job-table.tex} \input{job-table.tex}
}\\ }\\
\vspace{1em} \vspace{1em}
I/O performance \emph{estimate} (at the \perflayer \ layer): \textcolor{red}{\perfest \ MiB/s} I/O performance \emph{estimate} (at the \perflayer \ layer):
transferred \textcolor{red}{\perfbytes \ MiB} at \textcolor{red}{\perfest \ MiB/s}
\vspace{3em} \vspace{3em}
\subfigure \subfigure
{ {
\includegraphics[scale=0.75]{time-summary.pdf} \includegraphics[scale=0.65]{time-summary.pdf}
} }
\subfigure \subfigure
{ {
\includegraphics[scale=0.75]{op-counts.pdf} \includegraphics[scale=0.65]{op-counts.pdf}
} }
\end{figure*} \end{figure*}
...@@ -67,12 +68,12 @@ I/O performance \emph{estimate} (at the \perflayer \ layer): \textcolor{red}{\pe ...@@ -67,12 +68,12 @@ I/O performance \emph{estimate} (at the \perflayer \ layer): \textcolor{red}{\pe
\centering \centering
\subfigure \subfigure
{ {
\includegraphics[scale=0.75]{posix-access-hist.pdf} \includegraphics[scale=0.65]{posix-access-hist.pdf}
} }
\ifdefined\inclmpiio \ifdefined\inclmpiio
\subfigure \subfigure
{ {
\includegraphics[scale=0.75]{mpiio-access-hist.pdf} \includegraphics[scale=0.65]{mpiio-access-hist.pdf}
} }
\fi \fi
\end{figure*} \end{figure*}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment