-
Notifications
You must be signed in to change notification settings - Fork 699
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
adder-collator: add velocity measurement and make elastic scaling test more robust #4016
Conversation
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Passed on my machine, hope it passes in CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test passed on the first try, so looks good.
Spoke too soon? 🙈 https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5821508 |
Flaky tests have the property of doing so :P |
I'd argue that in this test what we actually want to measure depends on the hardware not being flaky/potato, which it is not in CI :P |
damn, but I wonder how much we overcommit on these CI instances, |
@pepoviola do we have any way of reducing overcommit on the cluster instances for some tests ? |
Looking at the test resources we have for relay chain:
Does this work for collators ? And do we actually reserve these resources vs other work ? |
Yes, this will work for collators too. As reference we use vms with 8 vcpus/16G of ram. So, you can increase the request to place 2 collators per vm (or even one but let me know to notice in the budget). Ping me if I can help you with something else. Thanks!! |
I had the same idea. Ser @sandreim, can we not just run zombienet with the local provider on the benchmarking machine? :D |
…t more robust (#4016) Improves `adder-collator` to also compute the parachain velocity. The velocity is defined as number of parachain blocks progressing per relay chain block. In this test we're asserting that the elastic parachain always progresses by 3 blocks per RCB, while the non-elastic parachain progresses normally - 1 block per RCB. --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: ordian <write@reusable.software>
We can add the Thx! |
We could do that, but as @pepoviola is saying we would have trouble getting the logs when a test fails. I have hopes in a new label for pods or just better k8s scheduling of pods such that the claimed resources are always guaranteed by it. Javier is looking into this right now. |
…t more robust (paritytech#4016) Improves `adder-collator` to also compute the parachain velocity. The velocity is defined as number of parachain blocks progressing per relay chain block. In this test we're asserting that the elastic parachain always progresses by 3 blocks per RCB, while the non-elastic parachain progresses normally - 1 block per RCB. --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: ordian <write@reusable.software>
Improves
adder-collator
to also compute the parachain velocity. The velocity is defined as number of parachain blocks progressing per relay chain block.In this test we're asserting that the elastic parachain always progresses by 3 blocks per RCB, while the non-elastic parachain progresses normally - 1 block per RCB.