Test higher batch sizes in full sync(2k, 4k, 8k).
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 72/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- blockchain, performance
Research direction
Start by searching for EXECUTE_BATCH_SIZE and tracing the full-sync path around get_state_transitions() and apply_account_updates_batch(). Run full sync with 2048, 4096, and 8192 block batches, compare runtime and memory, and record which sizes are viable.
Written by the indexing model from the issue text.
Description
Current: EXECUTE_BATCH_SIZE = 1024. This means merkle + store runs every 1024 blocks.
With merkle at 22ms and store at 40ms for the non-spike case, the overhead per block is negligible. But the batch boundaries force a full get_state_transitions() + apply_account_updates_batch() cycle. Larger batches amortize this further.
Trade-off: Larger batches use more memory (VM accumulates all state diffs). At 1024 blocks, memory is manageable. 4096 or 8192 might be worth testing.
Effort: Trivial (change one constant or env var).
- Dominant language
- Rust
- Stars
- 897
- Forks
- 229
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 44
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lambdaclass/ethrex
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
lambdaclass/ethrex#7246 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
lambdaclass/ethrex#7107 ·
-
L2
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lambdaclass/ethrex#7026 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
lambdaclass/ethrex#6912 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
lambdaclass/ethrex#6404 ·
All issues in lambdaclass/ethrex
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100