Open sphuber opened 5 years ago
The results show that the culprits are mostly instantiate_process and save_checkpoint
These are bottleneck from test above but seems they are slow because they are DB operations. The only thing related to number of daemon seems controller.continue_process
. A close benchmark needed to see if the performance is influenced by the number of process in the list.
The time taken to submit a process seems to increase when the number of active daemon workers increases. Below a quick profiling of the
aiida.engine.launch.submit
method, courtesy of @giovannipizziThe results show that the culprits are mostly
instantiate_process
andsave_checkpoint