Skip to main content

Energy Efficiency

IOTA Energy Efficiency

An important measurement of any distributed ledger technology is the energy cost per transaction. The IOTA network is designed to be lightweight and energy-efficient. This page provides an overview of the process and results of tests conducted by the IOTA Foundation to measure the energy efficiency of the Tangle. To read the full details of the test, this IOTA Foundation blog post covers the process in depth.

The Tests

The energy benchmark tests were conducted using a Raspberry Pi 3 and 4 running the Hornet node software. Hornet was designed to be able to run on low-power devices such as these small computers.

Tests were completed on both a dedicated private Tangle set up for the tests as well as on the main Chrysalis network. For the dedicated testing network, a laptop was used to be the test coordinator and to generate spam transactions for the Pi nodes.

To measure the energy consumed, INA219 current sensors were used to measure the power consumed by the devices while processing transactions. The INA219 data was collected by a BeagleBone Black. This data was then normalized against the power consumed by the devices when idle to determine the cost of processing transactions. Each set of measurements was collected over a period of 10 minutes.

The Results

The results of the tests are shown below in table 1 and figure 2.

DeviceAverage Power
Raspberry Pi 3 (Reference)2617.35 mW
Raspberry Pi 4 (Reference)2785.91 mW
Raspberry Pi 3 (No messages)2628.58 mW
Raspberry Pi 4 (No messages)2801.58 mW
Raspberry Pi 3 (50 MPS remote PoW)2745.52 mW
Raspberry Pi 4 (50 MPS remote PoW)2862.21 mW
Raspberry Pi 3 (100 MPS remote PoW)2947.90 mW
Raspberry Pi 4 (100 MPS remote PoW)2920.55 mW
Raspberry Pi 3 (Mainnet PoW)2968.84 mW
Raspberry Pi 4 (Mainnet PoW)3095.51 mW

Table 1: Reference power levels

With these results, the data of the node tests was then normalized against the results from the node without Hornet running and with Hornet running without messages being processed. Table 2 shows the final results of the test.

deviceNo messages50 MPS remote PoW100 MPS remote PoWMainnet PoW
Raspberry Pi 311.23 mW128.16 mW330.55 mW351.49 mW
Raspberry Pi 415.67 mW76.30 mW134.63 mW309.60 mW
Raspberry Pi 3 (normalized from 0 MPS)116.92 mW319.32 mW340.26 mWRaspberry Pi 4 (normalized from 0 MPS)60.62 mW118.97 mW293.94 mW

Results Explained

Using the normalized data of the nodes running at 0 messages per second, the energy cost per message can be calculated with the formula:

Energy(J) = Power(W) * Time(s)

It is important to note that while the devices were performing the mainnet proof of work, they were processing an average of 0.0592 messages per second (RPi 3), and 0.0730 messages per second (RPi 4). For the remote proof-of-work scenarios, the MPS rates were a fixed 50 and 100 messages per second. Table 3 shows the calculated energy cost per message for each test scenario.

device50 MPS remote PoW100 MPS remote PoWMainnet PoW
Raspberry Pi 3116.92 mW * (1/50) S = 2.33 mJ319.32 mW * (1/100) S = 3.19 mJ340.26 mW * (1/.059) S = 5.77 JRaspberry Pi 460.62 mW * (1/50) S = 1.21 mJ118.97 mW * (1/100) S = 1.18 mJ293.94 mW * (1/0.073) S = 4.026 J