File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ OMPI_DECLSPEC extern int mca_io_ompio_coll_timing_info;
7272 * General values
7373 */
7474#define OMPIO_PREALLOC_MAX_BUF_SIZE 33554432
75+ #define OMPIO_DEFAULT_CYCLE_BUF_SIZE 536870912
7576#define OMPIO_PERM_NULL -1
7677#define OMPIO_IOVEC_INITIAL_SIZE 100
7778#define OMPIO_ROOT 0
Original file line number Diff line number Diff line change 3131#include "ompi/mca/io/io.h"
3232#include "io_ompio.h"
3333
34- int mca_io_ompio_cycle_buffer_size = -1 ;
34+ int mca_io_ompio_cycle_buffer_size = OMPIO_DEFAULT_CYCLE_BUF_SIZE ;
3535int mca_io_ompio_bytes_per_agg = OMPIO_PREALLOC_MAX_BUF_SIZE ;
3636int mca_io_ompio_num_aggregators = -1 ;
3737int mca_io_ompio_record_offset_info = 0 ;
@@ -165,7 +165,7 @@ static int register_component(void)
165165 MCA_BASE_VAR_SCOPE_READONLY ,
166166 & mca_io_ompio_coll_timing_info );
167167
168- mca_io_ompio_cycle_buffer_size = -1 ;
168+ mca_io_ompio_cycle_buffer_size = OMPIO_DEFAULT_CYCLE_BUF_SIZE ;
169169 (void ) mca_base_component_var_register (& mca_io_ompio_component .io_version ,
170170 "cycle_buffer_size" ,
171171 "Data size issued by individual reads/writes per call" ,
You can’t perform that action at this time.
0 commit comments