Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
darshan
darshan
Commits
534a0e1d
Commit
534a0e1d
authored
May 20, 2016
by
Shane Snyder
Browse files
add perf estimate to job summary graphs
parent
7610c2fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
View file @
534a0e1d
...
...
@@ -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
@
";
...
...
darshan-util/darshan-job-summary/share/summary.tex
View file @
534a0e1d
...
...
@@ -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.
7
5]
{
time-summary.pdf
}
\includegraphics
[scale=0.
6
5]
{
time-summary.pdf
}
}
\subfigure
{
\includegraphics
[scale=0.
7
5]
{
op-counts.pdf
}
\includegraphics
[scale=0.
6
5]
{
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.
7
5]
{
posix-access-hist.pdf
}
\includegraphics
[scale=0.
6
5]
{
posix-access-hist.pdf
}
}
\ifdefined\inclmpiio
\subfigure
{
\includegraphics
[scale=0.
7
5]
{
mpiio-access-hist.pdf
}
\includegraphics
[scale=0.
6
5]
{
mpiio-access-hist.pdf
}
}
\fi
\end{figure*}
...
...
Shane Snyder
@ssnyder
mentioned in issue
#91 (closed)
·
May 20, 2016
mentioned in issue
#91 (closed)
mentioned in issue #91
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment