Message latency depends on the workload of the process owning the data writer #5504
Open
1 task done
Labels
need more info
Issue that requires more info from contributor
Is there an already existing issue for this?
Expected behavior
The time between message publication and message reception does not depend on the workload of the of the process owning the data writer
Current behavior
The time between message publication and message reception depends on the workload of the of the process owning the data writer
Steps to reproduce
I'm testing the message latency between a data writer and a data reader. They belong to separate processes, and I'm using the discovery server, launching the server in a third process. To publish the message I'm using the following while loop
The for loop simulates a workload. RoundTripTimeMsg is instead a custom message defined as follows
The data reader is instead receiving the message and printing the elapsed time between the current time and the time saved in the timestamp field of the received message. Its callback does basically the following
Both the data writer and the data reader use their default QoS.
I have noticed that if inside the while loop I reduce the workload (using a lower number in the condition) the data reader receives a message earlier. If I increase the workload, the message is received later. What is it happening?
Fast DDS version/commit
v3.1.0
Platform/Architecture
Other. Please specify in Additional context section.
Transport layer
UDPv4
Additional context
Platform: Ubuntu Jammy Jellyfish 22.04 amd64
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: