Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
72
Issues
72
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
e7f180dc
Commit
e7f180dc
authored
Sep 15, 2016
by
Philip Carns
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update rest of darshan-job-summary for STDIO mod
parent
715368e5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
15 deletions
+17
-15
darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
...an-util/darshan-job-summary/bin/darshan-job-summary.pl.in
+13
-11
darshan-util/darshan-job-summary/share/file-access-eps.gplt
darshan-util/darshan-job-summary/share/file-access-eps.gplt
+3
-3
darshan-util/darshan-job-summary/share/file-access-table.tex
darshan-util/darshan-job-summary/share/file-access-table.tex
+1
-1
No files found.
darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
View file @
e7f180dc
...
...
@@ -211,7 +211,7 @@ while($line = <PARSE_OUT>)
$summary
{
$fields
[
3
]}
+=
$fields
[
4
];
# accumulate independent and shared data as well as fs data
if
(
$fields
[
3
]
eq
"
POSIX_F_READ_TIME
")
if
(
$fields
[
3
]
eq
"
POSIX_F_READ_TIME
"
||
$fields
[
3
]
eq
"
STDIO_F_READ_TIME
"
)
{
if
(
$fields
[
1
]
==
-
1
)
{
...
...
@@ -222,7 +222,7 @@ while($line = <PARSE_OUT>)
$cumul_read_indep
+=
$fields
[
4
];
}
}
elsif
(
$fields
[
3
]
eq
"
POSIX_F_WRITE_TIME
")
elsif
(
$fields
[
3
]
eq
"
POSIX_F_WRITE_TIME
"
||
$fields
[
3
]
eq
"
STDIO_F_WRITE_TIME
"
)
{
if
(
$fields
[
1
]
==
-
1
)
{
...
...
@@ -233,7 +233,7 @@ while($line = <PARSE_OUT>)
$cumul_write_indep
+=
$fields
[
4
];
}
}
elsif
(
$fields
[
3
]
eq
"
POSIX_F_META_TIME
")
elsif
(
$fields
[
3
]
eq
"
POSIX_F_META_TIME
"
||
$fields
[
3
]
eq
"
STDIO_F_META_TIME
"
)
{
if
(
$fields
[
1
]
==
-
1
)
{
...
...
@@ -244,7 +244,7 @@ while($line = <PARSE_OUT>)
$cumul_meta_indep
+=
$fields
[
4
];
}
}
elsif
(
$fields
[
3
]
eq
"
POSIX_BYTES_READ
")
elsif
(
$fields
[
3
]
eq
"
POSIX_BYTES_READ
"
||
$fields
[
3
]
eq
"
STDIO_BYTES_READ
"
)
{
if
(
$fields
[
1
]
==
-
1
)
{
...
...
@@ -260,7 +260,7 @@ while($line = <PARSE_OUT>)
}
$fs_data
{
$fields
[
6
]}
->
[
0
]
+=
$fields
[
4
];
}
elsif
(
$fields
[
3
]
eq
"
POSIX_BYTES_WRITTEN
")
elsif
(
$fields
[
3
]
eq
"
POSIX_BYTES_WRITTEN
"
||
$fields
[
3
]
eq
"
STDIO_BYTES_WRITTEN
"
)
{
if
(
$fields
[
1
]
==
-
1
)
{
...
...
@@ -278,12 +278,13 @@ while($line = <PARSE_OUT>)
}
# record start and end of reads and writes
elsif
(
$fields
[
3
]
eq
"
POSIX_F_READ_START_TIMESTAMP
")
elsif
(
$fields
[
3
]
eq
"
POSIX_F_READ_START_TIMESTAMP
"
||
$fields
[
3
]
eq
"
STDIO_F_READ_START_TIMESTAMP
")
{
# store until we find the end
$last_read_start
=
$fields
[
4
];
}
elsif
(
$fields
[
3
]
eq
"
POSIX_F_READ_END_TIMESTAMP
"
&&
$fields
[
4
]
!=
0
)
elsif
(
(
$fields
[
3
]
eq
"
POSIX_F_READ_END_TIMESTAMP
"
||
$fields
[
3
]
eq
"
STDIO_F_READ_END_TIMESTAMP
")
&&
$fields
[
4
]
!=
0
)
{
# assume we got the read start already
my
$xdelta
=
$fields
[
4
]
-
$last_read_start
;
...
...
@@ -296,12 +297,13 @@ while($line = <PARSE_OUT>)
print
FA_READ
"
$last_read_start
\t
$fields
[1]
\t
$xdelta
\t
0
\n
";
}
}
elsif
(
$fields
[
3
]
eq
"
POSIX_F_WRITE_START_TIMESTAMP
")
elsif
(
$fields
[
3
]
eq
"
POSIX_F_WRITE_START_TIMESTAMP
"
||
$fields
[
3
]
eq
"
STDIO_F_WRITE_START_TIMESTAMP
")
{
# store until we find the end
$last_write_start
=
$fields
[
4
];
}
elsif
(
$fields
[
3
]
eq
"
POSIX_F_WRITE_END_TIMESTAMP
"
&&
$fields
[
4
]
!=
0
)
elsif
(
(
$fields
[
3
]
eq
"
POSIX_F_WRITE_END_TIMESTAMP
"
||
$fields
[
3
]
eq
"
STDIO_F_WRITE_END_TIMESTAMP
")
&&
$fields
[
4
]
!=
0
)
{
# assume we got the write start already
my
$xdelta
=
$fields
[
4
]
-
$last_write_start
;
...
...
@@ -877,7 +879,7 @@ open(FS_TABLE, ">$tmp_dir/fs-data-table.tex") || die("error opening output files
print
FS_TABLE
"
\\
begin{tabular}{c|r|r|r|r}
\\
multicolumn{5}{c}{ }
\\\\
\\
multicolumn{5}{c}{Data Transfer Per Filesystem (POSIX)}
\\\\
\\
multicolumn{5}{c}{Data Transfer Per Filesystem (POSIX
and STDIO
)}
\\\\
\\
hline
\\
multirow{2}{*}{File System}
\
&
\\
multicolumn{2}{c}{Write}
\\
vline
\
&
\\
multicolumn{2}{c}{Read}
\\\\
\\
cline{2-5}
...
...
@@ -926,7 +928,7 @@ open(VAR_TABLE, ">$tmp_dir/variance-table.tex") || die("error opening output fil
print
VAR_TABLE
"
\\
begin{tabular}{c|r|r|r|r|r|r|r|r|r}
\\
multicolumn{10}{c}{}
\\\\
\\
multicolumn{10}{c}{Variance in Shared Files (POSIX)}
\\\\
\\
multicolumn{10}{c}{Variance in Shared Files (POSIX
and STDIO
)}
\\\\
\\
hline
File
\
& Processes
\
&
\\
multicolumn{3}{c}{Fastest}
\\
vline
\
&
\\
multicolumn{3}{c}{Slowest}
\\
vline
\
&
\\
multicolumn{2}{c}{
\
$
\\
sigma
\
$}
\\\\
...
...
darshan-util/darshan-job-summary/share/file-access-eps.gplt
View file @
e7f180dc
...
...
@@ -8,7 +8,7 @@ set xdata time
set timefmt "%s"
set format x "%H:%M:%S"
set yrange [-1:ymax]
set title "Timespan from first to last read access on independent files (POSIX)"
set title "Timespan from first to last read access on independent files (POSIX
and STDIO
)"
set xrange ["0":runtime]
set ytics 0,yinc,ymaxtic
set lmargin 6
...
...
@@ -25,7 +25,7 @@ set style increment user
plot "file-access-read.dat" using 1:2:3:4 with vectors nohead filled notitle
set output "file-access-write.eps"
set title "Timespan from first to last write access on independent files (POSIX)"
set title "Timespan from first to last write access on independent files (POSIX
and STDIO
)"
# lw 3 to make lines thicker...
plot "file-access-write.dat" using 1:2:3:4 with vectors nohead filled lt 2 notitle
...
...
@@ -34,7 +34,7 @@ set output "file-access-shared.eps"
unset ytics
set ylabel "All processes"
set yrange [-1:1]
set title "Timespan from first to last access on files shared by all processes (POSIX)"
set title "Timespan from first to last access on files shared by all processes (POSIX
and STDIO
)"
plot "file-access-read-sh.dat" using 1:2:3:4 with vectors nohead filled lw 10 title "read", \
"file-access-write-sh.dat" using 1:(($2)-.2):3:4 with vectors nohead filled lw 10 title "write"
darshan-util/darshan-job-summary/share/file-access-table.tex
View file @
e7f180dc
\begin{tabular}
{
l|p
{
1.7in
}
r
}
\multicolumn
{
3
}{
c
}{
Average I/O per process (POSIX)
}
\\
\multicolumn
{
3
}{
c
}{
Average I/O per process (POSIX
and STDIO
)
}
\\
\hline
&
Cumulative time spent in I/O functions (seconds)
&
Amount of I/O (MB)
\\
\hline
...
...
Glenn K. Lockwood
@glock
mentioned in issue
#205 (closed)
·
Sep 15, 2016
mentioned in issue
#205 (closed)
mentioned in issue #205
Toggle commit list
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