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

SHM support #39

Merged
merged 9 commits into from
Nov 13, 2024
Merged

SHM support #39

merged 9 commits into from
Nov 13, 2024

Conversation

yellowhatter
Copy link

Shm configuration:

  • ZENOH_SHM_ENABLED
  • ZENOH_SHM_ALLOC_SIZE
  • ZENOH_SHM_MESSAGE_SIZE_THRESHOLD

Implicit SHM optimization for messages above size threshold.

SHM feature for underlying zenoh now can be turned on\off instead of being always on + all SHM-related rmw code is under conditional compilation.

@yellowhatter yellowhatter added the enhancement New feature or request label Nov 12, 2024
@yellowhatter yellowhatter self-assigned this Nov 12, 2024
rmw_zenoh_cpp/CMakeLists.txt Outdated Show resolved Hide resolved
zenoh_c_vendor/CMakeLists.txt Outdated Show resolved Hide resolved
@YuanYuYuan
Copy link
Collaborator

To be clear, the RMW library should be built with shared memory by default. But the shared memory usage could be either on or off in the default config. Since we haven't tested this branch yet, let's disable it so as not to affect the review of this PR.

@YuanYuYuan YuanYuYuan merged commit f400ab5 into dev/1.0.0 Nov 13, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants