Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Availability: provisioner bitfield metrics #5484

Merged
merged 6 commits into from
May 19, 2022

Conversation

sandreim
Copy link
Contributor

@sandreim sandreim commented May 9, 2022

By reducing the bitfield signing delay by 500ms, we increase the gossip time by the same amount, trading off bits in favor of better bitfield propagation. It is better to have less bits, than less signed bitfields, because we expect chunks to be already fetched by next block such that we recover the bits. If the gossip duration shorter, chances are that bitfields might not make it repeatedly.

@github-actions github-actions bot added the A3-in_progress Pull request is in progress. No review needed at this stage. label May 9, 2022
@sandreim sandreim changed the title More provisioner metrics Availability: provisioner bitfield metrics and decrease bitfield signer delay to 1000ms May 13, 2022
@sandreim sandreim added A0-please_review Pull request needs code review. B1-releasenotes C1-low PR touches the given topic and has a low impact on builders. D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed. and removed A3-in_progress Pull request is in progress. No review needed at this stage. labels May 13, 2022
@sandreim sandreim requested review from eskimor and ordian May 13, 2022 11:22
@sandreim sandreim marked this pull request as ready for review May 13, 2022 11:22
@eskimor
Copy link
Member

eskimor commented May 13, 2022

also measurements showed that a second for fetching chunks should be plenty (Kusama).

@sandreim sandreim changed the title Availability: provisioner bitfield metrics and decrease bitfield signer delay to 1000ms Availability: provisioner bitfield metrics May 18, 2022
Copy link
Member

@ordian ordian left a comment

Choose a reason for hiding this comment

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

Approving only metric addition.

@ordian ordian added B0-silent Changes should not be mentioned in any release notes and removed D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed. B1-releasenotes labels May 19, 2022
@eskimor eskimor merged commit 3c83a28 into master May 19, 2022
@eskimor eskimor deleted the sandreim/more_provisioner_metrics branch May 19, 2022 16:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants