On the Performance of Cloud-based ARM SVE for Zero-Knowledge Proving Systems
Dumitrel Loghin, Shuang Liang, Shengwei Liu, Xiong Liu, Pingcheng Ruan, Zhigang Ye

TL;DR
This paper evaluates the performance gap between ARM and x86-64 CPUs for zero-knowledge proof computations, finding current ARM CPUs are slower but could surpass x86-64 with larger vector sizes and architectural improvements.
Contribution
It provides a detailed analysis of ARM SVE performance in ZKP systems and suggests potential hardware enhancements to outperform x86-64 CPUs.
Findings
ARM CPUs are 1.4X to 1.6X slower than x86-64 for Merkle tree building.
Current ARM CPUs have smaller vector sizes and lower clock speeds limiting performance.
Increasing ARM vector size to 512 bits could enable higher performance than x86-64.
Abstract
Zero-knowledge proofs (ZKP) are becoming a gold standard in scaling blockchains and bringing Web3 to life. At the same time, ZKP for transactions running on the Ethereum Virtual Machine require powerful servers with hundreds of CPU cores. The current zkProver implementation from Polygon is optimized for x86-64 CPUs by vectorizing key operations, such as Merkle tree building with Poseidon hashes over the Goldilocks field, with Advanced Vector Extensions (AVX and AVX512). With these optimizations, a ZKP for a batch of transactions is generated in less than two minutes. With the advent of cloud servers with ARM which are at least 10% cheaper than x86-64 servers and the implementation of ARM Scalable Vector Extension (SVE), we wonder if ARM servers can take over their x86-64 counterparts. Unfortunately, our analysis shows that current ARM CPUs are not a match for their x86-64 competitors.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Cloud Computing and Resource Management · Cloud Data Security Solutions
