-
Notifications
You must be signed in to change notification settings - Fork 24
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
Optimistic MIN_SLEEP_DURATION
causes a problem
#513
Comments
I think we should remove MIN_SLEEP_DURATION, it was a misguided optimization. |
Actually, it is also used in |
I agree. But I found the PR #403 related to |
Wow, great detective work! The goal of |
Perhaps. We could try enabling the CI for watchdogs after merging these fixes! |
MIN_SLEEP_DURATION
causes a flaky error in DecentralizedP2PUnbalancedTimeoutPhysical.lf (see this CI test result).In the below logs, you can see that the federate doesn't wait until the physical time of
1 msec
because the waiting time is less thanMIN_SLEEP_DURATION
(10 usec
). However, this leads to advancing the current tag to1 msec
before the physical time exceeds1 msec
(994.0 usec
). However, a message came through the physical connection, was scheduled at996.6 usec
, and invoked a fatal error.@edwardalee Do you think we can fix this by simply decreasing the amount of
MIN_SLEEP_DURATION
? Then, what should be the new value?The text was updated successfully, but these errors were encountered: