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;
my $perf_est = 0.0;
my $perf_layer = "";
my $perf_mbytes = 0;
my $first_data_line = 1;
my %file_record_hash = ();
......@@ -142,14 +143,25 @@ while($line = <PARSE_OUT>)
if($perf_layer eq "")
{
($junk, $perf_est) = split(':', $line, 2);
$perf_est = sprintf("%.2f", $perf_est);
$perf_layer = "POSIX";
}
elsif($perf_layer eq "POSIX")
{
($junk, $perf_est) = split(':', $line, 2);
$perf_est = sprintf("%.2f", $perf_est);
$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!/)
{
$partial_flag = 1;
......@@ -983,6 +995,7 @@ my $latex_cmd_line = "\"\\def\\titlecmd{$cmd} \\
\\def\\filecmi{$cmi} \\
\\def\\perfest{$perf_est} \\
\\def\\perflayer{$perf_layer} \\
\\def\\perfbytes{$perf_mbytes} \\
\\input{summary.tex}\" \\
@__DARSHAN_PDFLATEX_HALT_ON_ERROR@";
......
......@@ -51,15 +51,16 @@ which may skew results in this document.
\input{job-table.tex}
}\\
\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}
\subfigure
{
\includegraphics[scale=0.75]{time-summary.pdf}
\includegraphics[scale=0.65]{time-summary.pdf}
}
\subfigure
{
\includegraphics[scale=0.75]{op-counts.pdf}
\includegraphics[scale=0.65]{op-counts.pdf}
}
\end{figure*}
......@@ -67,12 +68,12 @@ I/O performance \emph{estimate} (at the \perflayer \ layer): \textcolor{red}{\pe
\centering
\subfigure
{
\includegraphics[scale=0.75]{posix-access-hist.pdf}
\includegraphics[scale=0.65]{posix-access-hist.pdf}
}
\ifdefined\inclmpiio
\subfigure
{
\includegraphics[scale=0.75]{mpiio-access-hist.pdf}
\includegraphics[scale=0.65]{mpiio-access-hist.pdf}
}
\fi
\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