Hardware Requirements
The Oasis Network is composed of multiple classes of nodes and services such as:
- Consensus validator or non-validator node
- Sapphire ParaTime compute or client node
- Emerald ParaTime compute or client node
- Cipher ParaTime compute or client node
Hardware requirements for running the Oasis Web3 gateway can be found here.
This page describes the minimum and recommended system hardware requirements for running different types of nodes on the Oasis Network. If you are running more than one ParaTime on a single node, you will require more resources.
If you configure a system with slower resources than the recommended values, you run the risk of being underprovisioned, causing proposer node timeouts and synchronization delays. This could result in losing stake and not participating in committees.
If you run out of memory or storage, the Oasis node process will be forcefully killed. This could lead to state corruption, losing stake and not participating in committees.
CPU
-
Consensus validator or non-validator node:
- Minimum: 2.0 GHz x86-64 CPU with AES instruction set support
- Recommended: 2.0 GHz x86-64 CPU with 2 cores/vCPUs with AES instruction set and AVX2 support
-
Emerald ParaTime compute node and all ParaTime client nodes:
- Minimum: 2.0 GHz x86-64 CPU with AES instruction set support
- Recommended: 2.0 GHz x86-64 CPU with 4 cores/vCPUs with AES instruction set and AVX2 support
-
Sapphire and Cipher ParaTime compute node:
- Minimum: 2.0 GHz x86-64 CPU with AES instruction set and Intel SGX support
- Recommended: 2.0 GHz x86-64 CPU with 2 cores/vCPUs with AES instruction set, Intel SGX and AVX2 support
During regular workload your node will operate with the minimal CPU resources. However, if put under heavy load it might require more cores/vCPUs (e.g. an Emerald ParaTime client node behind a public Emerald Web3 gateway).
The AES instruction set support is required by Deoxys-II-256-128, a Misuse-Resistant Authenticated Encryption (MRAE) algorithm, which is used for encrypting ParaTime's state.
The Advanced Vector Extensions 2 (AVX2) support enables faster Ed25519 signature verification which in turn makes a node sync faster.
The Intel SGX support is required if you want to run Paratime compute nodes that use a trusted execution environment (TEE).
Memory
-
Consensus validator or non-validator node:
- Minimum: 6 GB of ECC RAM
- Recommended: 8 GB of ECC RAM
-
Each Emerald, Sapphire, Cipher compute or client node:
- Minimum: 12 GB of ECC RAM
- Recommended: 20 GB of ECC RAM
During regular workload your node will operate with less than the minimum amount of memory. However, at certain time points, it will absolutely require more memory. Examples of such more resource intensive time points are the initial state sync, BadgerDB migration when upgrading a node to a new major version of the Oasis Core, generating storage checkpoints with BadgerDB, periodic BadgerDB compactions...
Storage
-
Consensus validator or non-validator node:
- Minimum: 400 GB of SSD or NVMe fast storage
- Recommended: 700 GB of SSD or NVMe fast storage
-
Emerald ParaTime compute or client node (in addition to the consensus storage requirements):
- Minimum: 400 GB of SSD or NVMe fast storage
- Recommended: 700 GB of SSD or NVMe fast storage
-
Sapphire and Cipher ParaTime compute or client node (in addition to the consensus storage requirements):
- Minimum: 200 GB of SSD or NVMe fast storage
- Recommended: 300 GB of SSD or NVMe fast storage
Consensus and ParaTime state is stored in an embedded BadgerDB database which was designed to run on SSDs. Hence, we strongly discourage trying to run a node that stores data on classical HDDs.
The consensus layer and ParaTimes accumulate state over time. The speed at which the state grows depends on the number of transactions on the network and ParaTimes.
For example, a consensus non-validator node on the Mainnet accumulated:
- 280 GB of consensus state in ~1 year between Apr 28, 2021 and Apr 11, 2022 (since the Cobalt upgrade)
- 32 GB of consensus state in ~1 month since the Damask upgrade
For example, an Emerald client node on the Mainnet additionally accumulated:
- 260 GB of Emerald ParaTime state in ~5 months between Nov 18, 2021 and Apr 11, 2022 (since the Emerald Mainnet launch)
- 25 GB of Emerald ParaTime state in ~1 month since the Damask upgrade
Dump & restore upgrades (e.g. Damask upgrade, Cobalt upgrade) include state wipes which will free the node storage. Historical state can be accessed by running a separate archive node.
You can configure your node not to keep a complete state from the genesis onward. This will reduce the amount of storage required for the consensus and ParaTime state.
To enable pruning of the consensus state set the
consensus.prune.strategy
and
consensus.prune.num_kept
parameters appropriately in your
node's configuration.
To enable pruning of the ParaTime state set the
runtime.prune.strategy
and runtime.prune.num_kept
parameters appropriately in your node's configuration.
Network
- Consensus validator node and all ParaTime compute nodes:
- Minimum: 200 Mbps internet connection with low latency
- Recommended: 1 Gbps internet connection with low latency
During regular workload your node will receive much less network traffic. However, at certain time points when huge bursts of transactions arrive, you need to assure that it doesn't timeout.