Commit 346be3da authored by Misbah Mubarak's avatar Misbah Mubarak
Browse files

Merge branch 'merged-branch-v1' into 'master'

Merged branch v1

See merge request !30
parents 9897e59c 0c3bcbcf
...@@ -60,7 +60,6 @@ endif ...@@ -60,7 +60,6 @@ endif
if USE_DUMPI if USE_DUMPI
AM_CPPFLAGS += ${DUMPI_CFLAGS} -DUSE_DUMPI=1 AM_CPPFLAGS += ${DUMPI_CFLAGS} -DUSE_DUMPI=1
src_libcodes_la_SOURCES += src/workload/methods/codes-dumpi-trace-nw-wrkld.c src_libcodes_la_SOURCES += src/workload/methods/codes-dumpi-trace-nw-wrkld.c
LDADD += ${DUMPI_LIBS}
if USE_CORTEX if USE_CORTEX
if USE_PYTHON if USE_PYTHON
if USE_CORTEX_PYTHON if USE_CORTEX_PYTHON
...@@ -73,5 +72,6 @@ endif ...@@ -73,5 +72,6 @@ endif
AM_CPPFLAGS += ${CORTEX_CFLAGS} -DENABLE_CORTEX=1 AM_CPPFLAGS += ${CORTEX_CFLAGS} -DENABLE_CORTEX=1
LDADD += ${CORTEX_LIBS} LDADD += ${CORTEX_LIBS}
endif endif
LDADD += ${DUMPI_LIBS}
endif endif
## README for using ROSS instrumentation in CODES ## README for using ROSS instrumentation with CODES
For details about the ROSS instrumentation, see the [ROSS Instrumentation blog post](http://carothersc.github.io/ROSS/feature/instrumentation.html) on the ROSS webpage. For details about the ROSS instrumentation, see the [ROSS Instrumentation blog post](http://carothersc.github.io/ROSS/feature/instrumentation.html)
The instrumentation will be merged into the master branch of the ROSS repo very soon. on the ROSS webpage.
There are currently 3 types of instrumentation: GVT-based, real time, and event tracing. See the ROSS documentation for more info on There are currently 3 types of instrumentation: GVT-based, real time, and event tracing. See the ROSS documentation for more info on
the specific options or use `--help` with your model. The GVT-based and real time sampling do not require any changes to your model code. the specific options or use `--help` with your model. To collect data about the simulation engine, no changes are needed to model code
The event tracing will run without any changes, but some additions to the model code is needed in order to get specific model event types. for any of the instrumentation modes. Some additions to the model code is needed in order to turn on any model-level data collection.
This document describes how to do it. See the "Model-level data sampling" section on [ROSS Instrumentation blog post](http://carothersc.github.io/ROSS/feature/instrumentation.html).
Here we describe CODES specific details.
### Register LP event tracing function ### Register Instrumentation Callback Functions
The examples here are based on the server LP for the synthetic workload generation for dragonfly (`src/network-workloads/model-net-synthetic.c`). The examples here are based on the dragonfly router and terminal LPs (`src/networks/model-net/dragonfly.c`).
As described in the ROSS Vis documentation, we need to first add our function that will save the event type (and any other desired data) to the As described in the ROSS Vis documentation, we need to create a `st_model_types` struct with the pointer and size information.
buffer location provided by ROSS.
```C ```C
void svr_event_collect(svr_msg *m, tw_lp *lp, char *buffer) st_model_types dragonfly_model_types[] = {
{ {(rbev_trace_f) dragonfly_event_collect,
int type = (int) m->svr_event_type;
memcpy(buffer, &type, sizeof(type));
}
```
Then we need to create a `st_trace_type` struct with the pointer and size information.
```C
st_trace_type svr_trace_types[] = {
{(rbev_trace_f) svr_event_collect,
sizeof(int), sizeof(int),
(ev_trace_f) svr_event_collect, (ev_trace_f) dragonfly_event_collect,
sizeof(int)}, sizeof(int),
(model_stat_f) dragonfly_model_stat_collect,
sizeof(tw_lpid) + sizeof(long) * 2 + sizeof(double) + sizeof(tw_stime) * 2},
{(rbev_trace_f) dragonfly_event_collect,
sizeof(int),
(ev_trace_f) dragonfly_event_collect,
sizeof(int),
(model_stat_f) dfly_router_model_stat_collect,
0}, // updated in router_setup()
{0} {0}
} }
``` ```
`dragonfly_model_types[0]` is the function pointers for the terminal LP and `dragonfly_model_types[1]` is for the router LP.
For the first two function pointers for each LP, we use the same `dragonfly_event_collec()` because right now we just collect the event type, so
it's the same for both of these LPs. You can change these if you want to use different functions for different LP types or if you want a different
function for the full event tracing than that used for the rollback event trace (`rbev_trace_f` is for the event tracing of rollback triggering events only,
while `ev_trace_f` is for the full event tracing).
The number following each function pointer is the size of the data that will be saved when the function is called.
The third pointer is for the data to be sampled at the GVT or real time sampling points.
In this case the LPs have different function pointers since we want to collect different types of data for the two LP types.
For the terminal, I set the appropriate size of the data to be collected, but for the router, the size of the data is dependent on the radix for the
dragonfly configuration being used, which isn't known until runtime.
*Note*: You can only reuse the function for event tracing for LPs that use the same type of message struct.
For example, the dragonfly terminal and router LPs both use the `terminal_message` struct, so they can
use the same functions for event tracing. However the model net base LP uses the `model_net_wrap_msg` struct, so it gets its own event collection function and
`st_trace_type` struct, in order to read the event type correctly from the model.
And a function to return this struct In the ROSS instrumentation documentation, there are two methods provided for letting ROSS know about these `st_model_types` structs.
In CODES, this step is a little different, as `codes_mapping_setup()` calls `tw_lp_settype()`.
Instead, you add a function to return this struct for each of your LP types:
```C ```C
static const st_trace_type *svr_get_trace_types(void) static const st_model_types *dragonfly_get_model_types(void)
{ {
return(&svr_trace_types[0]); return(&dragonfly_model_types[0]);
}
static const st_model_types *dfly_router_get_model_types(void)
{
return(&dragonfly_model_types[1]);
} }
``` ```
As a reminder, there are two types of event tracing the full event trace (`ev_trace_f`) or only events that trigger rollbacks (`rbev_trace_f`). Now you need to add register functions for CODES:
It's set up so that you can have different functions for both types of event tracing, or you can use the same function for both.
Immediately after each function pointer is a `size_t` type that takes the amount of data that the function will be placing in the buffer,
so ROSS can appropriately handle things.
If you have multiple LPs, you can do a `st_trace_type` for each LP, or you can reuse. *Note*: You can only reuse `st_trace_type` and the event type collection
function for LPs that use the same type of message struct. For example, the dragonfly terminal and router LPs both use the `terminal_message` struct, so they can
use the same functions for event tracing. However the model net base LP uses the `model_net_wrap_msg` struct, so it gets its own event collection function and
`st_trace_type` struct, in order to read the event type correctly from the model.
`codes_mapping_init()` was changed to register the function pointers when it is setting up the LP types. So for CODES models, you need to add a register function:
```C ```C
void svr_register_trace() static void dragonfly_register_model_types(st_model_types *base_type)
{ {
trace_type_register("server", svr_get_trace_types()); st_model_type_register(LP_CONFIG_NM_TERM, base_type);
} }
```
`trace_type_register(const char* name, const st_trace_type* type)` is part of the API and lets CODES know the pointers for LP initialization.
Now in the main function, you call the register function *before* calling `codes_mapping_setup()`. static void router_register_model_types(st_model_types *base_type)
```C {
if (g_st_ev_trace) st_model_type_register(LP_CONFIG_NM_ROUT, base_type);
svr_register_trace(); }
``` ```
`st_model_type_register(const char* name, const st_trace_type* type)` is part of the CODES API and lets CODES know the pointers for LP initialization.
`g_st_ev_trace` is a ROSS flag for determining if event tracing is turned on. At this point, there are two different steps to follow depending on whether the model is one of the model-net models or not.
That's all you need to add for each LP. ##### Model-net Models
In the `model_net_method` struct, two fields have been added: `mn_model_stat_register` and `mn_get_model_stat_types`.
### Model Net LPs You need to set these to the functions described above. For example:
In addition to the dragonfly synthetic server LP, I've already added in the necessary changes for both the model net base LP type and dragonfly (both router and terminal LPs),
so no other changes need to be made to those LPs. (Unless you want to collect some additional data.)
For any other network LPs that are based on the model net base LP type, there are a few additional details to know.
There are two fields added to the `model_net_method` struct for pointers to the trace registration functions for each LP.
```C ```C
void (*mn_trace_register)(st_trace_type *base_type); struct model_net_method dragonfly_method =
const st_trace_type* (*mn_get_trace_type)(); {
``` .mn_configure = dragonfly_configure,
// ... all the usual model net stuff
.mn_model_stat_register = dragonfly_register_model_types,
.mn_get_model_stat_types = dragonfly_get_model_types,
};
For example, right now, both the dragonfly router and terminal LPs use the same `st_trace_type dragonfly_trace_types` struct and the following function to return its pointer: struct model_net_method dragonfly_router_method =
```C
static const st_trace_type *dragonfly_get_trace_types(void)
{ {
return(&dragonfly_trace_types[0]); .mn_configure = NULL,
} // ... all the usual model net stuff
.mn_model_stat_register = router_register_model_types,
.mn_get_model_stat_types = dfly_router_get_model_types,
};
``` ```
They have different register functions: ##### All other CODES models
Using the synthetic workload LP for dragonfly as an example (`src/network-workloads/model-net-synthetic.c`).
In the main function, you call the register function *before* calling `codes_mapping_setup()`.
```C ```C
static void dragonfly_register_trace(st_trace_type *base_type) st_model_types svr_model_types[] = {
{(rbev_trace_f) svr_event_collect,
sizeof(int),
(ev_trace_f) svr_event_collect,
sizeof(int),
(model_stat_f) svr_model_stat_collect,
0}, // at the moment, we're not actually collecting any data about this LP
{0}
}
static void svr_register_model_types()
{ {
trace_type_register(LP_CONFIG_NM_TERM, base_type); st_model_type_register("server", &svr_model_types[0]);
} }
static void router_register_trace(st_trace_type *base_type) int main(int argc, char **argv)
{ {
trace_type_register(LP_CONFIG_NM_ROUT, base_type); // ... some set up removed for brevity
model_net_register();
svr_add_lp_type();
if (g_st_ev_trace || g_st_model_stats)
svr_register_model_types();
codes_mapping_setup();
//...
} }
``` ```
And then the following additions to their `model_net_method` structs: `g_st_ev_trace` is a ROSS flag for determining if event tracing is turned on and `g_st_model_stats` determines if the GVT-based or real time instrumentation
```C modes are collecting model-level data as well.
struct model_net_method dragonfly_method =
{
// the fields already in the struct
...
// event tracing additions
.mn_trace_register = dragonfly_register_trace,
.mn_get_trace_type = dragonfly_get_trace_types,
};
struct model_net_method dragonfly_router_method =
{
// the fields already in the struct
...
// event tracing additions
.mn_trace_register = router_register_trace,
.mn_get_trace_type = dragonfly_get_trace_types,
};
```
Any other LPs built off of the model net LP, can be changed in the same way. ### CODES LPs that currently have event type collection implemented:
If you're using any of the following CODES models, you don't have to add anything, unless you want to change the data that's being collected.
- nw-lp (model-net-mpi-replay.c)
- original dragonfly router and terminal LPs (dragonfly.c)
- dfly server LP (model-net-synthetic.c)
- model-net-base-lp (model-net-lp.c)
- fat tree server LP (model-net-synthetic-fattree.c)
The fat-tree terminal and switch LPs (fattree.c) are only partially implemented at the moment. It needs two `model_net_method` structs to fully implement,
but currently both terminal and switch LPs use the same `fattree_method` struct.
/*
* Copyright (C) 2017 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*
*/
#ifndef CODES_MPI_REPLAY_H
#define CODES_MPI_REPLAY_H
#ifdef __cplusplus
extern "C" {
#endif
#include <mpi.h>
int modelnet_mpi_replay(MPI_Comm comm, int* argc, char*** argv );
#ifdef __cplusplus
}
#endif
#endif /* CODES_H */
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ft=c ts=8 sts=4 sw=4 expandtab
*/
...@@ -194,7 +194,7 @@ struct codes_workload_op ...@@ -194,7 +194,7 @@ struct codes_workload_op
/* TODO: not sure why source rank is here */ /* TODO: not sure why source rank is here */
int source_rank;/* source rank of MPI send message */ int source_rank;/* source rank of MPI send message */
int dest_rank; /* dest rank of MPI send message */ int dest_rank; /* dest rank of MPI send message */
int64_t num_bytes; /* number of bytes to be transferred over the network */ uint64_t num_bytes; /* number of bytes to be transferred over the network */
int16_t data_type; /* MPI data type to be matched with the recv */ int16_t data_type; /* MPI data type to be matched with the recv */
int count; /* number of elements to be received */ int count; /* number of elements to be received */
int tag; /* tag of the message */ int tag; /* tag of the message */
...@@ -204,7 +204,7 @@ struct codes_workload_op ...@@ -204,7 +204,7 @@ struct codes_workload_op
/* TODO: not sure why source rank is here */ /* TODO: not sure why source rank is here */
int source_rank;/* source rank of MPI recv message */ int source_rank;/* source rank of MPI recv message */
int dest_rank;/* dest rank of MPI recv message */ int dest_rank;/* dest rank of MPI recv message */
int num_bytes; /* number of bytes to be transferred over the network */ uint64_t num_bytes; /* number of bytes to be transferred over the network */
int16_t data_type; /* MPI data type to be matched with the send */ int16_t data_type; /* MPI data type to be matched with the send */
int count; /* number of elements to be sent */ int count; /* number of elements to be sent */
int tag; /* tag of the message */ int tag; /* tag of the message */
......
...@@ -14,6 +14,9 @@ extern "C" { ...@@ -14,6 +14,9 @@ extern "C" {
#include <ross.h> #include <ross.h>
#include <assert.h> #include <assert.h>
#include <mpi.h>
extern MPI_Comm MPI_COMM_CODES;
// for printf conversions: shorthand for cast to long long unsigned format (llu) // for printf conversions: shorthand for cast to long long unsigned format (llu)
#define LLU(x) ((unsigned long long)(x)) #define LLU(x) ((unsigned long long)(x))
......
...@@ -21,8 +21,8 @@ const tw_lptype* lp_type_lookup(const char* name); ...@@ -21,8 +21,8 @@ const tw_lptype* lp_type_lookup(const char* name);
/* register an LP with CODES/ROSS */ /* register an LP with CODES/ROSS */
void lp_type_register(const char* name, const tw_lptype* type); void lp_type_register(const char* name, const tw_lptype* type);
void trace_type_register(const char* name, const st_trace_type* type); void st_model_type_register(const char* name, const st_model_types* type);
const st_trace_type* trace_type_lookup(const char* name); const st_model_types* st_model_type_lookup(const char* name);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
...@@ -63,8 +63,8 @@ struct model_net_method ...@@ -63,8 +63,8 @@ struct model_net_method
revent_f mn_sample_rc_fn; revent_f mn_sample_rc_fn;
init_f mn_sample_init_fn; init_f mn_sample_init_fn;
final_f mn_sample_fini_fn; final_f mn_sample_fini_fn;
void (*mn_trace_register)(st_trace_type *base_type); void (*mn_model_stat_register)(st_model_types *base_type);
const st_trace_type* (*mn_get_trace_type)(); const st_model_types* (*mn_get_model_stat_types)();
}; };
extern struct model_net_method * method_array[]; extern struct model_net_method * method_array[];
......
...@@ -18,6 +18,11 @@ extern "C" { ...@@ -18,6 +18,11 @@ extern "C" {
#include <codes/codes-mapping-context.h> #include <codes/codes-mapping-context.h>
#include <stdint.h> #include <stdint.h>
#ifdef ENABLE_CORTEX
#include <cortex/cortex.h>
#include <cortex/topology.h>
#endif
#define PULL_MSG_SIZE 128 #define PULL_MSG_SIZE 128
#define MAX_NAME_LENGTH 256 #define MAX_NAME_LENGTH 256
...@@ -388,6 +393,7 @@ void model_net_set_msg_param( ...@@ -388,6 +393,7 @@ void model_net_set_msg_param(
/* returns pointer to LP information for simplenet module */ /* returns pointer to LP information for simplenet module */
const tw_lptype* model_net_get_lp_type(int net_id); const tw_lptype* model_net_get_lp_type(int net_id);
const st_model_types* model_net_get_model_stat_type(int net_id);
DEPRECATED DEPRECATED
uint64_t model_net_get_packet_size(int net_id); uint64_t model_net_get_packet_size(int net_id);
...@@ -406,6 +412,11 @@ void model_net_print_stats(tw_lpid lpid, mn_stats mn_stats_array[]); ...@@ -406,6 +412,11 @@ void model_net_print_stats(tw_lpid lpid, mn_stats mn_stats_array[]);
/* find model-net statistics */ /* find model-net statistics */
mn_stats* model_net_find_stats(char const * category, mn_stats mn_stats_array[]); mn_stats* model_net_find_stats(char const * category, mn_stats mn_stats_array[]);
#ifdef ENABLE_CORTEX
/* structure that gives access to the topology functions */
extern cortex_topology model_net_topology;
#endif
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
...@@ -91,6 +91,8 @@ struct terminal_message ...@@ -91,6 +91,8 @@ struct terminal_message
tw_stime saved_hist_start_time; tw_stime saved_hist_start_time;
tw_stime saved_sample_time; tw_stime saved_sample_time;
tw_stime msg_start_time; tw_stime msg_start_time;
tw_stime saved_busy_time_ross;
tw_stime saved_fin_chunks_ross;
int saved_hist_num; int saved_hist_num;
int saved_occupancy; int saved_occupancy;
......
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
#include <ross.h> #include <ross.h>
/* Functions used for ROSS event tracing */
extern void fattree_register_evtrace();
/* Global variable for modelnet output directory name */ /* Global variable for modelnet output directory name */
extern char *modelnet_stats_dir; extern char *modelnet_stats_dir;
......
lib_LTLIBRARIES += src/libcodes.la lib_LTLIBRARIES += src/libcodes.la src/libcodes_mpi_replay.la
BUILT_SOURCES += src/modelconfig/configparser.h \ BUILT_SOURCES += src/modelconfig/configparser.h \
src/modelconfig/configlex.h src/modelconfig/configlex.h
...@@ -95,6 +95,7 @@ nobase_include_HEADERS = \ ...@@ -95,6 +95,7 @@ nobase_include_HEADERS = \
codes/net/simplenet-upd.h \ codes/net/simplenet-upd.h \
codes/net/simplep2p.h \ codes/net/simplep2p.h \
codes/net/torus.h \ codes/net/torus.h \
codes/codes-mpi-replay.h \
codes/configfile.h codes/configfile.h
...@@ -139,6 +140,7 @@ src_libcodes_la_SOURCES = \ ...@@ -139,6 +140,7 @@ src_libcodes_la_SOURCES = \
src/util/jobmap-impl/jobmap-list.c\ src/util/jobmap-impl/jobmap-list.c\
src/util/jobmap-impl/jobmap-identity.c\ src/util/jobmap-impl/jobmap-identity.c\
src/util/codes-mapping-context.c \ src/util/codes-mapping-context.c \
src/util/codes-comm.c \
src/workload/codes-workload.c \ src/workload/codes-workload.c \
src/workload/methods/codes-iolang-wrkld.c \ src/workload/methods/codes-iolang-wrkld.c \
src/workload/methods/codes-checkpoint-wrkld.c \ src/workload/methods/codes-checkpoint-wrkld.c \
...@@ -160,6 +162,8 @@ src_libcodes_la_SOURCES = \ ...@@ -160,6 +162,8 @@ src_libcodes_la_SOURCES = \
src/networks/model-net/model-net-sched-impl.h \ src/networks/model-net/model-net-sched-impl.h \
src/networks/model-net/model-net-sched-impl.c src/networks/model-net/model-net-sched-impl.c
src_libcodes_mpi_replay_la_SOURCES = \
src/network-workloads/model-net-mpi-replay.c
#codes/codes-nw-workload.h #codes/codes-nw-workload.h
#src/network-workload/codes-nw-workload.c #src/network-workload/codes-nw-workload.c
...@@ -175,6 +179,7 @@ src_util_templates_lp_template_dummy_main_SOURCES = \ ...@@ -175,6 +179,7 @@ src_util_templates_lp_template_dummy_main_SOURCES = \
# get rid of annoying unused function in template # get rid of annoying unused function in template
bin_PROGRAMS += src/workload/codes-workload-dump bin_PROGRAMS += src/workload/codes-workload-dump
bin_PROGRAMS += src/networks/model-net/topology-test
bin_PROGRAMS += src/network-workloads/model-net-mpi-replay bin_PROGRAMS += src/network-workloads/model-net-mpi-replay
bin_PROGRAMS += src/network-workloads/model-net-dumpi-traces-dump bin_PROGRAMS += src/network-workloads/model-net-dumpi-traces-dump
bin_PROGRAMS += src/network-workloads/model-net-synthetic bin_PROGRAMS += src/network-workloads/model-net-synthetic
...@@ -187,10 +192,13 @@ src_workload_codes_workload_dump_SOURCES = \ ...@@ -187,10 +192,13 @@ src_workload_codes_workload_dump_SOURCES = \
src_network_workloads_model_net_dumpi_traces_dump_SOURCES = src/network-workloads/model-net-dumpi-traces-dump.c src_network_workloads_model_net_dumpi_traces_dump_SOURCES = src/network-workloads/model-net-dumpi-traces-dump.c
src_network_workloads_model_net_synthetic_slimfly_SOURCES = src/network-workloads/model-net-synthetic-slimfly.c src_network_workloads_model_net_synthetic_slimfly_SOURCES = src/network-workloads/model-net-synthetic-slimfly.c
src_network_workloads_model_net_mpi_replay_SOURCES = src/network-workloads/model-net-mpi-replay.c src_network_workloads_model_net_mpi_replay_SOURCES = \
src/network-workloads/model-net-mpi-replay.c \
src/network-workloads/model-net-mpi-replay-main.c
src_network_workloads_model_net_mpi_replay_CFLAGS = $(AM_CFLAGS)
src_network_workloads_model_net_synthetic_SOURCES = src/network-workloads/model-net-synthetic.c src_network_workloads_model_net_synthetic_SOURCES = src/network-workloads/model-net-synthetic.c
src_network_workloads_model_net_synthetic_custom_dfly_SOURCES = src/network-workloads/model-net-synthetic-custom-dfly.c src_network_workloads_model_net_synthetic_custom_dfly_SOURCES = src/network-workloads/model-net-synthetic-custom-dfly.c
src_networks_model_net_topology_test_SOURCES = src/networks/model-net/topology-test.c
#bin_PROGRAMS += src/network-workload/codes-nw-test #bin_PROGRAMS += src/network-workload/codes-nw-test
......
...@@ -41,7 +41,7 @@ PARAMS ...@@ -41,7 +41,7 @@ PARAMS
# bandwidth in GiB/s for compute node-router channels # bandwidth in GiB/s for compute node-router channels
cn_bandwidth="16.0"; cn_bandwidth="16.0";
# ROSS message size # ROSS message size
message_size="592"; message_size="608";
# number of compute nodes connected to router, dictated by dragonfly config # number of compute nodes connected to router, dictated by dragonfly config
# file # file
num_cns_per_router="2"; num_cns_per_router="2";
......
...@@ -46,7 +46,7 @@ PARAMS ...@@ -46,7 +46,7 @@ PARAMS
# Number of column channels # Number of column channels
num_col_chans="1"; num_col_chans="1";
# ROSS message size # ROSS message size
message_size="592"; message_size="608";
# number of compute nodes connected to router, dictated by dragonfly config # number of compute nodes connected to router, dictated by dragonfly config
# file # file
num_cns_per_router="8"; num_cns_per_router="8";
......
...@@ -41,7 +41,7 @@ PARAMS ...@@ -41,7 +41,7 @@ PARAMS
# bandwidth in GiB/s for compute node-router channels # bandwidth in GiB/s for compute node-router channels
cn_bandwidth="8.0"; cn_bandwidth="8.0";
# ROSS message size # ROSS message size
message_size="592"; message_size="608";
# number of compute nodes connected to router, dictated by dragonfly config # number of compute nodes connected to router, dictated by dragonfly config
# file # file
num_cns_per_router="4"; num_cns_per_router="4";
......
...@@ -41,7 +41,7 @@ PARAMS ...@@ -41,7 +41,7 @@ PARAMS
# bandwidth in GiB/s for compute node-router channels # bandwidth in GiB/s for compute node-router channels
cn_bandwidth="16.0"; cn_bandwidth="16.0";
# ROSS message size # ROSS message size
message_size="592"; message_size="608";
# number of compute nodes connected to router, dictated by dragonfly config # number of compute nodes connected to router, dictated by dragonfly config
# file # file
num_cns_per_router="4"; num_cns_per_router="4";
......
...@@ -23,6 +23,6 @@ PARAMS ...@@ -23,6 +23,6 @@ PARAMS
local_bandwidth="5.25"; local_bandwidth="5.25";
global_bandwidth="4.7"; global_bandwidth="4.7";
cn_bandwidth="5.25"; cn_bandwidth="5.25";
message_size="592"; message_size="608";
routing="adaptive"; routing="adaptive";
} }
...@@ -23,7 +23,7 @@ PARAMS ...@@ -23,7 +23,7 @@ PARAMS
local_bandwidth="5.25"; local_bandwidth="5.25";
global_bandwidth="4.7"; global_bandwidth="4.7";
cn_bandwidth="5.25"; cn_bandwidth="5.25";
message_size="592";