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
78d73dda
Commit
78d73dda
authored
Jan 30, 2018
by
Neil McGlohon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dragonfly Plus: Model, Workload, and Config change
parent
e602f6bc
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
421 additions
and
471 deletions
+421
-471
src/network-workloads/conf/dragonfly-custom/modelnet-test-dragonfly-plus-testing.conf
...ragonfly-custom/modelnet-test-dragonfly-plus-testing.conf
+4
-0
src/network-workloads/model-net-synthetic-dfly-plus.c
src/network-workloads/model-net-synthetic-dfly-plus.c
+8
-6
src/networks/model-net/dragonfly-plus.C
src/networks/model-net/dragonfly-plus.C
+409
-465
No files found.
src/network-workloads/conf/dragonfly-custom/modelnet-test-dragonfly-plus-testing.conf
View file @
78d73dda
...
...
@@ -30,6 +30,10 @@ PARAMS
num_level_chans
=
"1"
;
# number of groups in the network
num_groups
=
"4"
;
# predefined threshold (T) deciding when to reassign packet to a lower priority queue
queue_threshold
=
"50"
;
# buffer size in bytes for local virtual channels
local_vc_size
=
"8192"
;
#buffer size in bytes for global virtual channels
...
...
src/network-workloads/model-net-synthetic-dfly-plus.c
View file @
78d73dda
...
...
@@ -360,7 +360,8 @@ int main(
int
rank
;
int
num_nets
;
int
*
net_ids
;
int
num_router_rows
,
num_router_cols
;
int
num_routers
;
int
num_router_leaf
,
num_router_spine
;
tw_opt_add
(
app_opt
);
tw_init
(
&
argc
,
&
argv
);
...
...
@@ -399,15 +400,16 @@ int main(
}
num_servers_per_rep
=
codes_mapping_get_lp_count
(
"MODELNET_GRP"
,
1
,
"nw-lp"
,
NULL
,
1
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_router_rows"
,
NULL
,
&
num_router_rows
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_router_cols"
,
NULL
,
&
num_router_cols
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_router_leaf"
,
NULL
,
&
num_router_leaf
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_router_spine"
,
NULL
,
&
num_router_spine
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_routers"
,
NULL
,
&
num_routers
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_groups"
,
NULL
,
&
num_groups
);
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_cns_per_router"
,
NULL
,
&
num_nodes_per_cn
);
num_routers_per_grp
=
num_router
_rows
*
num_router_col
s
;
num_routers_per_grp
=
num_routers
;
num_nodes
=
num_groups
*
num_router
s_per_grp
*
num_nodes_per_cn
;
num_nodes_per_grp
=
num_router
s_per_grp
*
num_nodes_per_cn
;
num_nodes
=
num_groups
*
num_router
_leaf
*
num_nodes_per_cn
;
num_nodes_per_grp
=
num_router
_leaf
*
num_nodes_per_cn
;
assert
(
num_nodes
);
...
...
src/networks/model-net/dragonfly-plus.C
View file @
78d73dda
This diff is collapsed.
Click to expand it.
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