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

Availability Distribution: Consider occupied cores from last k blocks within same session #2513

Closed
rphmeier opened this issue Feb 24, 2021 · 3 comments · Fixed by #4596
Closed
Assignees
Labels
I10-optimisation An enhancement to provide better overall performance in terms of time-to-completion for a task. T5-parachains_protocol This PR/Issue is related to Parachains features and protocol changes.
Milestone

Comments

@rphmeier
Copy link
Contributor

rphmeier commented Feb 24, 2021

A Before and after of availability-recovery metrics on Kusama would be really interesting (number of NoSuchChunk):
https://grafana.parity-mgmt.parity.io/goto/sjkh8Upnz?orgId=1 .. currently I see 3-5 NoSuchChunk per second.

Discussion here: #2423 (comment)

This was the previous behavior before using request/response and should be reinstated. A permalink to the previous implementation can be found here:

async fn query_live_candidates<Context>(
.

It is not crucial to the functioning of the network but is useful for maximizing availability and increasing throughput by increasing likelihood of peers having chunks later on.

It is important to only consider blocks within the same session, and this should recover gracefully from runtime API errors as historical state may be (but is unlikely to be) pruned.

@rphmeier rphmeier added the I10-optimisation An enhancement to provide better overall performance in terms of time-to-completion for a task. label Feb 24, 2021
@rphmeier rphmeier added this to the Van Ness milestone Feb 24, 2021
@eskimor eskimor self-assigned this Feb 24, 2021
@eskimor eskimor removed their assignment Nov 29, 2021
@slumber slumber self-assigned this Dec 22, 2021
@eskimor
Copy link
Member

eskimor commented Dec 23, 2021

Up to 7% of requests fail due to "NoSuchChunk" right now on Kusama (normally in the 2% range).

@eskimor
Copy link
Member

eskimor commented Mar 10, 2022

no-such-chunk-no-popup

Situation with fixes, still in the same range of failures.

@slumber
Copy link
Contributor

slumber commented Mar 10, 2022

no-such-chunk-no-popup

Situation with fixes, still in the same range of failures.

It's very likely that the source of this issue is #4792 and it's fixed in #4850 (not merged yet)

@ordian ordian moved this to Implemented in Parachains-core Aug 16, 2022
@ordian ordian added the T5-parachains_protocol This PR/Issue is related to Parachains features and protocol changes. label Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
I10-optimisation An enhancement to provide better overall performance in terms of time-to-completion for a task. T5-parachains_protocol This PR/Issue is related to Parachains features and protocol changes.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants