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

Build on Occupied cores when we have enough bitfields #1573

Closed
coriolinus opened this issue Aug 12, 2020 · 1 comment
Closed

Build on Occupied cores when we have enough bitfields #1573

coriolinus opened this issue Aug 12, 2020 · 1 comment
Labels
I10-optimisation An enhancement to provide better overall performance in terms of time-to-completion for a task.

Comments

@coriolinus
Copy link
Contributor

I suggest we file the whole Occupied case for later. The exact logic that we want to employ here is going to need design of its own, because we won't want collators to wait for bitfields as a heuristic as to whether they should create a new block or not. The reason for that is that we want backing validators to have as much time to validate as possible.

AFAIK the CandidateBacking subsystem doesn't handle the non-Scheduled case anyway

Originally posted by @rphmeier in #1557

@rphmeier rphmeier added this to the Medical Center milestone Aug 12, 2020
@rphmeier rphmeier added the I10-optimisation An enhancement to provide better overall performance in terms of time-to-completion for a task. label Aug 12, 2020
@burdges
Copy link
Contributor

burdges commented Aug 13, 2020

Yes.

We should discuss the opposite direction eventually too: A backing validator or relay chain block producers might apply roughly a parachain fork choice rule by not excluding or even just selecting a block with more descendants. Are forks limited to 1-2 block length differences or something? I suppose no..

@rphmeier rphmeier modified the milestones: Medical Center, Tenleytown Dec 27, 2020
@rphmeier rphmeier changed the title Figure out what to do with the Occupied case in collation generation Build on Occupied cores when we have enough bitfields Feb 16, 2021
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.
Projects
None yet
Development

No branches or pull requests

3 participants