Skip to content

Conversation

@iovoid
Copy link
Contributor

@iovoid iovoid commented Nov 6, 2025

Motivation

We see decompression taking a significant part of database reads.

Description

Here we disable compression for the table where FKVs are stored, and use a hash-based index optimized for point operations.

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

Lines of code report

Total lines added: 9
Total lines removed: 0
Total lines changed: 9

Detailed view
+-------------------------------------------+-------+------+
| File                                      | Lines | Diff |
+-------------------------------------------+-------+------+
| ethrex/crates/storage/store_db/rocksdb.rs | 1605  | +9   |
+-------------------------------------------+-------+------+

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

Benchmark Block Execution Results Comparison Against Main

Command Mean [s] Min [s] Max [s] Relative
base 61.826 ± 0.186 61.614 62.161 1.00
head 62.170 ± 0.313 61.871 62.847 1.01 ± 0.01

@iovoid iovoid force-pushed the fkv_no_compression branch from b20370a to 278dfdd Compare November 7, 2025 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L1 Ethereum client performance

Projects

Status: No status
Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants