Performance Comparison of SimBlock to NS-3 Blockchain Simulators

Delphi Hanggoro, Riri Fitri Sari

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Blockchain is a technology that is in the hype and growing rapidly. Data that has entered the blockchain cannot be changed and tampered with, and this feature makes blockchain technology guaranteed in its integrity and security. However, evaluating a blockchain network configuration, consensus, design, or architecture has its problems due to the vast area of the blockchain network and the massive number of nodes. A simulator is the right choice for this case. Blockchain simulators that exist today include SimBlock and NS-3 blockchain simulator from Arthur Gervais. This study compares the two simulators' performance in terms of CPU, memory, and simulation time usage. Equalize all the two simulators' parameters, using the same configuration for the virtual machines used. After that, calculate the CPU and memory usage using the Sysstat program on Ubuntu, while the simulation time is taken from both simulator's output. This simulator evaluated by varying the target block from 500 to 5000 with 1000 nodes on the network. The experiment result of SimBlock CPU usage was ± 10% higher than NS-3, while SimBlock memory usage was also ± 14% greater than NS-3. The result of NS-3 simulation time requires the highest time of 55188.3s, while Simblock only takes 68.242s for the same number of blocks and nodes. The difference in CPU power is because NS-3 simulates the mining process. In contrast, the SimBlock mining process is not simulated but calculated using the user input value on the average mining power.

Original languageEnglish
Title of host publication2021 4th International Conference on Circuits, Systems and Simulation, ICCSS 2021
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages45-50
Number of pages6
ISBN (Electronic)9781728167527
DOIs
Publication statusPublished - 26 May 2021
Event4th International Conference on Circuits, Systems and Simulation, ICCSS 2021 - Virtual, Kuala Lumpur, Malaysia
Duration: 26 May 202128 May 2021

Publication series

Name2021 4th International Conference on Circuits, Systems and Simulation, ICCSS 2021

Conference

Conference4th International Conference on Circuits, Systems and Simulation, ICCSS 2021
Country/TerritoryMalaysia
CityVirtual, Kuala Lumpur
Period26/05/2128/05/21

Keywords

  • bitcoin
  • blockchain
  • consensus
  • ns-3
  • proof of work
  • simblock
  • simulator

Fingerprint

Dive into the research topics of 'Performance Comparison of SimBlock to NS-3 Blockchain Simulators'. Together they form a unique fingerprint.

Cite this