-
Notifications
You must be signed in to change notification settings - Fork 20
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
[WIP] Refactor workers into state machines #63
Conversation
07c2d5f
to
bd3ffa9
Compare
bd3ffa9
to
239aded
Compare
The However there is an impact on overhead measured with fibonacci, about on both eager (5%) and lazy (10%) with a constant extra overhead of about 20ms on my 36 cores machine. |
Performance is increased on nested parallelism: With the PR, 3 middle runs out of 20 of transpose benchmark
Without
|
Fix #10, should help #3
And also should make following the transitions and events/triggers more explicit.
This would be helpful to implement nested barriers (#41] on sane foundations
and improve maintenance of Weave in the future.
Commits in this PR will progressively bubble up all the states into 1 state machine or pushdown automaton or a set of hierarchical state machines but only 1 level deep.