Commit 7610c2fb authored by Shane Snyder's avatar Shane Snyder

add (mpiio or posix) perf. est. to summary graphs

parent 9b2600e6
...@@ -54,7 +54,7 @@ if ($verbose_flag) ...@@ -54,7 +54,7 @@ if ($verbose_flag)
print "verbose: $tmp_dir\n"; print "verbose: $tmp_dir\n";
} }
open(PARSE_OUT, "$darshan_parser $input_file |") || die("Can't execute \"$darshan_parser $input_file\": $!\n"); open(PARSE_OUT, "$darshan_parser --base --perf $input_file |") || die("Can't execute \"$darshan_parser $input_file\": $!\n");
open(FA_READ, ">$tmp_dir/file-access-read.dat") || die("error opening output file: $!\n"); open(FA_READ, ">$tmp_dir/file-access-read.dat") || die("error opening output file: $!\n");
open(FA_WRITE, ">$tmp_dir/file-access-write.dat") || die("error opening output file: $!\n"); open(FA_WRITE, ">$tmp_dir/file-access-write.dat") || die("error opening output file: $!\n");
...@@ -79,6 +79,9 @@ my $cumul_write_bytes_shared = 0; ...@@ -79,6 +79,9 @@ my $cumul_write_bytes_shared = 0;
my $cumul_meta_shared = 0; my $cumul_meta_shared = 0;
my $cumul_meta_indep = 0; my $cumul_meta_indep = 0;
my $perf_est = 0.0;
my $perf_layer = "";
my $first_data_line = 1; my $first_data_line = 1;
my %file_record_hash = (); my %file_record_hash = ();
my %fs_data = (); my %fs_data = ();
...@@ -134,6 +137,19 @@ while($line = <PARSE_OUT>) ...@@ -134,6 +137,19 @@ while($line = <PARSE_OUT>)
($junk, $version) = split(':', $line, 2); ($junk, $version) = split(':', $line, 2);
$version =~ s/^\s+//; $version =~ s/^\s+//;
} }
elsif ($line =~ /^# agg_perf_by_slowest: /)
{
if($perf_layer eq "")
{
($junk, $perf_est) = split(':', $line, 2);
$perf_layer = "POSIX";
}
elsif($perf_layer eq "POSIX")
{
($junk, $perf_est) = split(':', $line, 2);
$perf_layer = "MPI-IO";
}
}
elsif ($line =~ /^# \*WARNING\*: .* contains incomplete data!/) elsif ($line =~ /^# \*WARNING\*: .* contains incomplete data!/)
{ {
$partial_flag = 1; $partial_flag = 1;
...@@ -964,6 +980,9 @@ my $latex_cmd_line = "\"\\def\\titlecmd{$cmd} \\ ...@@ -964,6 +980,9 @@ my $latex_cmd_line = "\"\\def\\titlecmd{$cmd} \\
\\def\\filecwbs{$cwbs} \\ \\def\\filecwbs{$cwbs} \\
\\def\\filecmi{$cmi} \\ \\def\\filecmi{$cmi} \\
\\def\\filecms{$cms} \\ \\def\\filecms{$cms} \\
\\def\\filecmi{$cmi} \\
\\def\\perfest{$perf_est} \\
\\def\\perflayer{$perf_layer} \\
\\input{summary.tex}\" \\ \\input{summary.tex}\" \\
@__DARSHAN_PDFLATEX_HALT_ON_ERROR@"; @__DARSHAN_PDFLATEX_HALT_ON_ERROR@";
......
...@@ -50,6 +50,9 @@ which may skew results in this document. ...@@ -50,6 +50,9 @@ which may skew results in this document.
{ {
\input{job-table.tex} \input{job-table.tex}
}\\ }\\
\vspace{1em}
I/O performance \emph{estimate} (at the \perflayer \ layer): \textcolor{red}{\perfest \ MiB/s}
\vspace{3em}
\subfigure \subfigure
{ {
\includegraphics[scale=0.75]{time-summary.pdf} \includegraphics[scale=0.75]{time-summary.pdf}
......
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