Skip to content

Commit

Permalink
io/ompio: turn accel. aggr. buffer off by default
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
edgargabriel committed Sep 3, 2024
1 parent 18bb9d7 commit d30471c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ompi/mca/io/ompio/io_ompio_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ int mca_io_ompio_max_aggregators_ratio=8;
int mca_io_ompio_aggregators_cutoff_threshold=3;
int mca_io_ompio_overwrite_amode = 1;
int mca_io_ompio_verbose_info_parsing = 0;
int mca_io_ompio_use_accelerator_buffers = 1;
int mca_io_ompio_use_accelerator_buffers = 0;
int mca_io_ompio_grouping_option=5;

/*
Expand Down Expand Up @@ -263,7 +263,7 @@ static int register_component(void)
MCA_BASE_VAR_SCOPE_READONLY,
&mca_io_ompio_verbose_info_parsing);

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

0 comments on commit d30471c

Please sign in to comment.