Skip to content

Conversation

rach-id
Copy link
Member

@rach-id rach-id commented Oct 16, 2025

Overview

A simple tool to run the computation heavy steps we have that require validators to have fancy hardware, then decide whether their hardware is good or not.

The code is vibe coded, doesn't need to be maintainable. If reviewers disagree, I can polish it.

@rach-id rach-id self-assigned this Oct 16, 2025
@rach-id rach-id added tools item is related to tooling 128MB/6s labels Oct 16, 2025
Copy link

github-actions bot commented Oct 16, 2025

PR Preview Action v1.6.2

🚀 View preview at
https://celestiaorg.github.io/celestia-app/pr-preview/pr-6038/

Built to branch gh-pages at 2025-10-17 09:06 UTC.
Preview will be ready when the GitHub Pages deployment is complete.


// Reference times in milliseconds (to be filled with actual values)
const (
referencePrepareProposalMs = 0.0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll fill these later

@rach-id
Copy link
Member Author

rach-id commented Oct 16, 2025

I'll go mod tidy it afterwards

@rach-id
Copy link
Member Author

rach-id commented Oct 17, 2025

The output of the tool:

=== CPU Specifications ===
Number of Cores:   16
Number of Threads: 32
Clock Speed:       4303.424 MHz
GFNI Support:      true
SHA-NI Support:    true
==========================

Running benchmarks with 20 iterations...
Iteration 1/20...
Iteration 2/20...
Iteration 3/20...
Iteration 4/20...
Iteration 5/20...
Iteration 6/20...
Iteration 7/20...
Iteration 8/20...
Iteration 9/20...
Iteration 10/20...
Iteration 11/20...
Iteration 12/20...
Iteration 13/20...
Iteration 14/20...
Iteration 15/20...
Iteration 16/20...
Iteration 17/20...
Iteration 18/20...
Iteration 19/20...
Iteration 20/20...

Benchmarking complete!

=== Performance Test Results (128MB/6s Compatibility) ===

Prepare Proposal:
  Your time: 268 ms
  Reference time: 700 ms
  Status: FASTER than reference (2.6x faster)

Process Proposal:
  Your time: 363 ms
  Reference time: 700 ms
  Status: FASTER than reference (1.9x faster)

Finalize Block:
  Your time: 103 ms
  Reference time: 400 ms
  Status: FASTER than reference (3.9x faster)

Propose Block:
  Your time: 252 ms
  Reference time: 400 ms
  Status: FASTER than reference (1.6x faster)

Encode Block:
  Your time: 197 ms
  Reference time: 300 ms
  Status: FASTER than reference (1.5x faster)

Decode Block:
  Your time: 381 ms
  Reference time: 400 ms
  Status: FASTER than reference (1.0x faster)

=== Final Assessment ===

CONGRATULATIONS! Your system is ready for the 128MB/6s upgrade.
Your hardware meets the performance requirements for handling 128MB blocks every 6 seconds.
================================

Done

@rach-id rach-id marked this pull request as ready for review October 17, 2025 05:42
Copy link
Member

@evan-forbes evan-forbes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lfg

=== CPU Specifications ===
Number of Cores:   8
Number of Threads: 16
Clock Speed:       4466.147 MHz
GFNI Support:      true
SHA-NI Support:    true
==========================

Benchmarking complete!

=== Performance Test Results (128MB/6s Compatibility) ===

Prepare Proposal:
  Your time: 295 ms
  Reference time: 700 ms
  Status: FASTER than reference (2.4x faster)

Process Proposal:
  Your time: 397 ms
  Reference time: 700 ms
  Status: FASTER than reference (1.8x faster)

Finalize Block:
  Your time: 111 ms
  Reference time: 400 ms
  Status: FASTER than reference (3.6x faster)

Propose Block:
  Your time: 229 ms
  Reference time: 400 ms
  Status: FASTER than reference (1.7x faster)

Encode Block:
  Your time: 125 ms
  Reference time: 400 ms
  Status: FASTER than reference (3.2x faster)

Decode Block:
  Your time: 345 ms
  Reference time: 500 ms
  Status: FASTER than reference (1.4x faster)

=== Final Assessment ===

CONGRATULATIONS! Your system is ready for the 128MB/6s upgrade.
Your hardware meets the performance requirements for handling 128MB blocks every 6 seconds.
================================

Done

@rach-id rach-id added this pull request to the merge queue Oct 17, 2025
Merged via the queue into main with commit 6aae071 Oct 17, 2025
45 checks passed
@rach-id rach-id deleted the rachid/tools/cpu-check branch October 17, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

128MB/6s tools item is related to tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants