-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More efficient scheduling of large ensembles #107
Comments
Complications:
|
Here's an idea - keep the individual member proxies but have them interact only amongst themselves in a separate pool (to handle any internal dependence) while they are represented in the main pool by a single family proxy. |
It was suggested in @cylc/core meeting, that dependency matching could work with shared "dependency objects" rather than individual task proxies. Members of graphed families would automatically share the same dependency objects - would probably solve this issue and #1776 in one whack (if the same shared objects could be used to define graph edges). Bumping up to 'soon' on that basis... |
The new idea (prev comment) is superior - closing this and moving that to a new Issue. |
This is just an idea for consideration. See also #108.
Currently if a "family trigger" is used in the graph to trigger a large ensemble, the family trigger is replaced with the equivalent expression involving all the ensemble members, and at run time every member is represented by its own dedicated task proxy. The efficiency of the scheduling algorithm depends on the size of the task pool, and large ensembles are the most likely cause of task pool bloat. If all ensemble members trigger at once, and if downstream tasks trigger off the entire ensemble, then the suite would be just as well served by a single task proxy representing the entire ensemble. The family proxy would have to take messages from each of its members, keep track of each of their states, know how to submit all of them at once, and so on. This would result in a massive performance boost for very large ensemble suites.
The text was updated successfully, but these errors were encountered: