Skip to content

perf: use shared channel for prewarm workers#21429

Merged
klkvr merged 1 commit intomainfrom
klkvr/prewarm-utilization
Jan 26, 2026
Merged

perf: use shared channel for prewarm workers#21429
klkvr merged 1 commit intomainfrom
klkvr/prewarm-utilization

Conversation

@klkvr
Copy link
Member

@klkvr klkvr commented Jan 26, 2026

Changes prewarming to use single mpmc channel instead of a channel per worker. This allows for better utilization towards the end vs right now prewarming will be blocked on the slowest worker pushing through their txs

## Configuration
- **Blocks**: 2000

## Commits
- **Baseline**: c7faafd (main)
- **Feature**: 47519b1 (klkvr/prewarm-utilization)

## Results

| Metric | Baseline | Feature | Change |
|--------|----------|---------|--------|
| Mean Latency | 37.83ms | 37.42ms | -1.09% ≈ |
| Std Dev | 22.61ms | 22.18ms | |
| P50 Latency | 29.73ms | 29.22ms | -1.71% ≈ |
| P90 Latency | 71.23ms | 69.9ms | -1.87% |
| P99 Latency | 117.26ms | 115.29ms | -1.68% |
| Gas/sec | 799.83 Mgas/s | 808.62 Mgas/s | 1.1% ≈ |

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Jan 26, 2026
@klkvr klkvr enabled auto-merge January 26, 2026 15:45
@klkvr klkvr added this pull request to the merge queue Jan 26, 2026
Merged via the queue into main with commit 768a687 Jan 26, 2026
48 checks passed
@klkvr klkvr deleted the klkvr/prewarm-utilization branch January 26, 2026 15:58
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants