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
e1a79130
Commit
e1a79130
authored
May 03, 2018
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
assigning minimal paths to df-dally
parent
f2de35fd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
src/network-workloads/conf/dragonfly-custom/dfdally_8k.conf
src/network-workloads/conf/dragonfly-custom/dfdally_8k.conf
+5
-3
src/network-workloads/model-net-mpi-replay.c
src/network-workloads/model-net-mpi-replay.c
+1
-1
src/networks/model-net/dragonfly-custom.C
src/networks/model-net/dragonfly-custom.C
+8
-3
No files found.
src/network-workloads/conf/dragonfly-custom/dfdally_8k.conf
View file @
e1a79130
...
...
@@ -12,6 +12,8 @@ LPGROUPS
}
PARAMS
{
adaptive_threshold
=
"8192"
;
minimal
-
bias
=
"1"
;
df
-
dally
-
vc
=
"1"
;
# packet size in the network
packet_size
=
"4096"
;
...
...
@@ -45,16 +47,16 @@ PARAMS
# Number of column channels
num_col_chans
=
"1"
;
# ROSS message size
message_size
=
"6
24
"
;
message_size
=
"6
40
"
;
# number of compute nodes connected to router, dictated by dragonfly config
# file
num_cns_per_router
=
"8"
;
# number of global channels per router
num_global_channels
=
"8"
;
# network config file for intra-group connections
intra
-
group
-
connections
=
"/
Users/mmubarak/Documents/software_development/codes-neil
/codes/src/network-workloads/conf/dragonfly-custom/dfdally_8k_intra"
;
intra
-
group
-
connections
=
"/
home/mubarak/codes-online
/codes/src/network-workloads/conf/dragonfly-custom/dfdally_8k_intra"
;
# network config file for inter-group connections
inter
-
group
-
connections
=
"/
Users/mmubarak/Documents/software_development/codes-neil
/codes/src/network-workloads/conf/dragonfly-custom/dfdally_8k_inter"
;
inter
-
group
-
connections
=
"/
home/mubarak/codes-online
/codes/src/network-workloads/conf/dragonfly-custom/dfdally_8k_inter"
;
# routing protocol to be used
# routing="minimal";
routing
=
"prog-adaptive"
;
...
...
src/network-workloads/model-net-mpi-replay.c
View file @
e1a79130
...
...
@@ -32,7 +32,7 @@
static
int
msg_size_hash_compare
(
void
*
key
,
struct
qhash_head
*
link
);
static
unsigned
long
perm_switch_thresh
=
20971520
;
static
unsigned
long
perm_switch_thresh
=
8388608
;
/* NOTE: Message tracking works in sequential mode only! */
static
int
debug_cols
=
0
;
...
...
src/networks/model-net/dragonfly-custom.C
View file @
e1a79130
...
...
@@ -27,7 +27,7 @@
#define DUMP_CONNECTIONS 0
#define CREDIT_SIZE 8
#define DFLY_HASH_TABLE_SIZE
4999
#define DFLY_HASH_TABLE_SIZE
100000
// debugging parameters
#define DEBUG_LP 892
#define T_ID -1
...
...
@@ -2895,10 +2895,15 @@ router_packet_receive( router_state * s,
(
routing
==
ADAPTIVE
||
routing
==
PROG_ADAPTIVE
)
&&
cur_chunk
->
msg
.
last_hop
==
TERMINAL
)
{
bf
->
c6
=
1
;
do_local_adaptive_routing
(
s
,
lp
,
&
(
cur_chunk
->
msg
),
bf
,
dest_router_id
,
intm_router_id
);
//bf->c6 = 1;
//do_local_adaptive_routing(s, lp, &(cur_chunk->msg), bf, dest_router_id, intm_router_id);
cur_chunk
->
msg
.
path_type
=
MINIMAL
;
}
if
(
dest_router_id
==
s
->
router_id
)
cur_chunk
->
msg
.
path_type
=
MINIMAL
;
next_path_type
=
cur_chunk
->
msg
.
path_type
;
if
(
cur_chunk
->
msg
.
path_type
!=
MINIMAL
&&
cur_chunk
->
msg
.
path_type
!=
NON_MINIMAL
)
...
...
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