Litcius/Paper detail

PaVM: A Parallel Virtual Machine for Smart Contract Execution and Validation

Yaozheng Fang, Zhiyuan Zhou, Surong Dai, Jinni Yang, Hui Zhang, Ye Lu

2023IEEE Transactions on Parallel and Distributed Systems10 citationsDOI

Abstract

The performance bottleneck of blockchain has shifted from consensus to serial smart contract execution in transaction validation. Previous works predominantly focus on inter-contract parallel execution, but they fail to address the inherent limitations of each smart contract execution performance. In this paper, we propose PaVM, the first smart contract virtual machine that supports both inter-contract and intra-contract parallel execution to accelerate the validation process. PaVM consists of (1) key instructions for precisely recording entire runtime information at the instruction level, (2) a runtime system with a re-designed machine state and thread management to facilitate parallel execution, and (3) a read/write-operation-based receipt generation method to ensure both the correctness of operations and the consistency of blockchain data. We evaluate PaVM on the Ethereum testnet, demonstrating that it can outperform the mainstream blockchain client Geth. Our evaluation results reveal that PaVM speeds up overall validation performance by 33.4×, and enhances validation throughput by up to 46×.

Topics & Concepts

Computer scienceSmart contractCorrectnessBottleneckVirtual machineDatabase transactionBlockchainThread (computing)Operating systemDistributed computingEmbedded systemDatabaseProgramming languageComputer securityBlockchain Technology Applications and SecurityFerroelectric and Negative Capacitance DevicesCloud Computing and Resource Management
PaVM: A Parallel Virtual Machine for Smart Contract Execution and Validation | Litcius