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

Priority-based Push and Pull #147

Merged
merged 2 commits into from
Oct 16, 2019
Merged

Priority-based Push and Pull #147

merged 2 commits into from
Oct 16, 2019

Conversation

anandj91
Copy link
Contributor

@anandj91 anandj91 commented May 24, 2019

Messages sent based on an assigned priority
Higher priority messages gets preference over lower priority ones

@anandj91
Copy link
Contributor Author

This is an additional feature ps-lite has to support in order to implement priority-based parameter propagation in MXNet (JIRA ticket - https://issues.apache.org/jira/browse/MXNET-1294).

@szha szha requested a review from eric-haibin-lin May 24, 2019 22:09
@anandj91 anandj91 force-pushed the prio branch 3 times, most recently from c677efd to fbd2c51 Compare May 25, 2019 04:15
include/ps/internal/customer.h Show resolved Hide resolved
src/zmq_van.h Outdated Show resolved Hide resolved
include/ps/internal/threadsafe_pqueue.h Outdated Show resolved Hide resolved
@eric-haibin-lin
Copy link
Member

Could you resolve the conflict?

@bobzhuyb
Copy link

bobzhuyb commented Sep 23, 2019

@anandj91 I noticed that you modified the Van base class, especially the new Push() interface. I want to understand whether this is backward compatible, e.g., with the recently merged RDMA Van? #151

IMHO, a cleaner implementation is to keep the Van base class unmodified (as much as possible), just inherit from it (or from ZMQVan) and create your own Van, e.g., P3Van. Users are free to use it or fall back to other options, by setting environmental variables.

Messages sent based on a assigned priority
Higher priority messages gets preference over lower priority ones
Add environment variable for setting high water mark for zmq
@bobzhuyb
Copy link

@anandj91 The latest P3Van looks good! Thank you.

@eric-haibin-lin eric-haibin-lin merged commit db61897 into dmlc:master Oct 16, 2019
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.

3 participants