Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sds-tests
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
sds-tests
Commits
bb2c911b
Commit
bb2c911b
authored
Feb 19, 2019
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust to match bake conf api changes
parent
a98fc876
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
15 deletions
+6
-15
perf-regression/bake-p2p-bw.c
perf-regression/bake-p2p-bw.c
+6
-15
No files found.
perf-regression/bake-p2p-bw.c
View file @
bb2c911b
...
...
@@ -38,10 +38,7 @@ struct options
char
*
na_transport
;
char
*
bake_pool
;
int
rpc_xstreams
;
/* if intermediate buffer pipeline is used */
unsigned
long
intermediate_xfer_size
;
unsigned
long
intermediate_xfer_count
;
int
intermediate_xfer_concurrency
;
int
pipeline_enabled
;
};
struct
bench_worker_arg
...
...
@@ -177,12 +174,8 @@ int main(int argc, char **argv)
abort
();
}
if
(
g_opts
.
intermediate_xfer_size
||
g_opts
.
intermediate_xfer_count
||
g_opts
.
intermediate_xfer_concurrency
)
{
bake_provider_set_target_xfer_buffer
(
provider
,
tid
,
g_opts
.
intermediate_xfer_count
,
g_opts
.
intermediate_xfer_size
);
bake_provider_set_target_xfer_concurrency
(
provider
,
tid
,
g_opts
.
intermediate_xfer_concurrency
);
}
if
(
g_opts
.
pipeline_enabled
)
bake_provider_set_conf
(
provider
,
"pipeline_enabled"
,
"1"
);
ret
=
ABT_eventual_create
(
0
,
&
bench_stop_eventual
);
assert
(
ret
==
0
);
...
...
@@ -263,7 +256,7 @@ static int parse_args(int argc, char **argv, struct options *opts)
opts
->
mercury_timeout_client
=
UINT_MAX
;
opts
->
mercury_timeout_server
=
UINT_MAX
;
while
((
opt
=
getopt
(
argc
,
argv
,
"n:x:c:d:t:p:m:r:i
:
"
))
!=
-
1
)
while
((
opt
=
getopt
(
argc
,
argv
,
"n:x:c:d:t:p:m:r:i"
))
!=
-
1
)
{
switch
(
opt
)
{
...
...
@@ -309,9 +302,7 @@ static int parse_args(int argc, char **argv, struct options *opts)
return
(
-
1
);
break
;
case
'i'
:
ret
=
sscanf
(
optarg
,
"%lu,%lu,%d"
,
&
opts
->
intermediate_xfer_size
,
&
opts
->
intermediate_xfer_count
,
&
opts
->
intermediate_xfer_concurrency
);
if
(
ret
!=
3
)
return
(
-
1
);
opts
->
pipeline_enabled
=
1
;
break
;
case
'n'
:
opts
->
na_transport
=
strdup
(
optarg
);
...
...
@@ -348,7 +339,7 @@ static void usage(void)
"
\t
[-d filename] - enable diagnostics output
\n
"
"
\t
[-t client_progress_timeout,server_progress_timeout] # use
\"
-t 0,0
\"
to busy spin
\n
"
"
\t
[-r rpc_execution_streams] - number of ESs Margo should use for RPC handling
\n
"
"
\t
[-i
buffer_size,buffer_count,concurrency] - enable intermediate buffering pipeline with specified buffer size, count, and transfer concurrency
\n
"
"
\t
[-i
] - enable intermediate buffering pipeline
\n
"
"
\t\t
example: mpiexec -n 2 ./bake-p2p-bw -x 4096 -n verbs://
\n
"
"
\t\t
(must be run with exactly 2 processes
\n
"
);
...
...
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