-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Introduce approval-voting/distribution benchmark #2621
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
Merged
Merged
Changes from all commits
Commits
Show all changes
247 commits
Select commit
Hold shift + click to select a range
7230df4
merge from archived repo
sandreim d04c182
cargo lock
sandreim f4f0e70
Merge remote-tracking branch 'origin' into sandreim/the_v2_assignments
sandreim 341c7af
Approve multiple candidates with a single signature
alexggh 619fff2
Fix build warnings
alexggh 5f1558d
Merge remote-tracking branch 'origin/master' into feature/approve_mul…
alexggh ed1d9d0
ci: fix worker binaries could not be found
alexggh 7d7b82c
Add missing bits
alexggh 7bc13d3
Build with network-protocol-staging
alexggh 53f8556
Validate disconnect theory
alexggh 442b1e4
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 5e004e1
Log errors when banning peers
alexggh 9850b2f
fix zombienet test
sandreim f71eb31
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 46cfaf1
cargo lock
sandreim 0086502
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 47beabd
superfluous
sandreim ee88408
Merge branch 'master' into sandreim/the_v2_assignments
sandreim 3d3e37c
Separate approval
alexggh da61d98
Revert "Log errors when banning peers"
alexggh 9c0375c
Merge remote-tracking branch 'origin/sandreim/the_v2_assignments' int…
alexggh f3fee24
Cleanup post migrating hacks when migrating from polkadot repo
alexggh 6338d33
Fixup clippy
alexggh d4fb01a
Merge remote-tracking branch 'origin/master' into feature/approve_mul…
alexggh 5832ad7
Merge remote-tracking branch 'origin/master' into sandreim/the_v2_ass…
alexggh 989bbcc
Merge branch 'sandreim/the_v2_assignments' into feature/approve_multi…
alexggh 7fdae09
Add host configuration v10 with approval_voting params
alexggh e70b113
Fixup failure of lint-markdown
alexggh 85939bb
Fixup test-rustdoc job
alexggh a6df360
Merge branch 'sandreim/the_v2_assignments' into feature/approve_multi…
alexggh d42f373
Cosmetic fixes
alexggh 6dd5173
pipeline/zombinet: fix 0006 test name
alexggh b54ee85
Merge branch 'sandreim/the_v2_assignments' into feature/approve_multi…
alexggh 0bdc06e
fixup cargo fmt nightly
alexggh 218748d
fixup clippy
alexggh 0335cf1
Fixup markdownlint
alexggh 0f0faf0
Fixup runtime-migration-westend
alexggh 6eabb63
approval-voting: address round 1 of feedback
alexggh 9dc4a93
approval-distribution: cosmetic improvements
alexggh 566d7f5
Comment vstaging
alexggh 460bab2
Revert "Comment vstaging"
alexggh 85acb51
Add v3 protocol
alexggh 6a1fb87
Merge remote-tracking branch 'origin/master' into sandreim/the_v2_ass…
alexggh 56055c1
Fixup
alexggh 477a4bb
Merge remote-tracking branch 'origin/master' into sandreim/the_v2_ass…
alexggh 595000d
Merge remote-tracking branch 'origin/master' into sandreim/the_v2_ass…
alexggh 5579719
Fix cargo fmt
alexggh 03d92ce
Merge remote-tracking branch 'origin/master' into sandreim/the_v2_ass…
alexggh f68baea
Merge remote-tracking branch 'origin/sandreim/the_v2_assignments' int…
alexggh ee3b702
approval-distribution: fix unittests
alexggh 0d2fbba
Approval voting fixup
alexggh e672c1d
Fixup runtime api post merge
alexggh b053f92
Merge remote-tracking branch 'origin/master' into sandreim/the_v2_ass…
alexggh cff7a3a
Merge remote-tracking branch 'origin/sandreim/the_v2_assignments' int…
alexggh deccd98
Fixup clippy
alexggh 4d0e67e
Merge remote-tracking branch 'origin/sandreim/the_v2_assignments' int…
alexggh 807308e
Merge remote-tracking branch 'origin/master' into sandreim/the_v2_ass…
alexggh cccf581
Merge remote-tracking branch 'origin/sandreim/the_v2_assignments' int…
alexggh cc5a8fe
Minor cleanups
alexggh e24d889
Add metric to see average delayed tick
alexggh eebde47
Fixup CI
alexggh f400d5a
ApprovalVotingParams sane default
alexggh 0a952c0
Add zombienet to check approval coalescing
alexggh 183ba64
Fix review typo
alexggh 3fe8c0d
Remove file accidentally added which was removed from master
alexggh fc28618
Remove the need for CollationVersion::VStaging
alexggh 056713b
Merge remote-tracking branch 'origin/master' into sandreim/the_v2_ass…
alexggh a8d234c
Addressed review comments
alexggh d728cf2
Make clippy happy
alexggh 05ea75d
Build a test image with `network-protocol-staging`
alexggh 261285f
Enable assignments
alexggh db9c3a9
Revert "Enable assignments v2 used for testing"
alexggh 01af630
skeleton
sandreim 3893f16
Merge remote-tracking branch 'origin/master' into sandreim/the_v2_ass…
alexggh 15eaa0a
Cleanup un-needed dependency to test-helpers
alexggh a7d6a6e
Merge remote-tracking branch 'origin/sandreim/the_v2_assignments' int…
alexggh be9dddd
Address review findings
alexggh 2385fad
Address review findings
alexggh a2c0320
Add new approval_db version
alexggh c8eff61
Modify the way we are doing the sampling
alexggh 64f2195
Fixup check_rejects_delay_bad_vrf
alexggh 04798fa
Address some trivial review feedback
alexggh 440c38b
Use VersionedMigration
alexggh 569ebb7
Do not accept ValidDisputeStatementKind::ApprovalCheckingMultipleCand…
alexggh ac2271b
Make approval_voting_params session buferred
alexggh 059ce03
Merge remote-tracking branch 'origin/master' into sandreim/the_v2_ass…
alexggh 35cbc0e
Make clippy happy
alexggh a097f70
Merge remote-tracking branch 'origin/sandreim/the_v2_assignments' int…
alexggh 3af9517
Address review feedback in relay_vrf_modulo_cores
alexggh 1b84bb0
Address more review feedback
alexggh 7a1c88c
Add few more tests
alexggh ec71215
Fix unittest
alexggh 552e6fa
Add pr_doc
alexggh 2625def
Build a test image with `network-protocol-staging`
alexggh 43f5529
Build a test image with assignments enabled
alexggh 590b59e
Cleanup un-needed structures
alexggh bd76cf6
Revert test configurations
alexggh 20cb37a
Fix upgrade to latest zombienet version
alexggh 311b573
Set correct log level
alexggh 418b69c
Merge remote-tracking branch 'origin/sandreim/the_v2_assignments' int…
alexggh 46f7f4d
Make zombient behave with latest cli
alexggh a2e6024
Fix ocasional no-shows in zombienets
alexggh 7c22abe
wip
sandreim c3adc77
measure tput and fixes
sandreim 1955b71
Merge remote-tracking branch 'origin/master' into feature/approve_mul…
alexggh cd81d38
Fixup comment
alexggh 624bb5f
Fix genesis error in zombienet
alexggh 31b0351
add network emulation
sandreim e4bb037
cleanup
sandreim a694924
Add latency emulation
sandreim b0faa09
Minor fixes
alexggh 7ca4dba
support multiple pov sizes
sandreim 0430b5b
new metric in recovery and more testing
sandreim 027bcd8
CLI update and fixes
sandreim 5a05da0
peer stats
sandreim 895e8d6
Switch stats to atomics
sandreim a2fb0c9
add more network metrics, new load generator
sandreim d1b9fa3
refactor
sandreim c5937ab
pretty cli + minor refactor + remove unused
sandreim d6c259d
update
sandreim 050529b
remove comment
sandreim cb38be5
separate cli options for availability
sandreim 24a736a
implement unified and extensible configuration
sandreim ee6b467
Merge remote-tracking branch 'origin/master' into feature/approve_mul…
alexggh 2843865
Prepare to swtich to overseer
sandreim fd4620e
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim b17a147
add mocked subsystems
sandreim 4724d8c
full overseer based implementation complete
sandreim 7aed30f
make clean
sandreim b51485b
more cleaning
sandreim 7e46444
more cleaning
sandreim d3df927
proper overseer control
sandreim 7557768
refactor CLI display of env stats
sandreim 787dc00
Add grafana dashboards for DA read
sandreim cd18f8d
network stats fixes
sandreim e8506b3
move examples and grafana
sandreim cbb6772
Add readme
sandreim 1a80870
fmt + readme updates
sandreim eb49ea0
update dashboard and sample
sandreim b249056
remove unused
sandreim 7fbcdfc
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim fb34181
revert unneeded changes
sandreim 3a716a5
add missing comments and minor fixes
sandreim a092b76
clippy
sandreim ca27370
zepter format features --fix
sandreim be814e5
fix markdown
sandreim 11ce8f5
remove sleep till end of block
sandreim 8d93abc
review
sandreim af141ee
Emulated network improvements
sandreim 29d80fa
fix comment
sandreim 84721eb
Approval-voting subsytem draf1
alexggh 1bda031
Merge remote-tracking branch 'origin/master' into feature/approve_mul…
alexggh 5cb4b2a
Merge branch 'feature/approve_multiple_candidates_polkadot_sdk_v4' in…
alexggh 4f9d8fd
Subsystem improvements
alexggh b39f65f
approvals optimisation
alexggh 5644f81
Add fix number of tranches
alexggh c4bf254
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim c5a6143
availability distribution + bitfield distribution
sandreim c2a4d65
Merge remote-tracking branch 'origin/master' into feature/approve_mul…
alexggh 5e78127
Revert a2e602444662bd0e2443219b438d609da62a995d
alexggh 992e766
Address review feedback
alexggh 1913b63
protocol: rename vstaging into v3
alexggh 54e8698
WIP
sandreim 871e9cf
Remove network-protocol-staging
alexggh ec0a988
Merge remote-tracking branch 'origin/master' into feature/approve_mul…
alexggh a364b64
Rename zombienet
alexggh 5bfe2d9
add fn to wait on metric and CLI output changes
sandreim 74e68bb
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 4d21e5b
cargo lock
sandreim 3e25fdc
more review feedback
sandreim 1458a73
change back to debug
sandreim bc46646
Merge branch 'sandreim/subsystem-bench' of github.com:paritytech/polk…
sandreim de7b5c0
Add migration v11 HostConfiguration, missed during rebasing
alexggh 5cf522a
Fix network_protocol_versioning_subsystem_msg
alexggh a720892
Merge remote-tracking branch 'origin/alexaggh/feature/approve_multipl…
alexggh b2eb712
Merge remote-tracking branch 'origin/master' into subsystem-bench-wit…
alexggh 673940c
Latest master
alexggh dc5a72c
use prometheus network stats
sandreim 3cf90e2
Fix GetApprovalSignatures
alexggh 60516d0
Add hacks for getapproval signatures
alexggh 83a7325
Fix GetApprovalSignatures
alexggh 6af2910
Merge remote-tracking branch 'origin/master' into feature/approve_mul…
alexggh 4d33c9d
Fix formatting issues
alexggh 30950d2
Fixup cargo fmt
alexggh 593b82a
Fix some logging messed during rebase
alexggh f8f03e5
Add prdoc
alexggh 8099c16
Fixup 0002-upgrade-node failures
alexggh ba50d4a
Merge branch 'feature/approve_multiple_candidates_polkadot_sdk_v4' in…
alexggh 0bc7e5f
WIP
sandreim dc4b2f9
Fix something here and there
alexggh d6b0eda
Add test message
alexggh 1ed7620
Approval coalescing serialization
alexggh c77f428
Approval-voting with serialization of messages
alexggh 27f6368
Same tranche
alexggh b223f6a
Latest rafector
alexggh a441c40
Merge remote-tracking branch 'origin/master' into subsystem-bench-wit…
alexggh 40ef9d5
More optimizations
alexggh 775bb58
Merge remote-tracking branch 'origin/master' into subsystem-bench-wit…
alexggh b4afb81
Refactoring
alexggh 28e19f8
Add new files
alexggh 0bfc13e
Fixup some other stuff
alexggh 8d8de39
Address some other fixups
alexggh e6d6a71
Merge remote-tracking branch 'origin/master' into subsystem-bench-wit…
alexggh 366e267
Fixup stuff
alexggh 290eef2
Clippy
alexggh ba46184
complete networking refactor
sandreim 1dfb263
refactor NetworkMessage
sandreim 6b94648
Merge remote-tracking branch 'origin/master' into subsystem-bench-wit…
alexggh f7a2948
Run in CI
alexggh 272280b
Add throughput scenarios
alexggh 794a9b8
Fix clippy unused
alexggh 34c60ba
Retrigger CI
alexggh 4c9205e
Add benchamarks
alexggh 9fbb29d
Fixup channel size
alexggh 87892fd
refactor
sandreim 6d5b1d8
Merge remote-tracking branch 'origin/master' into sandreim/availabili…
alexggh 07104c9
Merge branch 'sandreim/availability-write-bench-rebased-on-master' in…
alexggh 3d80227
Fix warnings
alexggh c47a96f
Cleanup1
alexggh 9514b47
Fix running on a versi node
alexggh 83709af
Add label to wait_until_metric_ge
alexggh 57714db
Fixup run
alexggh 21f3645
Fixup clippy
alexggh 2a146f0
Cargo fmt
alexggh 22a1bf9
Finish network refactoring and fix benchmarks
sandreim 196c426
update examples
sandreim b2b41cf
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 7d63bd9
merge fixes
sandreim 67c4c1e
clippy & fmt
sandreim 8c00d70
fix print
sandreim f839f77
Fix block time
sandreim b6807f2
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 48508ba
clippy
sandreim 28d9f77
Fix ASCII art
sandreim 951f103
Merge remote-tracking branch 'origin/sandreim/availability-write-benc…
alexggh ca6eb18
Addressing review feedback
alexggh 11e6dc1
Fixes
alexggh fad5df0
Merge remote-tracking branch 'origin/master' into subsystem-bench-app…
alexggh 7e06da2
Merge remote-tracking branch 'origin/master' into subsystem-bench-app…
alexggh 2721a42
Minor fixes
alexggh 296f7e7
Fix toml format
alexggh bab7aa1
Remove commented code
alexggh d84a335
Merge remote-tracking branch 'origin/master' into alexaggh/subsystem-…
alexggh 459a628
Remove unused property
alexggh 73fe675
Address review findings
alexggh c5cb34f
Fixup
alexggh 8fe7026
Configurable session_index in mock
alexggh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
polkadot/node/subsystem-bench/examples/approvals_no_shows.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| TestConfiguration: | ||
| # Test 1 | ||
| - objective: !ApprovalVoting | ||
| last_considered_tranche: 89 | ||
| coalesce_mean: 3.0 | ||
| coalesce_std_dev: 1.0 | ||
| stop_when_approved: true | ||
| coalesce_tranche_diff: 12 | ||
| workdir_prefix: "/tmp/" | ||
| enable_assignments_v2: true | ||
| num_no_shows_per_candidate: 10 | ||
| n_validators: 500 | ||
| n_cores: 100 | ||
| min_pov_size: 1120 | ||
| max_pov_size: 5120 | ||
| peer_bandwidth: 524288000000 | ||
| bandwidth: 524288000000 | ||
| num_blocks: 10 |
19 changes: 19 additions & 0 deletions
19
polkadot/node/subsystem-bench/examples/approvals_throughput.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| TestConfiguration: | ||
| # Test 1 | ||
| - objective: !ApprovalVoting | ||
| coalesce_mean: 3.0 | ||
| coalesce_std_dev: 1.0 | ||
| enable_assignments_v2: true | ||
| last_considered_tranche: 89 | ||
| stop_when_approved: false | ||
| coalesce_tranche_diff: 12 | ||
| workdir_prefix: "/tmp" | ||
| num_no_shows_per_candidate: 0 | ||
| n_validators: 500 | ||
| n_cores: 100 | ||
| n_included_candidates: 100 | ||
| min_pov_size: 1120 | ||
| max_pov_size: 5120 | ||
| peer_bandwidth: 524288000000 | ||
| bandwidth: 524288000000 | ||
| num_blocks: 10 |
18 changes: 18 additions & 0 deletions
18
polkadot/node/subsystem-bench/examples/approvals_throughput_best_case.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| TestConfiguration: | ||
| # Test 1 | ||
| - objective: !ApprovalVoting | ||
| coalesce_mean: 3.0 | ||
| coalesce_std_dev: 1.0 | ||
| enable_assignments_v2: true | ||
| last_considered_tranche: 89 | ||
| stop_when_approved: true | ||
| coalesce_tranche_diff: 12 | ||
| workdir_prefix: "/tmp/" | ||
| num_no_shows_per_candidate: 0 | ||
| n_validators: 500 | ||
| n_cores: 100 | ||
| min_pov_size: 1120 | ||
| max_pov_size: 5120 | ||
| peer_bandwidth: 524288000000 | ||
| bandwidth: 524288000000 | ||
| num_blocks: 10 |
18 changes: 18 additions & 0 deletions
18
polkadot/node/subsystem-bench/examples/approvals_throughput_no_optimisations_enabled.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| TestConfiguration: | ||
| # Test 1 | ||
| - objective: !ApprovalVoting | ||
| coalesce_mean: 1.0 | ||
| coalesce_std_dev: 0.0 | ||
| enable_assignments_v2: false | ||
| last_considered_tranche: 89 | ||
| stop_when_approved: false | ||
| coalesce_tranche_diff: 12 | ||
| workdir_prefix: "/tmp/" | ||
| num_no_shows_per_candidate: 0 | ||
| n_validators: 500 | ||
| n_cores: 100 | ||
| min_pov_size: 1120 | ||
| max_pov_size: 5120 | ||
| peer_bandwidth: 524288000000 | ||
| bandwidth: 524288000000 | ||
| num_blocks: 10 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.