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

Questions about the message passing and thread #18

Closed
ZebinRenTmp opened this issue May 12, 2020 · 2 comments
Closed

Questions about the message passing and thread #18

ZebinRenTmp opened this issue May 12, 2020 · 2 comments

Comments

@ZebinRenTmp
Copy link

When I read the code, I find out that in dense mode, the message passing seems like socket to socket. For example, the buffered message in 2nd socket in partition 3 will be passed to the 2nd socket in partition in socket 2. And then the reduce is seemed processed in each socket locally, without any communication with other sockets.
What if a vertex in the 2nd socket in partition 3 has an outgoing edge which points to a vertex that belongs to a vertex in the 1st socket in partition 2. Since the message will only be passed to the 2nd socket in partition 2, how does it know there is an edge in the 1st socket that should processed?

@coolerzxw
Copy link
Member

Hi @Dragon-M-Ren ,
You seem to misunderstand some concepts in Gemini regarding how data is partitioned and organized, and what dense signals and slots do. You may add some prints in the code to verify your thoughts.

@ZebinRenTmp
Copy link
Author

Hi @Dragon-M-Ren ,
You seem to misunderstand some concepts in Gemini regarding how data is partitioned and organized, and what dense signals and slots do. You may add some prints in the code to verify your thoughts.

Thanks

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

No branches or pull requests

2 participants