Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Shane Snyder
darshan
Commits
7610c2fb
Commit
7610c2fb
authored
May 19, 2016
by
Shane Snyder
Browse files
add (mpiio or posix) perf. est. to summary graphs
parent
9b2600e6
Changes
2
Show whitespace changes
Inline
Side-by-side
darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
View file @
7610c2fb
...
...
@@ -54,7 +54,7 @@ if ($verbose_flag)
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_WRITE
,
"
>
$tmp_dir
/file-access-write.dat
")
||
die
("
error opening output file: $!
\n
");
...
...
@@ -79,6 +79,9 @@ my $cumul_write_bytes_shared = 0;
my
$cumul_meta_shared
=
0
;
my
$cumul_meta_indep
=
0
;
my
$perf_est
=
0.0
;
my
$perf_layer
=
"";
my
$first_data_line
=
1
;
my
%file_record_hash
=
();
my
%fs_data
=
();
...
...
@@ -134,6 +137,19 @@ while($line = <PARSE_OUT>)
(
$junk
,
$version
)
=
split
('
:
',
$line
,
2
);
$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!/
)
{
$partial_flag
=
1
;
...
...
@@ -964,6 +980,9 @@ my $latex_cmd_line = "\"\\def\\titlecmd{$cmd} \\
\\
def
\\
filecwbs{
$cwbs
}
\\
\\
def
\\
filecmi{
$cmi
}
\\
\\
def
\\
filecms{
$cms
}
\\
\\
def
\\
filecmi{
$cmi
}
\\
\\
def
\\
perfest{
$perf_est
}
\\
\\
def
\\
perflayer{
$perf_layer
}
\\
\\
input{summary.tex}
\"
\\
@__DARSHAN_PDFLATEX_HALT_ON_ERROR
@
";
...
...
darshan-util/darshan-job-summary/share/summary.tex
View file @
7610c2fb
...
...
@@ -50,6 +50,9 @@ 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
}
\vspace
{
3em
}
\subfigure
{
\includegraphics
[scale=0.75]
{
time-summary.pdf
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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