Replies: 4 comments 1 reply
-
Hi @ipa-rwu, thanks for using Fast DDS.
|
Beta Was this translation helpful? Give feedback.
-
@JesusPoderoso Thank you for your help. Is there a way to monitoring SHM? For cyclonedds I can use (iceoryx introspection)[https://iceoryx.io/v1.0.1/getting-started/examples/icecrystal/] to monitor shared memory segments. |
Beta Was this translation helpful? Give feedback.
-
Yes @ipa-rwu, you can configure the |
Beta Was this translation helpful? Give feedback.
-
I am moving this question to the support discussion forum as per Fast DDS CONTRIBUTING guidelines. |
Beta Was this translation helpful? Give feedback.
-
Is there an already existing issue for this?
Expected behavior
I expect there are no messages going to multicast server 239.255.0.1
Current behavior
I still can see messgae go to 239.255.0.1
Steps to reproduce
I created a test here.
You can use compose.shm.yaml to start.
I run a talker and a listener in different docker containers. I want to use Shared Memory Transport
Based on the information here Leveraging Fast DDS SHM in Docker deployments
I use
and I also mount "/dev/shm" which I think it is not necessary since I set "ipc: host".
But I still also can see traffic going through 239.255.0.1.
I also try to disable multicast by giving wrong locator ip address following Disabling multicast discovery .
You can find dds configuration here: shm_config_wrong_peer.xml
I expect listener still can get messges because of using SHM but it doesn't.
I also try out fastdds monitor. I can see talker and listener have identical 4 first bytes on guid as you can see my screenshort.
How can I know if it really uses SHM?
Fast DDS version/commit
ros2 doctor --report | grep fastrtps
results:
Platform/Architecture
Other. Please specify in Additional context section.
Transport layer
Default configuration, UDPv4 & SHM
Additional context
I am using Ubuntu 22.04.3 amd64
XML configuration file
Relevant log output
No response
Network traffic capture
Beta Was this translation helpful? Give feedback.
All reactions