-
Notifications
You must be signed in to change notification settings - Fork 729
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
When these processes start at the same time, many dropped parckets were generated by the 127.0.0.1 network #4668
Comments
Hi @TechVortexZ, thanks for using Fast DDS. |
Hi @elianalf, We decrease initial announcement period When we modify this configuration |
Hi,
The
I would need more information about the screenshot. From the information I have, I can tell you that |
Hi @elianalf [thanks for your reply.
Here are more screenshots to illustrate the pdp message sent by the same particpant. |
Hi,
If your application requires to work only in local host and you obtain better performance setting
All these packages are not only initialAnnouncements packages. Each participant sends an initialAnnouncements package every |
Hi @elianalf thanks for your reply. Your answer above is right. I want to ask the last question.
It says that fastdds will provide optimization measures to reduce duplicate announcements, What are these optimization measures? |
Hi, |
Is there an already existing issue for this?
Expected behavior
udp_transport->interfaceWhiteList.push_back(127.0.0.1);
This means that discovery traffic uses a 127.0.0.1 for udp communication and user data uses shm communication.
ifconfig lo
Current behavior
When these processes start at the same time,There are many packet loss on the 127.0.0.1 that can be seen by the
![image](https://private-user-images.githubusercontent.com/78061940/320331825-2bd74fde-58e8-4f78-9c90-7959cfc6e7d6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMjIxMTIsIm5iZiI6MTcyMDEyMTgxMiwicGF0aCI6Ii83ODA2MTk0MC8zMjAzMzE4MjUtMmJkNzRmZGUtNThlOC00Zjc4LTljOTAtNzk1OWNmYzZlN2Q2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZ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84ar_vZ_1stxWXjv1Fkg)
ifconfig lo
We have tried many ways, but nothing has worked:
Increase the buffer sizes of network adapters
sudo sysctl -w net.core.wmem_max=209715200 //200M
sudo sysctl -w net.core.rmem_max=209715200 //200M
Increase the socket buffer size in the QOS
"send_socket_buffer_size": 209715200, //200M
"listen_socket_buffer_size": 209715200
Increase the txqueuelen length
ip link set txqueuelen 10000 dev lo
Can you help me solve this problem?
Steps to reproduce
above
Fast DDS version/commit
v2.12.0
Platform/Architecture
Ubuntu Focal 20.04 arm64
Transport layer
Default configuration, UDPv4 & SHM
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
The text was updated successfully, but these errors were encountered: