Fast-DDS icon indicating copy to clipboard operation
Fast-DDS copied to clipboard

EDP take too much time

Open yooouxin opened this issue 2 years ago • 0 comments

Is there an already existing issue for this?

  • [X] I have searched the existing issues

Expected behavior

I found that the time taken by the SEDP protocol is not fixed,I tested on aarchlinux x86 PC,using examples/cpp/dds/ClientServerTest ,I add some code to calculate the time spent by SEDP. image

And I write a script to run client 100 times,I found that SEDP sometimes will take 500ms,I don't know why this is.

image

Current behavior

SEDP take so much time,and i want to know the reason,in my real project,It can take up to several seconds.

Steps to reproduce

  1. add time calculating code to examples/cpp/dds/
  2. run server
  3. run client 100 times

Fast DDS version/commit

v2.7.0

Platform/Architecture

Other. Please specify in Additional context section.

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

yooouxin avatar Jul 16 '22 09:07 yooouxin