Title:
PaVM: A Parallel Virtual Machine for Smart Contract Execution and Validation
Authors:
Yaozheng Fang; Zhiyuan Zhou; Surong Dai; Jinni Yang; Hui Zhang; Ye Lu
Journal/Conference:
TPDS '24
Source: https://ieeexplore.ieee.org/document/10323104
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×.
Presentation material: