Ethereum Mainnet Full Node
Client Resource Usage
Consensus Clients (Lighthouse)
Lighthouse
4.5.0
Jan 2024
~130 GiB
~5 GiB
Comment:
Lighthouse, Lodestar and Prysm can be resynced in minutes to bring space usage back down, with
./ethd resync-consensusLighthouse is working on tree states to continuously prune
Execution clients
For reference, here are disk, RAM and CPU requirements, as well as mainnet initial synchronization times, for different Ethereum execution clients.
Erigon
2.56.1
Jan 2024
~1.7 TiB
~7-8 GiB / week
See comment
Comment:
Erigon will have the OS use all available RAM as a DB cache during post-sync operation, but this RAM is free to be used by other programs as needed. During sync, it may run out of memory on machines with less than 32 GiB.
Erigon does not compress its DB, leaving that to the filesystem
Eth Docker QuickStart
1️⃣ Create a New User (if needed)
adduser ethuser
usermod -aG sudo ethuser
usermod -aG docker ethuserThen, switch to the new user:
su - ethuserInstall Required Dependencies
sudo apt update && sudo apt upgrade -y
sudo apt install -y git curl wgetInstall Docker and Docker Compose
curl -fsSL https://get.docker.com | sudo bash
sudo usermod -aG docker $USER
newgrp dockerVerify the installation:
docker --version
docker compose versiondocker ps
./ethd statusDownload and Configure Eth Docker
cd ~
git clone https://github.com/eth-educators/eth-docker.git
cd eth-dockerInstall Eth Docker
./ethd installConfigure Eth Docker
./ethd configIf you do not plan to be an Ethereum validator, you can skip entering an address.
Select clients:
Execution Layer: Erigon
Consensus Layer: Lighthouse
Enable monitoring with Grafana.
If you want to use the recommended setup, add the following line to .env:
COMPOSE_FILE=lighthouse-cl-only.yml:erigon.yml:grafana.yml:grafana-shared.yml:el-shared.yml:cl-shared.ymlStart the Ethereum Node
./ethd upThis will start all containers in Docker.
Check Node Status
docker ps
./ethd status
./ethd logs executionStop and Restart the Node
To stop:
./ethd stopTo restart after changing settings:
./ethd upLast updated