Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
3b80180d
Commit
3b80180d
authored
Apr 07, 2016
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More updates to documentation, changes to dragonfly sample read utility
parent
40525c88
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
src/network-workloads/README_traces.txt
src/network-workloads/README_traces.txt
+4
-2
src/networks/model-net/read-dragonfly-sample.c
src/networks/model-net/read-dragonfly-sample.c
+5
-1
No files found.
src/network-workloads/README_traces.txt
View file @
3b80180d
...
@@ -91,9 +91,11 @@ mpirun -np 4 ./src/network-workloads//model-net-mpi-replay --sync=3
...
@@ -91,9 +91,11 @@ mpirun -np 4 ./src/network-workloads//model-net-mpi-replay --sync=3
Runtime options can be used to enable time-stepped series data of simulation
Runtime options can be used to enable time-stepped series data of simulation
with multiple workloads:
with multiple workloads:
--enable_sampling = 1 [
Turns on sampling
after a specific simulated interval.
--enable_sampling = 1 [
Enables sampling of network & workload statistics
after a specific simulated interval.
Default sampling interval is 5 millisec and default sampling end time is 3
Default sampling interval is 5 millisec and default sampling end time is 3
secs.]
secs. These values can be adjusted at runtime using --sampling_interval and
--sampling_end_time options.]
--lp-io-dir-dir-name [Turns on end of simulation statistics for dragonfly network model]
--lp-io-dir-dir-name [Turns on end of simulation statistics for dragonfly network model]
...
...
src/networks/model-net/read-dragonfly-sample.c
View file @
3b80180d
...
@@ -33,6 +33,7 @@ struct dfly_rtr_sample
...
@@ -33,6 +33,7 @@ struct dfly_rtr_sample
struct
mpi_workload_sample
struct
mpi_workload_sample
{
{
int
nw_id
;
int
nw_id
;
int
app_id
;
unsigned
long
num_sends_sample
;
unsigned
long
num_sends_sample
;
unsigned
long
num_bytes_sample
;
unsigned
long
num_bytes_sample
;
unsigned
long
num_waits_sample
;
unsigned
long
num_waits_sample
;
...
@@ -169,7 +170,10 @@ int main( int argc, char** argv )
...
@@ -169,7 +170,10 @@ int main( int argc, char** argv )
fread
(
mpi_event_array
,
mpi_sample_sz
,
in_sz_mpi
/
mpi_sample_sz
,
pFile
);
fread
(
mpi_event_array
,
mpi_sample_sz
,
in_sz_mpi
/
mpi_sample_sz
,
pFile
);
for
(
i
=
0
;
i
<
in_sz_mpi
/
mpi_sample_sz
;
i
++
)
for
(
i
=
0
;
i
<
in_sz_mpi
/
mpi_sample_sz
;
i
++
)
{
{
fprintf
(
writeFile
,
"
\n
%ld %ld %ld %lf "
,
mpi_event_array
[
i
].
num_sends_sample
,
fprintf
(
writeFile
,
"
\n
%d %d %lu %lu %lu %lf "
,
mpi_event_array
[
i
].
nw_id
,
mpi_event_array
[
i
].
app_id
,
mpi_event_array
[
i
].
num_sends_sample
,
mpi_event_array
[
i
].
num_bytes_sample
,
mpi_event_array
[
i
].
num_bytes_sample
,
mpi_event_array
[
i
].
num_waits_sample
,
mpi_event_array
[
i
].
num_waits_sample
,
mpi_event_array
[
i
].
sample_end_time
);
mpi_event_array
[
i
].
sample_end_time
);
...
...
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