Skip to content

perf: drain queued prewarm commands#5575

Open
tempoxyz-bot wants to merge 2 commits into
mainfrom
auto-opt/20260610-drain-prewarm-commands
Open

perf: drain queued prewarm commands#5575
tempoxyz-bot wants to merge 2 commits into
mainfrom
auto-opt/20260610-drain-prewarm-commands

Conversation

@tempoxyz-bot

Copy link
Copy Markdown
Contributor

Drain already queued prewarming coordinator commands before blocking again. This reduces command-channel wakeups during payload fill while preserving source ordering, invalidation forwarding, and stop handling.

Drain already queued prewarming coordinator commands before blocking again. This reduces command-channel wakeups during payload fill while preserving source ordering, invalidation forwarding, and stop handling.
@tempoxyz-bot tempoxyz-bot self-assigned this Jun 10, 2026
@tempoxyz-bot

Copy link
Copy Markdown
Contributor Author

derek bench mode=e2e otlp=false

@decofe

decofe commented Jun 10, 2026

Copy link
Copy Markdown
Member

cc @tempoxyz-bot

✅ Benchmark complete: Improvement View job

✅ Bench Comparison: Improvement

Refs: main vs auto-opt/20260610-drain-prewarm-commands
Criteria: 95% run-bootstrap CI must clear floor; cells show delta (+/-CI/floor).

Configuration

  • Derek command: derek bench mode=e2e preset=tip20 duration=90 bloat=100 tps=50000 accounts=1000 max-concurrent-requests=500 baseline=main feature=auto-opt/20260610-drain-prewarm-commands baseline-hardfork="" feature-hardfork="" gas-limit=1000000000 run-pairs=3 otlp=false metrics=false no-cache=false force-bloat=false
  • Bloat: 100000 MiB
  • Preset: tip20
  • Target TPS: 50000
  • Duration: 90s
  • Run pairs: 3
  • Baseline blocks: 489
  • Feature blocks: 489

Tempo Metrics

Metric Baseline Feature Delta
TPS Mean 22173 22067 -0.48% ⚪ (+/-0.33/floor 0.55)
Gas Throughput [Mgas/s] 981.0 976.2 -0.49% ⚪ (+/-0.33/floor 0.50)
Block Time Mean [ms] 549.7 551.3 +0.29% ⚪ (+/-0.42/floor 0.40)
Block Time P50 [ms] 551.0 552.0 +0.18% ⚪ (+/-0.73/floor 0.70)
Block Time P90 [ms] 582.0 581.0 -0.17% ⚪ (+/-0.63/floor 0.70)
Block Time P99 [ms] 619.0 623.0 +0.65% ⚪ (+/-1.99/floor 1.60)
Serialized Block Size / Tx P50 [B/tx] 251.1 251.1 +0.00% ⚪ (+/-0.00/floor 0.70)
Serialized Block Size / Tx P90 [B/tx] 251.1 251.1 +0.00% ⚪ (+/-0.00/floor 0.70)
Serialized Block Size / Tx P99 [B/tx] 251.1 251.1 +0.00% ⚪ (+/-0.00/floor 0.70)

Builder

Metric Baseline Feature Delta
Gas Throughput [Mgas/s] 2335.2 2334.2 -0.04% ⚪ (+/-0.46/floor 0.70)
P50 [ms] 228.7 229.9 +0.52% ⚪ (+/-0.42/floor 0.35)
P90 [ms] 246.5 243.4 -1.26% ✅ (+/-0.49/floor 0.70)
P99 [ms] 279.4 279.9 +0.18% ⚪ (+/-5.40/floor 0.95)
Builder details
Metric Baseline Feature Delta
Finish P50 [ms] 22.7 23.3 +2.64%
Finish P90 [ms] 32.7 32.3 -1.22%
Finish P99 [ms] 47.1 42.0 -10.83%
Pool Fetch P50 [ms] 8.9 10.6 +19.10%
Pool Fetch P90 [ms] 23.7 24.4 +2.95%
Pool Fetch P99 [ms] 30.5 31.4 +2.95%
Included Tx Exec P50 [ms] - -
Included Tx Exec P90 [ms] - -
Included Tx Exec P99 [ms] - -
Invalid Tx Exec P50 [ms] - -
Invalid Tx Exec P90 [ms] - -
Invalid Tx Exec P99 [ms] - -
Invalid Tx Attempts P50 0.0 0.0 0.00%
Invalid Tx Attempts P90 0.0 0.0 0.00%
Invalid Tx Attempts P99 0.0 0.0 0.00%
Invalid Tx Skips 0 73 n/a
Nonce Too Low Skips 0 0 0.00%
Serialized Block Size P50 [KiB] 2986.2 2998.4 +0.41%
Serialized Block Size P90 [KiB] 3420.5 3404.8 -0.46%
Serialized Block Size P99 [KiB] 4011.5 4025.5 +0.35%
Fill Overhead P50 [ms] - -
Fill Overhead P90 [ms] - -
Fill Overhead P99 [ms] - -
Fill Idle P50 [ms] 0.0 0.0 0.00%
Fill Idle P90 [ms] 18.0 22.0 +22.22%
Fill Idle P99 [ms] 115.0 102.0 -11.30%

Validator

Metric Baseline Feature Delta
Gas Throughput [Mgas/s] 2297.3 2304.3 +0.31% ⚪ (+/-0.64/floor 0.65)
P50 [ms] 234.9 234.7 -0.09% ⚪ (+/-1.23/floor 1.55)
P90 [ms] 257.9 258.2 +0.12% ⚪ (+/-0.32/floor 1.55)
P99 [ms] 288.5 280.0 -2.95% ⚪ (+/-3.42/floor 2.05)

Observability

@tempoxyz-bot tempoxyz-bot marked this pull request as ready for review June 10, 2026 07:58
@tempoxyz-bot

Copy link
Copy Markdown
Contributor Author

derek bench samply run-pairs=1 duration=300 no-slack

@decofe

decofe commented Jun 10, 2026

Copy link
Copy Markdown
Member

cc @tempoxyz-bot

⚪ Benchmark complete: No Difference View job

⚪ Bench Comparison: No Difference

Refs: main vs auto-opt/20260610-drain-prewarm-commands
Criteria: 95% run-bootstrap CI must clear floor; cells show delta (+/-CI/floor).

Configuration

  • Derek command: derek bench mode=e2e preset=tip20 duration=300 bloat=100 tps=50000 accounts=1000 max-concurrent-requests=500 baseline=main feature=auto-opt/20260610-drain-prewarm-commands baseline-hardfork="" feature-hardfork="" gas-limit=1000000000 run-pairs=1 otlp=true metrics=false no-cache=false force-bloat=false samply
  • Bloat: 100000 MiB
  • Preset: tip20
  • Target TPS: 50000
  • Duration: 300s
  • Run pairs: 1
  • Baseline blocks: 547
  • Feature blocks: 544

Tempo Metrics

Metric Baseline Feature Delta
TPS Mean 20276 20313 +0.18% ⚪
Gas Throughput [Mgas/s] 897.0 898.7 +0.19% ⚪
Block Time Mean [ms] 546.7 549.8 +0.57% ⚪
Block Time P50 [ms] 546.0 549.0 +0.55% ⚪
Block Time P90 [ms] 588.0 591.0 +0.51% ⚪
Block Time P99 [ms] 622.0 630.0 +1.29% ⚪
Serialized Block Size / Tx P50 [B/tx] 251.1 251.1 +0.00% ⚪
Serialized Block Size / Tx P90 [B/tx] 251.1 251.1 +0.00% ⚪
Serialized Block Size / Tx P99 [B/tx] 251.1 251.1 +0.00% ⚪

Builder

Metric Baseline Feature Delta
Gas Throughput [Mgas/s] 2146.3 2173.7 +1.28% ⚪
P50 [ms] 227.4 225.9 -0.66% ⚪
P90 [ms] 244.4 242.9 -0.61% ⚪
P99 [ms] 263.6 266.3 +1.02% ⚪
Builder details
Metric Baseline Feature Delta
Finish P50 [ms] 32.4 33.1 +2.16%
Finish P90 [ms] 47.2 47.1 -0.21%
Finish P99 [ms] 60.8 61.1 +0.49%
Pool Fetch P50 [ms] 9.0 9.4 +4.44%
Pool Fetch P90 [ms] 21.8 23.4 +7.34%
Pool Fetch P99 [ms] 28.4 29.1 +2.46%
Included Tx Exec P50 [ms] - -
Included Tx Exec P90 [ms] - -
Included Tx Exec P99 [ms] - -
Invalid Tx Exec P50 [ms] - -
Invalid Tx Exec P90 [ms] - -
Invalid Tx Exec P99 [ms] - -
Invalid Tx Attempts P50 0.0 0.0 0.00%
Invalid Tx Attempts P90 0.0 0.0 0.00%
Invalid Tx Attempts P99 0.0 0.0 0.00%
Invalid Tx Skips 0 0 0.00%
Nonce Too Low Skips 0 0 0.00%
Serialized Block Size P50 [KiB] 2719.3 2763.1 +1.61%
Serialized Block Size P90 [KiB] 3095.3 3130.1 +1.12%
Serialized Block Size P99 [KiB] 3669.3 3731.3 +1.69%
Fill Overhead P50 [ms] - -
Fill Overhead P90 [ms] - -
Fill Overhead P99 [ms] - -
Fill Idle P50 [ms] 0.0 0.0 0.00%
Fill Idle P90 [ms] 18.0 11.0 -38.89%
Fill Idle P99 [ms] 100.0 93.0 -7.00%

Validator

Metric Baseline Feature Delta
Gas Throughput [Mgas/s] 2112.0 2121.7 +0.46% ⚪
P50 [ms] 233.0 232.1 -0.39% ⚪
P90 [ms] 261.6 262.7 +0.42% ⚪
P99 [ms] 285.1 281.8 -1.16% ⚪

Observability

Samply Profiles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants