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

[BUG] Gate auto-update with big RTB #129

Open
nicolas-rabault opened this issue Dec 8, 2021 · 1 comment
Open

[BUG] Gate auto-update with big RTB #129

nicolas-rabault opened this issue Dec 8, 2021 · 1 comment
Assignees
Labels
type bug Something isn't working

Comments

@nicolas-rabault
Copy link
Member

Describe the bug
When we create a lot of auto-update at the same time all the services reply in a short period of time. But after few seconds we can see that this period of time become larger and larger. The space between boards diverge.

Network configuration

  • Any

How to reproduce the bug
Just use a gate with some service with the standard configuration

Additional context
The auto-update feature have a ms granularity. We could reduce this granularity to reduce this divergence.
Most importantly auto-update is computed on luos_loop(). If Luos_loop is executed later after the deadline we create divergence because after send the message we do :
new_trigger_date = current_time + update_time
We should do :
new_trigger_date = last_trigger_date + update_time

@nicolas-rabault nicolas-rabault added the type bug Something isn't working label Dec 8, 2021
@nicolas-rabault nicolas-rabault self-assigned this Dec 8, 2021
@JeromeGalan
Copy link
Member

Should be caused by ms granularity.
Test with precise timer (ns granularity)

@JeromeGalan JeromeGalan added this to the 2.5.2 milestone Jun 30, 2022
@JeromeGalan JeromeGalan modified the milestones: 2.5.2, 2.5.3 Jul 7, 2022
@Salem-Tho Salem-Tho removed this from the 2.5.3 milestone Jul 11, 2022
@JeromeGalan JeromeGalan added this to the 2.6.2 milestone Sep 5, 2022
@JeromeGalan JeromeGalan removed this from the 2.6.2 milestone Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type bug Something isn't working
Projects
Development

No branches or pull requests

3 participants