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

Closes #16. Use a single shared queue between all threads in each workload mapper. #19

Merged
merged 1 commit into from
Apr 5, 2018

Conversation

xkrogen
Copy link
Collaborator

@xkrogen xkrogen commented Mar 28, 2018

On a single mapper in the workload replay, currently tasks are distributed to threads in a path-partitioned manner. This results in bad skew issues, where one thread can fall very far behind because it is overloaded. Thus, although all of the issues on a specific path get executed in order (though late), the ordering with other paths is very far out of sync. It is better to let some operations on the same path occur out of order so that (a) overall everything stays more in sync and (b) no thread falls far behind (which can delay the entire mapper from completing).

…ared queue between all threads in a single workload mapper.
@chliang71
Copy link
Collaborator

One question, why is this IP based partitioning? To me, it looks like every command gets put into the same queue, and the threads pick up the commands regardless of IP. Am I missing something?

@xkrogen xkrogen changed the title Closes #16. Support IP based partitioning and use a single shared queue between all threads in a single workload mapper. Closes #16. Use a single shared queue between all threads in each workload mapper. Mar 30, 2018
@xkrogen
Copy link
Collaborator Author

xkrogen commented Mar 30, 2018

Sorry, the commit message was a bit incorrect. I have updated the title & the description to more fully explain the issue we are solving here.

@chliang71
Copy link
Collaborator

LGTM, +1

@xkrogen xkrogen merged commit 8f73360 into linkedin:master Apr 5, 2018
@xkrogen xkrogen deleted the ekrogen-workload-shared-queue branch April 5, 2018 17:25
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.

None yet

2 participants