Skip to content

Commit 0beeef3

Browse files
committed
io/ompio: turn accel. aggr. buffer off by default
performance measurements indicate that in most cases using a CPU host buffer for data aggregation will lead to better performance than using a GPU buffer. So turn the feature off by default. Signed-off-by: Edgar Gabriel <[email protected]>
1 parent 1704fdd commit 0beeef3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/io/ompio/io_ompio_component.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ int mca_io_ompio_max_aggregators_ratio=8;
4949
int mca_io_ompio_aggregators_cutoff_threshold=3;
5050
int mca_io_ompio_overwrite_amode = 1;
5151
int mca_io_ompio_verbose_info_parsing = 0;
52-
int mca_io_ompio_use_accelerator_buffers = 1;
52+
int mca_io_ompio_use_accelerator_buffers = 0;
5353
int mca_io_ompio_grouping_option=5;
5454

5555
/*
@@ -263,7 +263,7 @@ static int register_component(void)
263263
MCA_BASE_VAR_SCOPE_READONLY,
264264
&mca_io_ompio_verbose_info_parsing);
265265

266-
mca_io_ompio_use_accelerator_buffers = 1;
266+
mca_io_ompio_use_accelerator_buffers = 0;
267267
(void) mca_base_component_var_register(&mca_io_ompio_component.io_version,
268268
"use_accelerator_buffers", "Allow using accelerator buffers"
269269
"for data aggregation in collective I/O if input buffer is device memory",

0 commit comments

Comments
 (0)