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
Elsa Gonsiorowski
codes
Commits
434033d8
Commit
434033d8
authored
Jan 27, 2016
by
Misbah Mubarak
Browse files
changes to the documentation
parent
642231b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
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
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