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

A Question about network buffer #1450

Open
ZhiyiHu1999 opened this issue Sep 17, 2024 · 3 comments
Open

A Question about network buffer #1450

ZhiyiHu1999 opened this issue Sep 17, 2024 · 3 comments

Comments

@ZhiyiHu1999
Copy link

Hello! I have a question about the network buffer between GPU and proxy thread: Is the buffer (which is by default 4MiB for Simple protocol) shared by all channels or each channel has its own network buffer. I think each channel has its own network buffer, is it true. Thanks for your reply!

@sjeaugey
Copy link
Member

Yes, in general, each channel has its own buffer for collective operations (ring/tree/etc). For send/recv operations however, we have a single shared buffer.

@ZhiyiHu1999
Copy link
Author

Thanks a lot!

@ZhiyiHu1999
Copy link
Author

Yes, in general, each channel has its own buffer for collective operations (ring/tree/etc). For send/recv operations however, we have a single shared buffer.

Hello! @sjeaugey I want to add a questiion: If a node (suppose only one GPU with it) in a Tree channel has two child and one parent, does the send to these three peers share one network buffer or each send to each peer has its own buffer (in this case three buffer). Thanks a lot!

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