arrow
Return

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

delete2024-01-01
delete0
PRE
AI
Y
Yaozheng Fang
Z
Zhiyuan Zhou
S
Surong Dai
J
Jinni Yang
H
Hui Zhang
Y
Ye Lu *
DOI:10.1109/TPDS.2023.3334208delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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.4x, and enhances validation throughput by up to 46x.
Keywords:
Smart contracts
Blockchains
Runtime
Virtual machining
Peer-to-peer computing
Instruction sets
Synchronization
Architectural design
blockchain
smart contract
virtual machine

Journal

IEEE Transactions on Parallel and Distributed Systems cover
IEEE Transactions on Parallel and Distributed Systems
IF:
6
Papers:
5.2K
Citations:
1.1W

Organization

N
nankai university
Scholars:
4.7W
Papers: 3.2W
Citations: 74
C
chinese academy of sciences
Scholars:
56.3W
Papers: 44.8W
Citations: 704