Hardware
Running a performant Base node requires adequate hardware. We recommend the following minimum specifications:- A modern multi-core CPU with good single-core performance.
- At least 32 GB RAM (64 GB recommended).
- A locally attached NVMe SSD drive. RAID 0 configurations can improve performance.
- Sufficient storage capacity calculated as:
If utilizing Amazon Elastic Block Store (EBS), io2 Block Express volumes are recommended to ensure sufficient disk read speeds, preventing latency issues during initial sync. However, locally attached NVMe SSDs are strongly recommended over networked storage for optimal performance.
Production Hardware Examples
The following are the hardware specifications used for Base production nodes:-
Reth Archive Node (recommended):
- Instance: AWS
i7i.12xlargeor larger - Storage: RAID 0 of all local NVMe drives (
/dev/nvme*) - Filesystem: ext4
- Instance: AWS
-
Geth Full Node:
- Instance: AWS
i7i.12xlargeor larger - Storage: RAID 0 of all local NVMe drives (
/dev/nvme*) - Filesystem: ext4
- Instance: AWS
Initial Sync
Using a recent snapshot can significantly reduce the time required for the initial node synchronization process.Client Software
The Base Node repository contains the current stable configurations and instructions for running different client implementations. Reth is currently the most performant client for running Base nodes. Future optimizations will primarily focus on Reth. You can read more about the migration to Reth here.Geth Performance Tuning (deprecated)
Geth is no longer supported and Reth is the recommended client and shown to be more performant. We recommend migrating Geth nodes to Reth, especially if you are experiencing performance issues.
Geth Cache Settings
For Geth nodes, tuning cache allocation via environment variables can improve performance. These settings are used in the standard Docker configuration:Geth LevelDB Tuning
For teams running Geth with LevelDB, the following patch allows setting LevelDB initialization parameters via environment variables: https://github.com/0x00101010/goleveldb/commit/55ef3429673fb70d389d052a15a4423e13d8b43c This patch can be applied using areplace directive in go.mod when building op-geth. Here’s how to modify your Dockerfile: