Commit 434033d8 authored by Misbah Mubarak's avatar Misbah Mubarak

changes to the documentation

parent 642231b0
......@@ -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:
......
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment