diff --git a/examples/parameter_example.yml b/examples/parameter_example.yml index e904a0dd4499da96495be76dfded2989d46ac18c..f0a3c398e3afb895fb1932b654816437f2b0f429 100644 --- a/examples/parameter_example.yml +++ b/examples/parameter_example.yml @@ -72,7 +72,7 @@ Scheduler: cell_extra_sparts: 400 # (Optional) Number of spare sparts per top-level allocated at rebuild time for on-the-fly creation. max_top_level_cells: 12 # (Optional) Maximal number of top-level cells in any dimension. The number of top-level cells will be the cube of this (this is the default value). tasks_per_cell: 0.0 # (Optional) The average number of tasks per cell. If not large enough the simulation will fail (means guess...). - links_per_tasks: 10 # (Optional) The average number of links per tasks (before adding the communication tasks). If not large enough the simulation will fail (means guess...). Defaults to 10. + links_per_tasks: 25 # (Optional) The average number of links per tasks (before adding the communication tasks). If not large enough the simulation will fail (means guess...). Defaults to 10. mpi_message_limit: 4096 # (Optional) Maximum MPI task message size to send non-buffered, KB. engine_max_parts_per_ghost: 1000 # (Optional) Maximum number of parts per ghost. engine_max_sparts_per_ghost: 1000 # (Optional) Maximum number of sparts per ghost. diff --git a/src/engine.c b/src/engine.c index 4b3d356899e543813860a0c584af67e911946d75..afa859e9aeff53e7d03eae5eeaa24a9d017766d1 100644 --- a/src/engine.c +++ b/src/engine.c @@ -5507,7 +5507,7 @@ void engine_config(int restart, struct engine *e, struct swift_params *params, /* Estimated number of links per tasks */ e->links_per_tasks = - parser_get_opt_param_int(params, "Scheduler:links_per_tasks", 15); + parser_get_opt_param_int(params, "Scheduler:links_per_tasks", 25); /* Init the scheduler. */ scheduler_init(&e->sched, e->s, maxtasks, nr_queues,