-
Notifications
You must be signed in to change notification settings - Fork 802
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Improve `max_allocations` calculation on SHM transport (#5659) * Refs #22841. Improve max_allocations calculation. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22841. Consider a mean message size of half the max message size. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22841. Move `shm_default_segment_size` to global scope. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22841. Move `SharedMemTransportDescriptor` constants. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22841. Change calculation of `mean_message_size`. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: Miguel Company <miguelcompany@eprosima.com> (cherry picked from commit b54cb8e) # Conflicts: # src/cpp/rtps/transport/shared_mem/SharedMemTransport.cpp # src/cpp/rtps/transport/shared_mem/SharedMemTransportDescriptor.cpp * Fix conflicts. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> --------- Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
- Loading branch information
1 parent
e6d0844
commit 0d13583
Showing
4 changed files
with
32 additions
and
30 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