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;
72
72
* General values
73
73
*/
74
74
#define OMPIO_PREALLOC_MAX_BUF_SIZE 33554432
75
+ #define OMPIO_DEFAULT_CYCLE_BUF_SIZE 536870912
75
76
#define OMPIO_PERM_NULL -1
76
77
#define OMPIO_IOVEC_INITIAL_SIZE 100
77
78
#define OMPIO_ROOT 0
Original file line number Diff line number Diff line change 31
31
#include "ompi/mca/io/io.h"
32
32
#include "io_ompio.h"
33
33
34
- int mca_io_ompio_cycle_buffer_size = -1 ;
34
+ int mca_io_ompio_cycle_buffer_size = OMPIO_DEFAULT_CYCLE_BUF_SIZE ;
35
35
int mca_io_ompio_bytes_per_agg = OMPIO_PREALLOC_MAX_BUF_SIZE ;
36
36
int mca_io_ompio_num_aggregators = -1 ;
37
37
int mca_io_ompio_record_offset_info = 0 ;
@@ -165,7 +165,7 @@ static int register_component(void)
165
165
MCA_BASE_VAR_SCOPE_READONLY ,
166
166
& mca_io_ompio_coll_timing_info );
167
167
168
- mca_io_ompio_cycle_buffer_size = -1 ;
168
+ mca_io_ompio_cycle_buffer_size = OMPIO_DEFAULT_CYCLE_BUF_SIZE ;
169
169
(void ) mca_base_component_var_register (& mca_io_ompio_component .io_version ,
170
170
"cycle_buffer_size" ,
171
171
"Data size issued by individual reads/writes per call" ,
You can’t perform that action at this time.
0 commit comments