-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
A-dbRelated to the databaseRelated to the databaseC-enhancementNew feature or requestNew feature or requestC-perfA change motivated by improving speed, memory usage or disk footprintA change motivated by improving speed, memory usage or disk footprint
Description
Describe the feature
We should experiment with retaining more blocks in memory prior to flushing them to disk.
Currently we have --engine.persistence-threshold default to 2 blocks, and --engine.memory-block-buffer-target is ignored. This means every 2 blocks we flush all blocks to disk.
Some things worth trying:
-
Increasing the persistence threshold to a higher limit, like 6 or 10.
-
Re-introducing the memory block buffer target at some intermediate value, like 2. This would mean we always have at least 2 blocks in memory. With this in place we would have to pull reverts from disk significantly less often.
Additional context
No response
Metadata
Metadata
Assignees
Labels
A-dbRelated to the databaseRelated to the databaseC-enhancementNew feature or requestNew feature or requestC-perfA change motivated by improving speed, memory usage or disk footprintA change motivated by improving speed, memory usage or disk footprint
Type
Projects
Status
Backlog