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

[dag] state sync good case unit test #9832

Merged
merged 1 commit into from
Sep 9, 2023
Merged

Conversation

ibalajiarun
Copy link
Contributor

Description

Test Plan

@ibalajiarun ibalajiarun requested a review from sasha8 August 30, 2023 05:17
@ibalajiarun ibalajiarun force-pushed the balaji/dag-state-sync branch from 023b879 to 977b9b1 Compare September 1, 2023 21:05
@ibalajiarun ibalajiarun force-pushed the balaji/dag-state-sync-test branch from 2505731 to abfaaa9 Compare September 1, 2023 21:05
@ibalajiarun ibalajiarun force-pushed the balaji/dag-state-sync branch 6 times, most recently from 2f4d37d to ae30b43 Compare September 5, 2023 01:06
@ibalajiarun ibalajiarun force-pushed the balaji/dag-state-sync-test branch 3 times, most recently from c094f89 to 215f269 Compare September 5, 2023 20:43
@ibalajiarun ibalajiarun force-pushed the balaji/dag-state-sync branch from ae30b43 to 1a405d8 Compare September 5, 2023 20:47
@ibalajiarun ibalajiarun force-pushed the balaji/dag-state-sync-test branch from 215f269 to e275b22 Compare September 5, 2023 20:48
@ibalajiarun ibalajiarun force-pushed the balaji/dag-state-sync branch 2 times, most recently from efc7ec3 to 7e41139 Compare September 6, 2023 00:07
@ibalajiarun ibalajiarun force-pushed the balaji/dag-state-sync branch from 7e41139 to 3932158 Compare September 7, 2023 21:48
@ibalajiarun ibalajiarun force-pushed the balaji/dag-state-sync branch 2 times, most recently from fab0ad8 to 6dd6796 Compare September 7, 2023 23:41
@ibalajiarun ibalajiarun force-pushed the balaji/dag-state-sync-test branch from e275b22 to 5211cfe Compare September 7, 2023 23:41
Base automatically changed from balaji/dag-state-sync to main September 8, 2023 14:45
&self,
remote_request: RemoteFetchRequest,
_responders: Vec<Author>,
new_dag: Arc<RwLock<Dag>>,
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: I think when we do fetch it can be a Dag without arc mutex?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, but the same trait is used for fetcher service too, which needs to pass an arc mutex.

}
let slow_dag = Arc::new(RwLock::new(slow_dag));

let li_node = nodes[LI_ROUNDS - 1].first().unwrap().clone().unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

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

why -1?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

just for zero indexing.

Copy link
Contributor

@sasha8 sasha8 left a comment

Choose a reason for hiding this comment

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

stamp

Copy link
Contributor

@sasha8 sasha8 left a comment

Choose a reason for hiding this comment

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

stamp

@ibalajiarun ibalajiarun force-pushed the balaji/dag-state-sync-test branch from 5211cfe to 29b7644 Compare September 9, 2023 18:23
@ibalajiarun ibalajiarun enabled auto-merge (squash) September 9, 2023 18:25
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@ibalajiarun ibalajiarun force-pushed the balaji/dag-state-sync-test branch from 29b7644 to de2cc9e Compare September 9, 2023 20:25
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2023

✅ Forge suite compat success on aptos-node-v1.6.2 ==> de2cc9e1f492eab890386cc35ccdb4517ac61571

Compatibility test results for aptos-node-v1.6.2 ==> de2cc9e1f492eab890386cc35ccdb4517ac61571 (PR)
1. Check liveness of validators at old version: aptos-node-v1.6.2
compatibility::simple-validator-upgrade::liveness-check : committed: 4101 txn/s, latency: 6963 ms, (p50: 6600 ms, p90: 9900 ms, p99: 25300 ms), latency samples: 172280
2. Upgrading first Validator to new version: de2cc9e1f492eab890386cc35ccdb4517ac61571
compatibility::simple-validator-upgrade::single-validator-upgrade : committed: 1854 txn/s, latency: 15640 ms, (p50: 18600 ms, p90: 22000 ms, p99: 22300 ms), latency samples: 92700
3. Upgrading rest of first batch to new version: de2cc9e1f492eab890386cc35ccdb4517ac61571
compatibility::simple-validator-upgrade::half-validator-upgrade : committed: 1352 txn/s, submitted: 1393 txn/s, expired: 41 txn/s, latency: 15813 ms, (p50: 17400 ms, p90: 21600 ms, p99: 22000 ms), latency samples: 85188
4. upgrading second batch to new version: de2cc9e1f492eab890386cc35ccdb4517ac61571
compatibility::simple-validator-upgrade::rest-validator-upgrade : committed: 3377 txn/s, latency: 9274 ms, (p50: 9900 ms, p90: 13200 ms, p99: 13900 ms), latency samples: 138480
5. check swarm health
Compatibility test for aptos-node-v1.6.2 ==> de2cc9e1f492eab890386cc35ccdb4517ac61571 passed
Test Ok

@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2023

✅ Forge suite realistic_env_max_load success on de2cc9e1f492eab890386cc35ccdb4517ac61571

two traffics test: inner traffic : committed: 6159 txn/s, latency: 6360 ms, (p50: 6000 ms, p90: 8400 ms, p99: 15400 ms), latency samples: 2667120
two traffics test : committed: 100 txn/s, latency: 3084 ms, (p50: 3000 ms, p90: 4100 ms, p99: 6900 ms), latency samples: 1900
Latency breakdown for phase 0: ["QsBatchToPos: max: 0.261, avg: 0.216", "QsPosToProposal: max: 0.386, avg: 0.184", "ConsensusProposalToOrdered: max: 0.649, avg: 0.623", "ConsensusOrderedToCommit: max: 0.547, avg: 0.511", "ConsensusProposalToCommit: max: 1.177, avg: 1.134"]
Max round gap was 2 [limit 4] at version 2282537. Max no progress secs was 7.577653 [limit 10] at version 2282537.
Test Ok

@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2023

✅ Forge suite framework_upgrade success on aptos-node-v1.5.1 ==> de2cc9e1f492eab890386cc35ccdb4517ac61571

Compatibility test results for aptos-node-v1.5.1 ==> de2cc9e1f492eab890386cc35ccdb4517ac61571 (PR)
Upgrade the nodes to version: de2cc9e1f492eab890386cc35ccdb4517ac61571
framework_upgrade::framework-upgrade::full-framework-upgrade : committed: 3429 txn/s, latency: 6223 ms, (p50: 6300 ms, p90: 9300 ms, p99: 11700 ms), latency samples: 192060
5. check swarm health
Compatibility test for aptos-node-v1.5.1 ==> de2cc9e1f492eab890386cc35ccdb4517ac61571 passed
Test Ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants