Skip to content
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

Return multiple tasks in poll_work based on free slots #429

Merged
merged 3 commits into from
Oct 22, 2022

Conversation

Dandandan
Copy link
Contributor

@Dandandan Dandandan commented Oct 22, 2022

Which issue does this PR close?

Closes #400

Some nice 1.4-3x improvements 🎉 on a single executor with 16 slots / 16 partitions :

Q Old New
1 3170.08 2566.77
2 13501.73 6848.24
3 5322.98 3109.43
4 3882.16 2664.62
5 10822.85 5035.86
6 1329.18 922.17
7 13702.34 10521.32
8 14135.32 4939.10

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@Dandandan Dandandan changed the title Use multiple tasks in polling Return multiple tasks in poll_work based on free slots Oct 22, 2022
Copy link
Member

@andygrove andygrove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing! Thanks @Dandandan

@andygrove andygrove merged commit 988d323 into apache:master Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use multi-task definition in pull-based execution loop
2 participants