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

Create metric for block creation/create_inherent time #4327

Closed
eskimor opened this issue Nov 19, 2021 · 0 comments · Fixed by paritytech/substrate#10316
Closed

Create metric for block creation/create_inherent time #4327

eskimor opened this issue Nov 19, 2021 · 0 comments · Fixed by paritytech/substrate#10316
Assignees

Comments

@eskimor
Copy link
Member

eskimor commented Nov 19, 2021

It would be good to have a metric how long the creation of a block actually takes, in order to debug long block times seen on Rococo in the event of lots of disputes. Also seeing time differences in block creation versus block validation/execution are likely to help in pin pointing issues.

In the end parachain inherents get passed to babe where the actual block production is going to happen.

@emostov @Lldenaurois @drahnr

For example on block production the list of recent disputes is accumulating once dispute spam is starting over time until a full session window has passed. So we would expect the block creation time to increase over the course of that session window, while the block validation time should mostly be a function of the current dispute rate and should not increase over time (if dispute rate is constant).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants