Performance tuning: make sure the individual component is selected for 1 and 2 process communicators (important for some benchmarks)
Этот коммит содержится в:
родитель
9b2a7e41f0
Коммит
93a303ba89
@ -262,6 +262,9 @@ int mca_fcoll_base_query_table (struct mca_io_ompio_file_t *file, char *name)
|
|||||||
file->f_cc_size >= file->f_stripe_size) {
|
file->f_cc_size >= file->f_stripe_size) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
if ( 2 >= (int)file->f_size ){
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!strcmp (name, "dynamic")) {
|
if (!strcmp (name, "dynamic")) {
|
||||||
if ((int)file->f_cc_size < file->f_bytes_per_agg &&
|
if ((int)file->f_cc_size < file->f_bytes_per_agg &&
|
||||||
|
@ -64,6 +64,9 @@ mca_fcoll_individual_component_file_query (mca_io_ompio_file_t *fh, int *priorit
|
|||||||
if (*priority < 50) {
|
if (*priority < 50) {
|
||||||
*priority = 50;
|
*priority = 50;
|
||||||
}
|
}
|
||||||
|
if ( 2 >= fh->f_size ) {
|
||||||
|
*priority = 100;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return &individual;
|
return &individual;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user