kevaundray
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
1
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# On Hardware Requirements For Validators :::info **Summary** - We recommend a total spend of approximately $1000 - We recommend the NUC 14 Pro and the Minisforum UM790 Pro, however it can be any prebuilt setup that has: - A modern CPU with: - At least 8 cores and 16 threads - Single thread rating of 3500 or more - Multithreaded rating of 25000 or more - 4TB NVMe M.2 storage - 32GB RAM (Minimum) 64GB RAM (Recommended) - We expect to use these specifications as a reference point when discussing changes to the protocol. A less powerful setup may be sufficient, however it is the user's responsibility to check this at every soft/hard fork. We have plans to create a benchmarking suite that will make this an easy process. ::: ## Introduction This document aims to establish a standardized definition of "commodity hardware", or at the least, recommend hardware specifications that we believe to be suitable for validating on Ethereum mainnet. A clear hardware specification is crucial for: - Ensuring meaningful benchmark comparisons across different implementations - Enabling informed decision-making about protocol upgrades and their hardware implications - Providing clear guidance for node operators with respects to the future Without a shared understanding of target hardware specifications: - Benchmark results lose significance due to inconsistent testing environments - Decision-making becomes challenging for implementation choices, as performance characteristics are heavily hardware dependent - Network participants lack clear guidance for hardware investments ## Organization - Commodity hardware implies hardware that is readily available to buy as a consumer. We first look at what popular CPUs have been bought in the past. - The second section contains our recommended NUC build and a rough approximation of the cost, if you were to build it yourself - The third section outlines the different roles and whether we think the recommended hardware is suitable for that role. - The fourth section outlines miscellaneous changes that may or may not affect the recommended hardware, such as raising the gas limit. ## Market Analysis ### Current Consumer CPU Trends In order to estimate what popular CPUs people are buying, we did a brief search for popular CPU choices and listed their characteristics. These are not necessarily the most updated models. 1. High performance Consumer Market - AMD Ryzen 7 7800X3D (8 cores/16 threads) - [CPU benchmarks](https://www.cpubenchmark.net/share30.html) - Target market: Gaming and high-performance desktop computing - Represents upper tier of commodity hardware - [CPU Rating](https://www.cpubenchmark.net/cpu.php?cpu=AMD+Ryzen+7+7800X3D&id=5299) - Single Thread: 3752, Multithread: 34275 2. Mid-Range Consumer Market - [Amazon best sellers UK](https://www.amazon.co.uk/Best-Sellers-CPUs/zgbs/computers/430515031) shows the AMD Ryzen 5 5600X (6 cores/12 threads) - Popular choice for general computing needs - [CPU Rating](https://www.cpubenchmark.net/cpu.php?cpu=AMD+Ryzen+5+5600X&id=3859) - Single Thread: 3361, Multithread: 21888 3. Existing Staking Community - Intel NUC 11 (4 cores/8 threads) - [Recommended by EthStaker community](https://ethstaker.cc/staking-hardware) - Also matches the recommendations from [PandaOps](https://notes.ethereum.org/@ethpandaops/minimum-node-definition) - Represents minimum viable hardware specification (what is currently being ran in production) - [CPU Rating](https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-1165G7+%40+2.80GHz&id=3814) - Single Thread: 2800, Multithread: 10164 ## Recommended Hardware Overall, we recommend a setup with: - 8 cores, 16 threads - A single threaded CPU rating of 3500 or more - A multi threaded CPU rating of 25000 or more - 4TB of NVMe M.2 storage - 64GB of memory **CPU rationale** We substantiate the choice of 8 cores, with the [steam hardware survey reference](https://store.steampowered.com/hwsurvey/Steam-Hardware-Software-Survey-Welcome-to-Steam). The majority of CPUs here have either six or eight cores. One can view the steam dataset as being biased towards the low/median end of the gaming market. The CPU rating scores were decided by looking at the high end CPUs on [CPU benchmarks](https://www.cpubenchmark.net/cpu.php?cpu=AMD+Ryzen+9+5900XT&id=6187) that had sixteen or less cores alongside the current consumer trends analysis done above and finding a rough average that we thought were reasonable. > We will not consider AVX512 when conducting benchmarks, however we will consider AVX2(Intel/AMD) and NEON(ARM) since these are widespread. **Storage rationale** The 4TB of storage is due to current history and state growth. **Memory rationale** The 64GB of memory was chosen for two reasons: - We set a budget of $1000 and customized a barebones NUC to fit within that budget. - Due to benchmarks that we have taken of possible proving systems where they have shown [significant memory usage](https://hackmd.io/@han/bench-hash-in-snark). These are still being prototyped, so there is a future where memory usage does not need to be that high. However, given that extra RAM is cheap comparatively, we recommend 64GB, but 32GB should be sufficient for the foreseeable future. ### Prebuilt #### NUC We recommend the ASUS NUC 14 Pro from the NUC series: - 16 cores (6 performance + 8 efficiency cores + 2 Low power efficiency cores)* - 22 threads - Note: The price difference between the Intel NUC 11 *(currently recommended by eth stakers)* and the ASUS NUC 14 Pro is [less than $100](https://www.newegg.com/asus-rnuc14rvku70000ui-nuc-14-pro-intel-core-ultra-7-155h/p/N82E16856110266) - [When fully customized](https://www.newegg.com/asus-nuc-configurator/ASUS-NUC-14-Pro/56-110-266?cm_sp=PDP_LNK_Asus_NUC_configurator_Customize) with 64GB of memory and 4TB of storage, the total cost is $967. - The power usage for the NUC 14 pro under load has been [reported to be 88W](https://www.servethehome.com/asus-nuc-14-pro-review-intel-core/4/#:~:text=ASUS%20NUC%2014%20Pro%20Power%20Consumption%20and%20Noise&text=In%20terms%20of%20power%20consumption,jumped%20up%20to%20around%2088W.) - [CPU Rating](https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+Ultra+7+155H&id=5677) - Single Thread: 3520, Multithread: 25158 *This seems to be the closest NUC model to match the desire to have 8 cores. #### Minisforum UM790 Pro We recommend the Minisforum UM790 Pro with modifications: - [Minisforum UM790 Pro](https://www.newegg.com/p/2SW-002G-000J7?Item=9SIBJ6VK9X4382&cm_sp=product-_-from-price-options) - 8 cores, 16 threads - The baseline model costs $400 - This is the barebones model. We recommend adding 64GB RAM and 4TB storage. - The total cost with the RAM and storage is approximately $920. - [CPU Rating](https://www.cpubenchmark.net/cpu.php?cpu=AMD+Ryzen+9+7940HS&id=5454) - Single Thread: 3903, Multithread: 30367 ### Build Your Own Below, we list out average prices for the main components needed, if you were to build your own server. The total cost is approximately $1000. #### CPU For 8 cores and 16 threads, the average price for a CPU will be $300-400 - Reference: [CPU World Price Comparisons](https://www.cpu-world.com/Price_Compare/Server_CPU_prices_(latest).html) - For detailed price trends, check AMD Ryzen 7 Zen 2 (8c/16t) or Intel Core i7 Comet Lake (LGA1200) here: [PCPartPicker CPU trends](https://pcpartpicker.com/trends/price/cpu/#cpu.comet_lake.core-i7.lga1200) - More example CPUs: AMD Ryzen 9 7900X, Intel Core i9-12900K, AMD Ryzen 7 5800X #### Storage - 2TB SSD, average price tends towards $200 - 4TB SSD, average price is roughly $300 (recommended) - We recommend purchasing NVMe M.2 instead of SATA as NVMe has high throughput. Suggestions: Kingston KC3000, Kingston Fury Renegade, Samsung 990 Pro, Seagate Firecuda 530, Teamgroup MP44, WD Black SN850X. - See trends: [PCPartPicker storage trends](https://pcpartpicker.com/trends/price/internal-hard-drive/#storage.ssdm2nvme.2000) - Check out [Yorick's guide on buying SSDs](https://gist.github.com/yorickdowne/f3a3e79a573bf35767cd002cc977b038) - *Note: Storage requirements have stronger path dependency with items on the roadmap such as history expiry.* #### Memory - For 64GB RAM, average price over the last 18 months tends towards $250 - Reference: [PCPartPicker memory trends](https://pcpartpicker.com/trends/price/memory/#ram.ddr5.6000.2x16384) #### Motherboard - A reasonable estimate for a motherboard would not exceed $200 - See [MSI Mini ATX](https://www.newegg.com/msi-mag-b550-tomahawk-atx-amd-b550-am4/p/N82E16813144326) or [Super Micro](https://www.newegg.com/supermicro-mbd-x11scl-f-o-8th-generation-intel-core-i3-pentium-celeron-processor-intel-xeon-pro/p/N82E16813183671) > For more resources on building your own setup, see [eth-docker's](https://ethdocker.com/Usage/Hardware/) hardware documentation. ## Role-Specific Requirements ### Attesters Currently there is no meaningful role separation between an attester and a proposer. Hence the hardware requirements for an attester would follow the same hardware requirements as a proposer. If there was a meaningful separation, then an attester would be run with weaker hardware since they would no longer need to propose. ### Aggregators An aggregator aggregates BLS signatures. With the introduction of post quantum signatures, the job of the aggregator may become more computationally intensive. There is also currently no meaningful separation between an aggregator and a proposer. We believe that our recommended hardware requirements satisfies the desired hardware requirements for an aggregator if they were to be separated, so no meaningful changes would need to be done either way. ### Proposers Proposers are assumed to not be powerful enough to compete with centralized block builders, neither is this a goal. Key points about proposer requirements: - One data point from EthPandaOps(Pari) shows that a 6 core, 12 threads node is using on average 20% of its CPU - This average usage doesn't account for peak latency in cryptographic operations - More cores would increase peak latency performance and reduce the average - With more advanced cryptography being added to the protocol and with the desire to need stakers to update their hardware as least as possible, it makes sense to double the number of cores required. - Current hardware provides headroom for anticipated changes (like peerDAS) ### Centralized Block Builder While out of scope for this document, we note some responsibilities: - For stateless, these are the entities that would build the stateless witness for the block - If a proposer decides to build the stateless witness themselves, they can do it using the recommended hardware requirements according to our benchmarks. - For SNARKifying L1, entities with similar power to a block builder will be creating these zk proofs ### Stateless Client Once we have full statelessness, we envision that validators themselves can be stateless. This: - Reduces storage requirements for nodes - Increases CPU requirements for witness verification The stateless verification procedure fits within our recommended hardware requirements, verification is cheap. We also note that our recommended hardware requirements work both for verkle tries and binary trees with stark proofs. The latter requires more benchmarks using traditional hashes. ## Miscellaneous changes ### Raising the gas limit Raising the gas limit increases the rate of history growth, which effects the storage requirements. The [analysis from paradigm](https://www.paradigm.xyz/2024/05/how-to-raise-the-gas-limit-2) suggests that without any changes, we have 2 to 3 years before we exceed 2TB. This does not include the storage requirements from the consensus layer(CL) however, Pari from DevOps notes that with the CL we have less than six months before we reach the 2TB limit. Given that the recommended storage space is 4TB, and we plan to implement EIP-4444 in at most two years. This storage requirement should not pose any issues, even in the case that we double the gas limit. If a user plans to stay at 2TB, then this may be sufficient, given pre-merge files are pruned in less than six months which frees up ~500GB and 4444 is implemented within a year. ## Raising the blob limit As noted in the [paradigm post](https://www.paradigm.xyz/2024/05/how-to-raise-the-gas-limit-2), the additions of blobs, have reduced the history growth caused by the rollup users, since they have switched from calldata to blob data. It's unclear whether rollups are switching between calldata and blob data currently, which means that it is unclear as to whether raising the blob limit will affect history growth any further. ## Increasing validator count This section will be handwaved the most since it has a lot of path dependencies with Orbit, 3SF and MaxEB. We know that for SSF, the validator set needs to be reduced, so at the very least, the bump in hardware specifications should be sufficient enough for any aggregation that happens in SSF. ## Acknowledgements With contributions from Parithosh Jayanthi, Kevaundray Wedderburn, Josh Rudolf, Dankrad Feist, Justin Traglia, Ignacio Hagopian and George Kadianakis. We would also like to thank the external reviewers for their feedback: Nixorokish, Yorick Downe, Rémy Roy, Ben Adams, Vitalik Buterin, Lightclient, Andrew Ashikhmin, Marek Moraczyński, Potuz, Joe Clapis, Haurog, Francis(Base), Jimmy(Lighthouse) and Nico Flaig. Feedback does not imply endorsement of this document.

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully