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
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Elsa Gonsiorowski
codes
Commits
434033d8
Commit
434033d8
authored
Jan 27, 2016
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes to the documentation
parent
642231b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
8 deletions
+15
-8
src/network-workloads/README_synthetic.txt
src/network-workloads/README_synthetic.txt
+10
-4
src/networks/model-net/dragonfly.c
src/networks/model-net/dragonfly.c
+5
-4
No files found.
src/network-workloads/README_synthetic.txt
View file @
434033d8
...
...
@@ -14,11 +14,17 @@ SAMPLING:
an end time. Over this end time, dragonfly model will collect compute
node and router samples after every "t" simulated nanoseconds. The
sampling output files can be specified in the config file using
cn_sample_file and rt_sample_file arguments. An example utility that
reads the binary files and translates it into text can be found at
cn_sample_file and rt_sample_file arguments. By default the compute node
and router outputs will be sent to dragonfly-cn-sampling-%d.bin and
dragonfly-router-sampling-%d.bin. Corresponding metadata files for also
generated that gives information on the file format, dragonfly
configuration being used, router radix etc.
An example utility that reads the binary files and translates it into
text format can be found at
src/networks/model-net/read-dragonfly-sample.c (Note that the router
radix aka RADIX needs to be tuned with the dragonfly configuration
in the
utility to enable continguous array allocation).
radix aka RADIX needs to be tuned with the dragonfly configuration
in the
utility to enable continguous array allocation).
HOW TO RUN:
...
...
src/networks/model-net/dragonfly.c
View file @
434033d8
...
...
@@ -1986,8 +1986,8 @@ void dragonfly_rsample_fin(router_state * s,
sprintf
(
meta_fname
,
"dragonfly-router-sampling.meta"
);
FILE
*
fp
=
fopen
(
meta_fname
,
"w"
);
fprintf
(
fp
,
"
\n
Router sample format: router_id
\t
busy time for each of the %d links
\t
"
"link traffic for each of the %d links
\t
sample end time
"
,
fprintf
(
fp
,
"
Router sample struct format: router_id (tw_lpid)
\t
busy time for each of the %d links (double)
\t
"
"link traffic for each of the %d links
(int64_t)
\t
sample end time (double)
"
,
p
->
radix
,
p
->
radix
);
fclose
(
fp
);
}
...
...
@@ -2140,8 +2140,9 @@ void dragonfly_sample_fin(terminal_state * s,
sprintf
(
meta_fname
,
"dragonfly-cn-sampling.meta"
);
FILE
*
fp
=
fopen
(
meta_fname
,
"w"
);
fprintf
(
fp
,
"
\n
Compute node sample format: terminal_id
\t
finished chunks
\t
"
"data size per sample
\t
finished hops
\t
time to finish chunks
\t
busy time
\t
sample end time"
);
fprintf
(
fp
,
"Compute node sample format: terminal_id (tw_lpid)
\t
finished chunks (long)
\t
"
"data size per sample (long)
\t
finished hops (double)
\t
time to finish chunks (double)
\t
"
"busy time (double)
\t
sample end time(double)"
);
fclose
(
fp
);
}
char
rt_fn
[
MAX_NAME_LENGTH
];
...
...
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