Skip to main content

System requirements

Determine public network system requirements by checking CPU and disk space requirements using Prometheus. Grafana provides a sample dashboard for Besu.

tip

CPU requirements are highest when syncing to the network and typically reduce after the node is synchronized to the chain head.

Java distribution and installation

Besu requires an installation of Java 21+ to run. We currently recommend two Java distributions, OpenJDK 21 and OpenJ9, though you can experiment based on your needs.

OpenJDK is the default for many Java users and is balanced in performance and garbage collection. OpenJ9 consumes less memory and system resources, but can have worse performance on some setups.

If you have more than 32GB RAM (for Besu and your consensus client), use OpenJDK. If you have less RAM:

  • If you're on Linux (or Unix-based) and your CPU is x86-64 bit architecture (like Intel), use OpenJ9.
  • If you're on ARM-64 CPU architecture (Mac M-series, Raspberry Pi), use OpenJDK.

If you have OpenJDK installed or need a fresh installation of OpenJ9, you can pick up the OpenJ9 docker image, or install the OpenJ9 JDK using the following steps:

  1. Get the binaries corresponding to your OS architecture. For example:

    wget https://github.com/ibmruntimes/semeru21-certified-binaries/releases/download/jdk-21.0.3%2B9_openj9-0.44.0/ibm-semeru-certified-jdk_x64_linux_21.0.3.0.tar.gz
  2. Uncompress the binaries:

    tar -xvf YOUR_J9_IMAGE.tar.gz
  3. Move the binaries to bin directory:

    sudo cp -r YOUR_IMAGE/ /usr/bin/
  4. Specify OpenJ9 for Java on your machine:

    sudo update-alternatives --install "/usr/bin/java" "java" "/usr/bin/YOUR_IMAGE" 1
    sudo update-alternatives --config java (and choose OpenJ9)

    Change your JAVA_HOME to OpenJ9 (if using the JDK implementation), where jdk-install-dir is the installation location you specified:

    export JAVA_HOME=jdk-install-dir`

Java Virtual Machine size

For Mainnet and testnets, the minimum Java Virtual Machine (JVM) memory requirement is 8 GB.

JVM memory requirements are highest when syncing, but will reduce after the node is synchronized to the chain head. Monitor your system to determine your actual JVM memory needs.

Disk space

Fast synchronization with pruning enabled requires approximately 750 GB of disk space. Full synchronization requires approximately 3 TB.

Disk type

Use local SSD storage for high throughput nodes (validators and RPC nodes). Read-only nodes can use a lower performance setup.

You can use local SSDs through SCSI interfaces. For higher performance in production settings, we recommend upgrading to NVMe interfaces.

AWS requirements

We are running 22.4.2 Mainnet nodes using m6gd.2xlarge boxes.

We synchronized the 22.4.2 Mainnet nodes using m6gd.2xlarge boxes.

Using a larger box while synchronizing speeds up the sync process by giving it more resources. When the sync is completed, the box size can be reduced.

caution

If you are using a more recent release than 22.4.2, resource requirements may have increased.