Skip to content

Investigate why reth doesn't work correctly when benched without --wait-time #20608

@mediocregopher

Description

@mediocregopher

Describe the feature

When benching using reth-bench or reth-bench-compare, we always include a --wait-time argument of 400ms or more in order to obtain good results. If we don't do this we end up seeing blocks pile up in memory, not getting flushed in time.

Image

We should investigate why this happens and implement a solution. Possible causes include:

  • Async persistence simply takes too long
  • Saving execution cache between blocks takes a significant amount of time (this has been a cause of this sort of issue in the past)
  • TrieInput pre-computation takes too long

If the problem turns out to be a bug then that bug can be fixed and this issue closed. If the problem is more fundamental then we can use the parent tracking issue to organize more work.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugAn unexpected or incorrect behaviorC-enhancementNew feature or requestC-perfA change motivated by improving speed, memory usage or disk footprint

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions