CuEVM: Scaling Smart Contract Execution on GPUs
Nhut-Minh Ho, Tien Tuan Anh Dinh, Quang Trung Ta, Fredrik Svantes, Xiaokui Xiao, Beng Chin Ooi
Abstract
Smart contracts on Ethereum blockchain process transactions worth billions of US dollars daily. They run on top of Ethereum Virtual Machine (EVM) which executes transactions sequentially. This execution model creates a performance bottleneck, especially for new blockchain workloads with large numbers of transactions, such as security testing. We present CuEVM, a GPU-native and semantically complete EVM execution engine that treats transaction execution as a massively parallel data processing problem. It employs novel data structures and GPU-aware scheduling to accelerate execution. Unlike prior works that transpile the contract and rely on a host CPU for many operations, CuEVM supports complete EVM semantics natively on the GPU. It passes 100% of the Ethereum VMTests and 96.2% of the full execution-test suite. On a single commodity GPU, CuEVM executes over 8 million ERC-20 transfers per second, outperforming existing baselines by up to two orders of magnitude. We build a smart contract fuzzer, called CuEVM-fuzz, on top of CuEVM. The fuzzer achieves over a million end-to-end executions per second, up to 23x and 4.8x higher than the state-of-the-art CPU-based and GPU-based baselines, respectively.
Create a lesson
Related papers
Contention-Aware Flexible Execution for Machine Learning Workloads
Shared title terminology · Marco Kurzynski, Shaizeen Aga, Di Wu
Accelerating Mixture of Block Attention via Dynamic Routing, KV-Centric Execution and Runtime Pipelining
Shared title terminology · Yingqi Shi, Junru Lu, Yun Liu et al.
AscMLA: Unlocking FP4 Efficiency for Long-Context MLA Decoding through Asymmetric Scaling
Shared title terminology · Zechun Zhou, Zhiyong Zheng, Xiaomin Zhang et al.
A Runtime System for Mitigating Crossbar Port Contention on SM-Partitioned GPUs
Shared title terminology · Ziwen Wang, Qi Luo, Kunlin Li et al.
DexAttention: Distributed Sparse Attention through Rapid Online Planning and Persistent GPU Execution
Shared title terminology · Sirui Chen, Xuehai Qian
CheckCo: Checkpoint-Coordinated Load Balancing for Skewed Event Streams at Scale
Shared title terminology · Muhammad Anis Uddin Nasir, Reza Sadraei