-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DISTRIBUTED] Send data in chunks and serializer improvements.
- Distributed runtime was limited to sending messages of maximum size INT_MAX for each message (both for MPI and gRPC). With this commit we are no longer limited by this and we serialize data into chunks which are then sent to the workers, allowing us to send bigger messages. - Added a new command line arg to set maximum chunk size for distr messages (default ~2GB). - Use pointer for holding buffer inside serialization iterator. - DaphneSerializer std::vector buffer, used reserve() and capacity() methods to manage available space. However, we should not write to vector's memory (even if reserved) without first resizing the buffer. Therefore replaced reserve() calls with resize(). Similar replacements for MPI and gRPC worker. - Due to resize() use, it's best to use the smallest possible chunk size. - Added test case for distributed chunked messages.
- Loading branch information
1 parent
f475e18
commit 5cca09c
Showing
20 changed files
with
481 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.