Skip to content

Tracking: Work well without wait-time #20607

@mediocregopher

Description

@mediocregopher

Describe the feature

reth does not currently function well without some kind of wait time between nP+FCU calls. During our own benching we generally use something like 400ms, but ideally we eliminate this requirement.

When run without any wait time between blocks, we see blocks pile up in memory faster than they get flushed to disk. This is almost certainly a bug which needs to be fixed, as without doing so reth becomes unusable.

There are other improvements we can make in this area as well:

  • There are some low-hanging persistence optimizations which can be made.
  • We can investigate increasing number of blocks which are cached in memory.
  • Future-proof by benching with larger blocks

Additional context

No response

Sub-issues

Metadata

Metadata

Labels

C-enhancementNew feature or requestC-perfA change motivated by improving speed, memory usage or disk footprintC-tracking-issueAn issue that collects information about a broad development initiative

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions