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

Detect ZDC in RTI and issue PTAG only for nodes in ZDC #311

Merged
merged 58 commits into from
Dec 2, 2023
Merged

Conversation

edwardalee
Copy link
Contributor

@edwardalee edwardalee commented Nov 23, 2023

This PR makes a number of changes, the most important of which is to analyze the topology of the connections between nodes (federates or enclaves), calculate the minimum delay path between every pair of nodes, and use PTAG only when a node is in a zero-delay cycle (ZDC).

Note that this PR includes pqueue_refactoring. Merge #306 first to make this PR smaller.

A missing component is that federates are sending absent messages always. They should only send absent messages on output ports that are part of a zero-delay cycle.

edwardalee and others added 30 commits October 28, 2023 12:31
@edwardalee edwardalee added enhancement Enhancement of existing feature federated labels Nov 23, 2023
@edwardalee edwardalee marked this pull request as ready for review November 23, 2023 18:00
@edwardalee edwardalee requested a review from erlingrj November 23, 2023 18:00
Copy link
Collaborator

@erlingrj erlingrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, I only had a few questions. I did not look at the pqueue-refactorings as I currently don't have the context for this.

core/federated/RTI/rti_common.c Outdated Show resolved Hide resolved
core/federated/RTI/rti_common.c Outdated Show resolved Hide resolved
core/federated/RTI/rti_remote.c Show resolved Hide resolved
@edwardalee
Copy link
Contributor Author

I have resolve @erlingrj 's comment. @lhstrh : Ok to merge this? You mentioned you had a draft review in progress, I think.

Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generally looks good although I don't think I fully comprehend the full extend of the implications of these changes. I had some minor questions...

test/src_gen_stub.c Outdated Show resolved Hide resolved
include/core/trace.h Show resolved Hide resolved
core/utils/util.c Show resolved Hide resolved
@edwardalee edwardalee merged commit 2fb2878 into main Dec 2, 2023
28 checks passed
@lhstrh lhstrh deleted the enclaves3 branch December 2, 2023 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing feature federated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants