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
dd8f83bc
Commit
dd8f83bc
authored
May 15, 2019
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'core-updates' into 'master'
Core CODES Updates See merge request
codes/codes!85
parents
253552cc
f075794c
Changes
40
Hide whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
84 additions
and
68 deletions
+84
-68
codes-vis-readme.md
codes-vis-readme.md
+1
-1
doc/example/example.c
doc/example/example.c
+2
-2
doc/example/example.conf
doc/example/example.conf
+2
-2
scripts/example/example.template
scripts/example/example.template
+2
-2
src/network-workloads/conf/dual-plane-fattree-tapered.conf
src/network-workloads/conf/dual-plane-fattree-tapered.conf
+1
-1
src/network-workloads/conf/dual-plane-fattree.conf
src/network-workloads/conf/dual-plane-fattree.conf
+1
-1
src/network-workloads/conf/modelnet-synthetic-dragonfly.conf
src/network-workloads/conf/modelnet-synthetic-dragonfly.conf
+1
-1
src/network-workloads/conf/modelnet-synthetic-fattree-summit-k36-n3564.conf
...ads/conf/modelnet-synthetic-fattree-summit-k36-n3564.conf
+1
-1
src/network-workloads/conf/modelnet-synthetic-fattree.conf
src/network-workloads/conf/modelnet-synthetic-fattree.conf
+1
-1
src/network-workloads/conf/modelnet-synthetic-slimfly-min.conf
...etwork-workloads/conf/modelnet-synthetic-slimfly-min.conf
+1
-1
src/network-workloads/model-net-mpi-replay.c
src/network-workloads/model-net-mpi-replay.c
+18
-2
src/network-workloads/model-net-synthetic-fattree.c
src/network-workloads/model-net-synthetic-fattree.c
+4
-4
src/network-workloads/model-net-synthetic-slimfly.c
src/network-workloads/model-net-synthetic-slimfly.c
+3
-3
src/network-workloads/model-net-synthetic.c
src/network-workloads/model-net-synthetic.c
+3
-3
src/networks/model-net/doc/README.dragonfly.txt
src/networks/model-net/doc/README.dragonfly.txt
+2
-2
src/networks/model-net/doc/README.fattree.txt
src/networks/model-net/doc/README.fattree.txt
+2
-2
src/networks/model-net/doc/README.slimfly.txt
src/networks/model-net/doc/README.slimfly.txt
+2
-2
src/util/README.codes-mapping.txt
src/util/README.codes-mapping.txt
+5
-5
tests/conf/buffer_test.conf
tests/conf/buffer_test.conf
+1
-1
tests/conf/lsm-test.conf
tests/conf/lsm-test.conf
+1
-1
tests/conf/modelnet-p2p-bw-loggp.conf
tests/conf/modelnet-p2p-bw-loggp.conf
+1
-1
tests/conf/modelnet-prio-sched-test.conf
tests/conf/modelnet-prio-sched-test.conf
+1
-1
tests/conf/modelnet-test-dragonfly-custom.conf
tests/conf/modelnet-test-dragonfly-custom.conf
+1
-1
tests/conf/modelnet-test-dragonfly.conf
tests/conf/modelnet-test-dragonfly.conf
+1
-1
tests/conf/modelnet-test-em.conf
tests/conf/modelnet-test-em.conf
+1
-1
tests/conf/modelnet-test-loggp.conf
tests/conf/modelnet-test-loggp.conf
+1
-1
tests/conf/modelnet-test-simplep2p.conf
tests/conf/modelnet-test-simplep2p.conf
+1
-1
tests/conf/modelnet-test-slimfly.conf
tests/conf/modelnet-test-slimfly.conf
+1
-1
tests/conf/modelnet-test-torus.conf
tests/conf/modelnet-test-torus.conf
+1
-1
tests/conf/modelnet-test.conf
tests/conf/modelnet-test.conf
+1
-1
tests/local-storage-model-test.c
tests/local-storage-model-test.c
+1
-1
tests/lp-io-test.c
tests/lp-io-test.c
+1
-1
tests/modelnet-p2p-bw.c
tests/modelnet-p2p-bw.c
+3
-3
tests/modelnet-prio-sched-test.c
tests/modelnet-prio-sched-test.c
+2
-2
tests/modelnet-simplep2p-test.c
tests/modelnet-simplep2p-test.c
+2
-2
tests/modelnet-test-collective.c
tests/modelnet-test-collective.c
+3
-3
tests/modelnet-test-dragonfly.c
tests/modelnet-test-dragonfly.c
+3
-3
tests/modelnet-test.c
tests/modelnet-test.c
+3
-3
tests/resource-test.c
tests/resource-test.c
+1
-1
tests/workload/codes-workload-test.c
tests/workload/codes-workload-test.c
+1
-1
No files found.
codes-vis-readme.md
View file @
dd8f83bc
...
@@ -109,7 +109,7 @@ st_model_types svr_model_types[] = {
...
@@ -109,7 +109,7 @@ st_model_types svr_model_types[] = {
static void svr_register_model_types()
static void svr_register_model_types()
{
{
st_model_type_register("
server
", &svr_model_types[0]);
st_model_type_register("
ns-lp
", &svr_model_types[0]);
}
}
int main(int argc, char **argv)
int main(int argc, char **argv)
...
...
doc/example/example.c
View file @
dd8f83bc
...
@@ -246,7 +246,7 @@ int main(
...
@@ -246,7 +246,7 @@ int main(
/* calculate the number of servers in this simulation,
/* calculate the number of servers in this simulation,
* ignoring annotations */
* ignoring annotations */
num_servers
=
codes_mapping_get_lp_count
(
group_name
,
0
,
"
server
"
,
NULL
,
1
);
num_servers
=
codes_mapping_get_lp_count
(
group_name
,
0
,
"
nw-lp
"
,
NULL
,
1
);
/* for this example, we read from a separate configuration group for
/* for this example, we read from a separate configuration group for
* server message parameters. Since they are constant for all LPs,
* server message parameters. Since they are constant for all LPs,
...
@@ -273,7 +273,7 @@ static void svr_add_lp_type()
...
@@ -273,7 +273,7 @@ static void svr_add_lp_type()
{
{
/* lp_type_register should be called exactly once per process per
/* lp_type_register should be called exactly once per process per
* LP type */
* LP type */
lp_type_register
(
"
server
"
,
svr_get_lp_type
());
lp_type_register
(
"
nw-lp
"
,
svr_get_lp_type
());
}
}
static
void
svr_init
(
static
void
svr_init
(
...
...
doc/example/example.conf
View file @
dd8f83bc
...
@@ -3,14 +3,14 @@
...
@@ -3,14 +3,14 @@
# of application- and codes-specific key-value pairs.
# of application- and codes-specific key-value pairs.
LPGROUPS
LPGROUPS
{
{
# in our simulation, we simply have a set of servers, each with
# in our simulation, we simply have a set of servers
(nw-lp)
, each with
# point-to-point access to each other
# point-to-point access to each other
SERVERS
SERVERS
{
{
# required: number of times to repeat the following key-value pairs
# required: number of times to repeat the following key-value pairs
repetitions
=
"16"
;
repetitions
=
"16"
;
# application-specific: parsed in main
# application-specific: parsed in main
server
=
"1"
;
nw
-
lp
=
"1"
;
# model-net-specific field defining the network backend. In this example,
# model-net-specific field defining the network backend. In this example,
# each server has one NIC, and each server are point-to-point connected
# each server has one NIC, and each server are point-to-point connected
modelnet_simplenet
=
"1"
;
modelnet_simplenet
=
"1"
;
...
...
scripts/example/example.template
View file @
dd8f83bc
...
@@ -3,14 +3,14 @@
...
@@ -3,14 +3,14 @@
# of application- and codes-specific key-value pairs.
# of application- and codes-specific key-value pairs.
LPGROUPS
LPGROUPS
{
{
# in our simulation, we simply have a set of servers, each with
# in our simulation, we simply have a set of servers
(nw-lp)
, each with
# point-to-point access to each other
# point-to-point access to each other
SERVERS
SERVERS
{
{
# required: number of times to repeat the following key-value pairs
# required: number of times to repeat the following key-value pairs
repetitions="C_NUM_SERVERS";
repetitions="C_NUM_SERVERS";
# application-specific: parsed in main
# application-specific: parsed in main
server
="1";
nw-lp
="1";
# model-net-specific field defining the network backend. In this example,
# model-net-specific field defining the network backend. In this example,
# each server has one NIC, and each server are point-to-point connected
# each server has one NIC, and each server are point-to-point connected
modelnet_simplenet="1";
modelnet_simplenet="1";
...
...
src/network-workloads/conf/dual-plane-fattree-tapered.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"198"
;
repetitions
=
"198"
;
server
=
"384"
;
nw
-
lp
=
"384"
;
modelnet_fattree
=
"24"
;
modelnet_fattree
=
"24"
;
fattree_switch
=
"6"
;
fattree_switch
=
"6"
;
}
}
...
...
src/network-workloads/conf/dual-plane-fattree.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"252"
;
repetitions
=
"252"
;
server
=
"288"
;
nw
-
lp
=
"288"
;
modelnet_fattree
=
"18"
;
modelnet_fattree
=
"18"
;
fattree_switch
=
"6"
;
fattree_switch
=
"6"
;
}
}
...
...
src/network-workloads/conf/modelnet-synthetic-dragonfly.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"264"
;
repetitions
=
"264"
;
server
=
"4"
;
nw
-
lp
=
"4"
;
modelnet_dragonfly
=
"4"
;
modelnet_dragonfly
=
"4"
;
modelnet_dragonfly_router
=
"1"
;
modelnet_dragonfly_router
=
"1"
;
}
}
...
...
src/network-workloads/conf/modelnet-synthetic-fattree-summit-k36-n3564.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"198"
;
# repetitions = Ne = total # of edge switches. For type0 Ne = Np*Ns = ceil(N/Ns*(k/2))*(k/2) = ceil(N/(k/2)^2)*(k/2)
repetitions
=
"198"
;
# repetitions = Ne = total # of edge switches. For type0 Ne = Np*Ns = ceil(N/Ns*(k/2))*(k/2) = ceil(N/(k/2)^2)*(k/2)
server
=
"18"
;
nw
-
lp
=
"18"
;
modelnet_fattree
=
"18"
;
modelnet_fattree
=
"18"
;
fattree_switch
=
"3"
;
fattree_switch
=
"3"
;
}
}
...
...
src/network-workloads/conf/modelnet-synthetic-fattree.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"32"
;
# repetitions = Ne = total # of edge switches. For type0 Ne = Np*Ns = ceil(N/Ns*(k/2))*(k/2) = ceil(N/(k/2)^2)*(k/2)
repetitions
=
"32"
;
# repetitions = Ne = total # of edge switches. For type0 Ne = Np*Ns = ceil(N/Ns*(k/2))*(k/2) = ceil(N/(k/2)^2)*(k/2)
server
=
"4"
;
nw
-
lp
=
"4"
;
modelnet_fattree
=
"4"
;
modelnet_fattree
=
"4"
;
fattree_switch
=
"3"
;
fattree_switch
=
"3"
;
}
}
...
...
src/network-workloads/conf/modelnet-synthetic-slimfly-min.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"50"
;
repetitions
=
"50"
;
server
=
"3"
;
nw
-
lp
=
"3"
;
modelnet_slimfly
=
"3"
;
modelnet_slimfly
=
"3"
;
slimfly_router
=
"1"
;
slimfly_router
=
"1"
;
}
}
...
...
src/network-workloads/model-net-mpi-replay.c
View file @
dd8f83bc
...
@@ -46,6 +46,7 @@ static int enable_msg_tracking = 0;
...
@@ -46,6 +46,7 @@ static int enable_msg_tracking = 0;
static
int
is_synthetic
=
0
;
static
int
is_synthetic
=
0
;
static
unsigned
long
long
max_gen_data
=
1310720
;
static
unsigned
long
long
max_gen_data
=
1310720
;
static
int
num_qos_levels
;
static
int
num_qos_levels
;
static
double
compute_time_speedup
;
tw_lpid
TRACK_LP
=
-
1
;
tw_lpid
TRACK_LP
=
-
1
;
int
nprocs
=
0
;
int
nprocs
=
0
;
static
double
total_syn_data
=
0
;
static
double
total_syn_data
=
0
;
...
@@ -1444,8 +1445,8 @@ static void codes_exec_comp_delay(
...
@@ -1444,8 +1445,8 @@ static void codes_exec_comp_delay(
m
->
rc
.
saved_delay
=
s
->
compute_time
;
m
->
rc
.
saved_delay
=
s
->
compute_time
;
m
->
rc
.
saved_delay_sample
=
s
->
ross_sample
.
compute_time
;
m
->
rc
.
saved_delay_sample
=
s
->
ross_sample
.
compute_time
;
s
->
compute_time
+=
mpi_op
->
u
.
delay
.
nsecs
;
s
->
compute_time
+=
(
mpi_op
->
u
.
delay
.
nsecs
/
compute_time_speedup
)
;
s
->
ross_sample
.
compute_time
+=
mpi_op
->
u
.
delay
.
nsecs
;
s
->
ross_sample
.
compute_time
+=
(
mpi_op
->
u
.
delay
.
nsecs
/
compute_time_speedup
)
;
ts
=
mpi_op
->
u
.
delay
.
nsecs
;
ts
=
mpi_op
->
u
.
delay
.
nsecs
;
if
(
ts
<=
g_tw_lookahead
)
if
(
ts
<=
g_tw_lookahead
)
{
{
...
@@ -2921,6 +2922,19 @@ static int msg_size_hash_compare(
...
@@ -2921,6 +2922,19 @@ static int msg_size_hash_compare(
return
0
;
return
0
;
}
}
/* Method to organize all mpi_replay specific configuration parameters
to be specified in the loaded .conf file*/
void
modelnet_mpi_replay_read_config
()
{
// Load the factor by which the compute time is sped up by. e.g. If compute_time_speedup = 2, all compute time delay is halved.
int
rc
=
configuration_get_value_double
(
&
config
,
"PARAMS"
,
"compute_time_speedup"
,
NULL
,
&
compute_time_speedup
);
if
(
rc
)
{
compute_time_speedup
=
1
;
}
}
int
modelnet_mpi_replay
(
MPI_Comm
comm
,
int
*
argc
,
char
***
argv
)
int
modelnet_mpi_replay
(
MPI_Comm
comm
,
int
*
argc
,
char
***
argv
)
{
{
int
rank
;
int
rank
;
...
@@ -3034,6 +3048,8 @@ int modelnet_mpi_replay(MPI_Comm comm, int* argc, char*** argv )
...
@@ -3034,6 +3048,8 @@ int modelnet_mpi_replay(MPI_Comm comm, int* argc, char*** argv )
net_id
=
*
net_ids
;
net_id
=
*
net_ids
;
free
(
net_ids
);
free
(
net_ids
);
modelnet_mpi_replay_read_config
();
if
(
enable_debug
)
if
(
enable_debug
)
{
{
workload_log
=
fopen
(
"mpi-op-logs"
,
"w+"
);
workload_log
=
fopen
(
"mpi-op-logs"
,
"w+"
);
...
...
src/network-workloads/model-net-synthetic-fattree.c
View file @
dd8f83bc
...
@@ -165,7 +165,7 @@ static const st_model_types *ft_svr_get_model_stat_types(void)
...
@@ -165,7 +165,7 @@ static const st_model_types *ft_svr_get_model_stat_types(void)
void
ft_svr_register_model_stats
()
void
ft_svr_register_model_stats
()
{
{
st_model_type_register
(
"
server
"
,
ft_svr_get_model_stat_types
());
st_model_type_register
(
"
nw-lp
"
,
ft_svr_get_model_stat_types
());
}
}
const
tw_optdef
app_opt
[]
=
const
tw_optdef
app_opt
[]
=
...
@@ -184,7 +184,7 @@ const tw_lptype* svr_get_lp_type()
...
@@ -184,7 +184,7 @@ const tw_lptype* svr_get_lp_type()
static
void
svr_add_lp_type
()
static
void
svr_add_lp_type
()
{
{
lp_type_register
(
"
server
"
,
svr_get_lp_type
());
lp_type_register
(
"
nw-lp
"
,
svr_get_lp_type
());
}
}
static
void
issue_event
(
static
void
issue_event
(
...
@@ -477,7 +477,7 @@ int main(
...
@@ -477,7 +477,7 @@ int main(
MPI_Finalize
();
MPI_Finalize
();
return
0
;
return
0
;
}
}
num_servers_per_rep
=
codes_mapping_get_lp_count
(
"MODELNET_GRP"
,
1
,
"
server
"
,
num_servers_per_rep
=
codes_mapping_get_lp_count
(
"MODELNET_GRP"
,
1
,
"
nw-lp
"
,
NULL
,
1
);
NULL
,
1
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_routers"
,
NULL
,
&
num_routers_per_grp
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_routers"
,
NULL
,
&
num_routers_per_grp
);
...
@@ -485,7 +485,7 @@ int main(
...
@@ -485,7 +485,7 @@ int main(
num_nodes
=
num_groups
*
num_routers_per_grp
*
(
num_routers_per_grp
/
2
);
num_nodes
=
num_groups
*
num_routers_per_grp
*
(
num_routers_per_grp
/
2
);
num_nodes_per_grp
=
num_routers_per_grp
*
(
num_routers_per_grp
/
2
);
num_nodes_per_grp
=
num_routers_per_grp
*
(
num_routers_per_grp
/
2
);
num_nodes
=
codes_mapping_get_lp_count
(
"MODELNET_GRP"
,
0
,
"
server
"
,
NULL
,
1
);
num_nodes
=
codes_mapping_get_lp_count
(
"MODELNET_GRP"
,
0
,
"
nw-lp
"
,
NULL
,
1
);
printf
(
"num_nodes:%d
\n
"
,
num_nodes
);
printf
(
"num_nodes:%d
\n
"
,
num_nodes
);
...
...
src/network-workloads/model-net-synthetic-slimfly.c
View file @
dd8f83bc
...
@@ -160,7 +160,7 @@ static const st_model_types *svr_get_model_stat_types(void)
...
@@ -160,7 +160,7 @@ static const st_model_types *svr_get_model_stat_types(void)
void
svr_register_model_types
()
void
svr_register_model_types
()
{
{
st_model_type_register
(
"
server
"
,
svr_get_model_stat_types
());
st_model_type_register
(
"
nw-lp
"
,
svr_get_model_stat_types
());
}
}
const
tw_optdef
app_opt
[]
=
const
tw_optdef
app_opt
[]
=
...
@@ -181,7 +181,7 @@ const tw_lptype* svr_get_lp_type()
...
@@ -181,7 +181,7 @@ const tw_lptype* svr_get_lp_type()
static
void
svr_add_lp_type
()
static
void
svr_add_lp_type
()
{
{
lp_type_register
(
"
server
"
,
svr_get_lp_type
());
lp_type_register
(
"
nw-lp
"
,
svr_get_lp_type
());
}
}
/* convert GiB/s and bytes to ns */
/* convert GiB/s and bytes to ns */
...
@@ -523,7 +523,7 @@ int main(
...
@@ -523,7 +523,7 @@ int main(
net_id
=
*
net_ids
;
net_id
=
*
net_ids
;
free
(
net_ids
);
free
(
net_ids
);
num_servers_per_rep
=
codes_mapping_get_lp_count
(
"MODELNET_GRP"
,
1
,
"
server
"
,
NULL
,
1
);
num_servers_per_rep
=
codes_mapping_get_lp_count
(
"MODELNET_GRP"
,
1
,
"
nw-lp
"
,
NULL
,
1
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_terminals"
,
NULL
,
&
num_terminals
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_terminals"
,
NULL
,
&
num_terminals
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_routers"
,
NULL
,
&
num_routers_per_grp
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_routers"
,
NULL
,
&
num_routers_per_grp
);
num_groups
=
(
num_routers_per_grp
*
2
);
num_groups
=
(
num_routers_per_grp
*
2
);
...
...
src/network-workloads/model-net-synthetic.c
View file @
dd8f83bc
...
@@ -147,7 +147,7 @@ static const st_model_types *svr_get_model_stat_types(void)
...
@@ -147,7 +147,7 @@ static const st_model_types *svr_get_model_stat_types(void)
void
svr_register_model_types
()
void
svr_register_model_types
()
{
{
st_model_type_register
(
"
server
"
,
svr_get_model_stat_types
());
st_model_type_register
(
"
nw-lp
"
,
svr_get_model_stat_types
());
}
}
const
tw_optdef
app_opt
[]
=
const
tw_optdef
app_opt
[]
=
...
@@ -170,7 +170,7 @@ const tw_lptype* svr_get_lp_type()
...
@@ -170,7 +170,7 @@ const tw_lptype* svr_get_lp_type()
static
void
svr_add_lp_type
()
static
void
svr_add_lp_type
()
{
{
lp_type_register
(
"
server
"
,
svr_get_lp_type
());
lp_type_register
(
"
nw-lp
"
,
svr_get_lp_type
());
}
}
static
void
issue_event
(
static
void
issue_event
(
...
@@ -448,7 +448,7 @@ int main(
...
@@ -448,7 +448,7 @@ int main(
MPI_Finalize
();
MPI_Finalize
();
return
0
;
return
0
;
}
}
num_servers_per_rep
=
codes_mapping_get_lp_count
(
"MODELNET_GRP"
,
1
,
"
server
"
,
num_servers_per_rep
=
codes_mapping_get_lp_count
(
"MODELNET_GRP"
,
1
,
"
nw-lp
"
,
NULL
,
1
);
NULL
,
1
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_routers"
,
NULL
,
&
num_routers_per_grp
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_routers"
,
NULL
,
&
num_routers_per_grp
);
...
...
src/networks/model-net/doc/README.dragonfly.txt
View file @
dd8f83bc
...
@@ -58,7 +58,7 @@ p*a*g=8*4*33). This configuration can be specified in the config file in the fol
...
@@ -58,7 +58,7 @@ p*a*g=8*4*33). This configuration can be specified in the config file in the fol
MODELNET_GRP
MODELNET_GRP
{
{
repetitions="264";
repetitions="264";
server
="4";
nw-lp
="4";
modelnet_dragonfly="4";
modelnet_dragonfly="4";
dragonfly_router="1";
dragonfly_router="1";
}
}
...
@@ -70,7 +70,7 @@ PARAMS
...
@@ -70,7 +70,7 @@ PARAMS
}
}
The first section, MODELNET_GRP specified the number of LPs and the layout of
The first section, MODELNET_GRP specified the number of LPs and the layout of
LPs. In the above case, there are 264 repetitions of 4 server LPs, 4 dragonfly
LPs. In the above case, there are 264 repetitions of 4 server LPs
(nw-lp)
, 4 dragonfly
network node LPs and 1 dragonfly router LP, which makes a total of 264 routers,
network node LPs and 1 dragonfly router LP, which makes a total of 264 routers,
1056 network nodes and 1056 servers in the network. The second section, PARAMS
1056 network nodes and 1056 servers in the network. The second section, PARAMS
uses 'num_routers' for the dragonfly topology lay out and setsup the
uses 'num_routers' for the dragonfly topology lay out and setsup the
...
...
src/networks/model-net/doc/README.fattree.txt
View file @
dd8f83bc
...
@@ -8,7 +8,7 @@ bare-minimum example config file:
...
@@ -8,7 +8,7 @@ bare-minimum example config file:
MODELNET_GRP
MODELNET_GRP
{
{
repetitions="12";
repetitions="12";
server
="4";
nw-lp
="4";
modelnet_fattree="4";
modelnet_fattree="4";
fattree_switch="3";
fattree_switch="3";
}
}
...
@@ -24,7 +24,7 @@ PARAMS
...
@@ -24,7 +24,7 @@ PARAMS
The first section, MODELNET_GRP specifies the LP types, number of LPs per type
The first section, MODELNET_GRP specifies the LP types, number of LPs per type
and their configuration. In the above case, there are 12 repetitions each with 4
and their configuration. In the above case, there are 12 repetitions each with 4
server LPs, 4 fat tree network node/terminal LPs and 3 fat tree switch LPs. Each
server LPs
(nw-lp)
, 4 fat tree network node/terminal LPs and 3 fat tree switch LPs. Each
repetition represents a leaf level switch, nodes connected to it, and higher
repetition represents a leaf level switch, nodes connected to it, and higher
level switches that may be needed to construct the fat-tree. The
level switches that may be needed to construct the fat-tree. The
'fattree_switch' parameter indicates there are 3 levels to this fat tree and
'fattree_switch' parameter indicates there are 3 levels to this fat tree and
...
...
src/networks/model-net/doc/README.slimfly.txt
View file @
dd8f83bc
...
@@ -73,7 +73,7 @@ generator sets. This configuration can be specified in the config file in the fo
...
@@ -73,7 +73,7 @@ generator sets. This configuration can be specified in the config file in the fo
MODELNET_GRP
MODELNET_GRP
{
{
repetitions="50";
repetitions="50";
server
="3";
nw-lp
="3";
modelnet_slimfly="3";
modelnet_slimfly="3";
slimfly_router="1";
slimfly_router="1";
}
}
...
@@ -88,7 +88,7 @@ PARAMS
...
@@ -88,7 +88,7 @@ PARAMS
}
}
The first section, MODELNET_GRP specified the number of LPs and the layout of
The first section, MODELNET_GRP specified the number of LPs and the layout of
LPs. In the above case, there are 50 repetitions of 3 server LPs, 3 slim fly
LPs. In the above case, there are 50 repetitions of 3 server LPs
(nw-lp)
, 3 slim fly
network node LPs and 1 slim fly router LP, which makes a total of 50 routers,
network node LPs and 1 slim fly router LP, which makes a total of 50 routers,
150 network nodes and 150 servers in the network. The second section, PARAMS
150 network nodes and 150 servers in the network. The second section, PARAMS
uses 'num_routers' for the slim fly topology lay out and sets up the
uses 'num_routers' for the slim fly topology lay out and sets up the
...
...
src/util/README.codes-mapping.txt
View file @
dd8f83bc
...
@@ -12,13 +12,13 @@ LPGROUPS
...
@@ -12,13 +12,13 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions="16";
repetitions="16";
server
="1";
nw-lp
="1";
example_net="1";
example_net="1";
}
}
}
}
------------------------------------------------------------------------------
------------------------------------------------------------------------------
In this config file, there are multiple LP types defined in a single LP group (As we will see in a later
In this config file, there are multiple LP types defined in a single LP group (As we will see in a later
example, there can be multiple LP groups in a config file too). There is 1 server LP and 1 example_net
example, there can be multiple LP groups in a config file too). There is 1 server LP
(nw-lp)
and 1 example_net
LP type in a group and this combination is repeated 16 time (repetitions="16"). ROSS will assign the
LP type in a group and this combination is repeated 16 time (repetitions="16"). ROSS will assign the
LPs to the PEs (PEs is an abstraction for MPI rank in ROSS) by placing 1 server LP then 1 example_net
LPs to the PEs (PEs is an abstraction for MPI rank in ROSS) by placing 1 server LP then 1 example_net
LP a total of 16 times. This configuration is useful if there is some form of communication involved
LP a total of 16 times. This configuration is useful if there is some form of communication involved
...
@@ -33,7 +33,7 @@ LPGROUPS
...
@@ -33,7 +33,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions="16";
repetitions="16";
server
="1";
nw-lp
="1";
example_net="2";
example_net="2";
}
}
}
}
...
@@ -51,7 +51,7 @@ Following is an example function that registers 'server' lp type.
...
@@ -51,7 +51,7 @@ Following is an example function that registers 'server' lp type.
static void svr_add_lp_type()
static void svr_add_lp_type()
{
{
lp_type_register("
server
", svr_get_lp_type());
lp_type_register("
nw-lp
", svr_get_lp_type());
}
}
Step 4: Call to codes_mapping_setup that sets up the LPs of each registered LP type as specified in the config
Step 4: Call to codes_mapping_setup that sets up the LPs of each registered LP type as specified in the config
...
@@ -67,7 +67,7 @@ The second argument indicates whether to include the number of repetitions into
...
@@ -67,7 +67,7 @@ The second argument indicates whether to include the number of repetitions into
the count or not (the NULL, 0 arguments will be discussed later). For example,
the count or not (the NULL, 0 arguments will be discussed later). For example,
to query the number of server LPs in example-test2.conf file, calling
to query the number of server LPs in example-test2.conf file, calling
num_servers = codes_mapping_get_lp_count("MODELNET_GRP", 1, "
server
", NULL, 0);
num_servers = codes_mapping_get_lp_count("MODELNET_GRP", 1, "
nw-lp
", NULL, 0);
will return 2.
will return 2.
...
...
tests/conf/buffer_test.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
BUF
BUF
{
{
repetitions
=
"2"
;
repetitions
=
"2"
;
server
=
"2"
;
nw
-
lp
=
"2"
;
resource
=
"1"
;
resource
=
"1"
;
}
}
}
}
...
...
tests/conf/lsm-test.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
TRITON_GRP
TRITON_GRP
{
{
repetitions
=
"1"
;
repetitions
=
"1"
;
server
=
"1"
;
nw
-
lp
=
"1"
;
lsm
=
"1"
;
lsm
=
"1"
;
}
}
}
}
...
...
tests/conf/modelnet-p2p-bw-loggp.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"2"
;
repetitions
=
"2"
;
server
=
"1"
;
nw
-
lp
=
"1"
;
modelnet_loggp
=
"1"
;
modelnet_loggp
=
"1"
;
}
}
}
}
...
...
tests/conf/modelnet-prio-sched-test.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"2"
;
repetitions
=
"2"
;
server
=
"1"
;
nw
-
lp
=
"1"
;
modelnet_simplenet
=
"1"
;
modelnet_simplenet
=
"1"
;
}
}
}
}
...
...
tests/conf/modelnet-test-dragonfly-custom.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"288"
;
repetitions
=
"288"
;
server
=
"4"
;
nw
-
lp
=
"4"
;
modelnet_dragonfly_custom
=
"4"
;
modelnet_dragonfly_custom
=
"4"
;
modelnet_dragonfly_custom_router
=
"1"
;
modelnet_dragonfly_custom_router
=
"1"
;
}
}
...
...
tests/conf/modelnet-test-dragonfly.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"36"
;
repetitions
=
"36"
;
server
=
"2"
;
nw
-
lp
=
"2"
;
modelnet_dragonfly
=
"2"
;
modelnet_dragonfly
=
"2"
;
modelnet_dragonfly_router
=
"1"
;
modelnet_dragonfly_router
=
"1"
;
}
}
...
...
tests/conf/modelnet-test-em.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"64"
;
repetitions
=
"64"
;
server
=
"3"
;
nw
-
lp
=
"3"
;
modelnet_express_mesh
=
"3"
;
modelnet_express_mesh
=
"3"
;
modelnet_express_mesh_router
=
"1"
;
modelnet_express_mesh_router
=
"1"
;
}
}
...
...
tests/conf/modelnet-test-loggp.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"16"
;
repetitions
=
"16"
;
server
=
"1"
;
nw
-
lp
=
"1"
;
modelnet_loggp
=
"1"
;
modelnet_loggp
=
"1"
;
}
}
}
}
...
...
tests/conf/modelnet-test-simplep2p.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"3"
;
repetitions
=
"3"
;
server
=
"1"
;
nw
-
lp
=
"1"
;
modelnet_simplep2p
=
"1"
;
modelnet_simplep2p
=
"1"
;
}
}
}
}
...
...
tests/conf/modelnet-test-slimfly.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"50"
;
repetitions
=
"50"
;
server
=
"3"
;
nw
-
lp
=
"3"
;
modelnet_slimfly
=
"3"
;
modelnet_slimfly
=
"3"
;
slimfly_router
=
"1"
;
slimfly_router
=
"1"
;
}
}
...
...
tests/conf/modelnet-test-torus.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"16"
;
repetitions
=
"16"
;
server
=
"1"
;
nw
-
lp
=
"1"
;
modelnet_torus
=
"1"
;
modelnet_torus
=
"1"
;
}
}
}
}
...
...
tests/conf/modelnet-test.conf
View file @
dd8f83bc
...
@@ -3,7 +3,7 @@ LPGROUPS
...
@@ -3,7 +3,7 @@ LPGROUPS
MODELNET_GRP
MODELNET_GRP
{
{
repetitions
=
"16"
;
repetitions
=
"16"
;
server
=
"1"
;
nw
-
lp
=
"1"
;
modelnet_simplenet
=
"1"
;
modelnet_simplenet
=
"1"
;
}
}
}
}
...
...
tests/local-storage-model-test.c
View file @
dd8f83bc
...
@@ -143,7 +143,7 @@ int main(
...
@@ -143,7 +143,7 @@ int main(
return
(
-
1
);
return
(
-
1
);
}
}
lp_type_register
(
"
server
"
,
&
svr_lp
);
lp_type_register
(
"
nw-lp
"
,
&
svr_lp
);
lsm_register
();
lsm_register
();
codes_mapping_setup
();
codes_mapping_setup
();
...
...
tests/lp-io-test.c
View file @
dd8f83bc
...
@@ -105,7 +105,7 @@ int main(
...
@@ -105,7 +105,7 @@ int main(