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
aa2d7a8c
Commit
aa2d7a8c
authored
Aug 29, 2018
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enabling optimistic mode for dragonfly-custom
parent
dc65eb59
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
118 additions
and
77 deletions
+118
-77
codes/net/dragonfly-custom.h
codes/net/dragonfly-custom.h
+1
-2
scripts/allocation_gen/config_alloc.conf
scripts/allocation_gen/config_alloc.conf
+2
-2
src/network-workloads/model-net-mpi-replay.c
src/network-workloads/model-net-mpi-replay.c
+3
-2
src/networks/model-net/dragonfly-custom.C
src/networks/model-net/dragonfly-custom.C
+112
-71
No files found.
codes/net/dragonfly-custom.h
View file @
aa2d7a8c
...
...
@@ -81,11 +81,10 @@ struct terminal_custom_message
short
num_rngs
;
short
num_cll
;
int
qos_index
;
short
last_saved_qos
;
short
qos_reset1
;
short
qos_reset2
;
int
saved_qos_data
;
short
saved_qos_status
;
tw_stime
saved_available_time
;
tw_stime
saved_avg_time
;
...
...
scripts/allocation_gen/config_alloc.conf
View file @
aa2d7a8c
rand
204
8
1024
1024
100
8
512
496
src/network-workloads/model-net-mpi-replay.c
View file @
aa2d7a8c
...
...
@@ -21,7 +21,6 @@
#define MN_LP_NM "modelnet_dragonfly_custom"
#define CONTROL_MSG_SZ 64
#define TRACE -1
#define MAX_SYN_SENDS 10
#define MAX_WAIT_REQS 1024
#define CS_LP_DBG 1
#define RANK_HASH_TABLE_SZ 2000
...
...
@@ -43,6 +42,7 @@ static int synthetic_pattern = 1;
static
int
preserve_wait_ordering
=
0
;
static
int
enable_msg_tracking
=
0
;
static
int
is_synthetic
=
0
;
static
int
max_gen_data
=
1310720
;
tw_lpid
TRACK_LP
=
-
1
;
int
nprocs
=
0
;
static
double
total_syn_data
=
0
;
...
...
@@ -796,7 +796,7 @@ static void gen_synthetic_tr(nw_state * s, tw_bf * bf, nw_message * m, tw_lp * l
m_new
->
msg_type
=
CLI_BCKGND_GEN
;
tw_event_send
(
e
);
if
(
s
->
num_sends
==
MAX_SYN_SENDS
)
if
(
s
->
gen_data
==
max_gen_data
)
{
bf
->
c5
=
1
;
s
->
is_finished
=
1
;
...
...
@@ -2670,6 +2670,7 @@ const tw_optdef app_opt [] =
TWOPT_CHAR
(
"workload_conf_file"
,
workloads_conf_file
,
"workload config file name"
),
TWOPT_UINT
(
"num_net_traces"
,
num_net_traces
,
"number of network traces"
),
TWOPT_UINT
(
"payload_sz"
,
payload_sz
,
"size of payload for synthetic traffic "
),
TWOPT_UINT
(
"max_gen_data"
,
max_gen_data
,
"maximum data to be generated for synthetic traffic "
),
TWOPT_UINT
(
"eager_threshold"
,
EAGER_THRESHOLD
,
"the transition point for eager/rendezvous protocols (Default 8192)"
),
TWOPT_UINT
(
"disable_compute"
,
disable_delay
,
"disable compute simulation"
),
TWOPT_UINT
(
"payload_sz"
,
payload_sz
,
"size of the payload for synthetic traffic"
),
...
...
src/networks/model-net/dragonfly-custom.C
View file @
aa2d7a8c
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