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
92522288
Commit
92522288
authored
Aug 04, 2015
by
Misbah Mubarak
Browse files
Reverse handler for dragonfly is now functional
parent
281e4a95
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
codes/net/dragonfly.h
View file @
92522288
...
...
@@ -46,9 +46,13 @@ struct terminal_message
short
saved_vc
;
/* last hop of the message, can be a terminal, local router or global router */
short
last_hop
;
/* For routing */
int
intm_group_id
;
short
chunk_id
;
uint64_t
packet_size
;
int
remote_event_size_bytes
;
int
local_event_size_bytes
;
/* for reverse computation */
short
path_type
;
// For buffer message
short
vc_index
;
int
input_chan
;
...
...
@@ -57,15 +61,13 @@ struct terminal_message
uint64_t
pull_size
;
/* for reverse computation */
short
path_type
;
tw_stime
saved_available_time
;
tw_stime
saved_credit_time
;
tw_stime
saved_collective_init_time
;
tw_stime
saved_hist_start_time
;
int
saved_hist_num
;
int
intm_group_id
;
short
chunk_id
;
uint64_t
packet_size
;
int
remote_event_size_bytes
;
int
local_event_size_bytes
;
/* for reverse computation of a node's fan in*/
int
saved_fan_nodes
;
...
...
src/models/networks/model-net/dragonfly.c
View file @
92522288
This diff is collapsed.
Click to expand it.
tests/conf/modelnet-test-dragonfly.conf
View file @
92522288
...
...
@@ -2,10 +2,10 @@ LPGROUPS
{
MODELNET_GRP
{
repetitions
=
"
9
"
;
server
=
"
8
"
;
modelnet_dragonfly
=
"
8
"
;
dragonfly_router
=
"
4
"
;
repetitions
=
"
33
"
;
server
=
"
32
"
;
modelnet_dragonfly
=
"
32
"
;
dragonfly_router
=
"
8
"
;
}
}
PARAMS
...
...
@@ -17,13 +17,13 @@ PARAMS
chunk_size
=
"32"
;
# modelnet_scheduler="round-robin";
num_vcs
=
"1"
;
num_routers
=
"
4
"
;
local_vc_size
=
"
262144
"
;
global_vc_size
=
"
262144
"
;
cn_vc_size
=
"
262144
"
;
num_routers
=
"
8
"
;
local_vc_size
=
"
32768
"
;
global_vc_size
=
"
65536
"
;
cn_vc_size
=
"
32768
"
;
local_bandwidth
=
"5.25"
;
global_bandwidth
=
"4.7"
;
cn_bandwidth
=
"5.25"
;
message_size
=
"2
56
"
;
routing
=
"
minimal
"
;
message_size
=
"2
72
"
;
routing
=
"
adaptive
"
;
}
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