arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.07280cs.CRcs.DC
收藏

Conthereum:面向多核执行的并发以太坊优化交易调度

Conthereum: Concurrent Ethereum Optimized Transaction Scheduling for Multi-Core Execution

Atefeh Zareh Chahoki, Maurice Herlihy, Marco Roveri

AI总结:

Conthereum 提出一种基于柔性作业车间调度问题的贪心启发式调度器,结合智能合约静态冲突分析,实现以太坊区块内交易的并发无冲突执行,在多核环境下显著提升吞吐量并优于现有并发方案。

摘要:

Conthereum 是一种用于区块内并行交易执行的并发以太坊解决方案,使验证者能够利用多核基础设施,并将以太坊的顺序执行模型转变为并行执行模型。这一转变显著提高了吞吐量和每秒交易数(TPS),同时在提议者(proposer)和证明者(attestor)模式下确保无冲突执行,并在证明者中保持执行顺序一致性。Conthereum 的核心是一个受柔性作业车间调度问题(Flexible Job Shop Scheduling Problem,FJSS)启发的新型、轻量级、高性能调度器。我们提出了一种自定义贪心启发式算法及其高效实现,该算法能够有效且决定性地求解这一形式化问题,在寻找满足约束、实现最小完工时间(makespan)并最大化并行执行加速比的次优解方面,显著优于现有调度方法。此外,Conthereum 包含一个离线阶段,通过对智能合约进行静态分析,为其实时调度器配备冲突分析知识库,并采用悲观方法识别潜在冲突函数。基于这一新型调度器和丰富的冲突数据,Conthereum 优于现有的并发区块内解决方案。实证评估表明,在标准 8 核机器上,随着计算能力的增加,吞吐量获得近线性增长。尽管在更高核心数和交易冲突增加的情况下,可扩展性偏离线性,但 Conthereum 仍然显著改进了当前的顺序执行模型,并在广泛条件下优于现有的并发解决方案。

英文摘要:

Conthereum is a concurrent Ethereum solution for intra-block parallel transaction execution, enabling validators to utilize multi-core infrastructure and transform the sequential execution model of Ethereum into a parallel one. This shift significantly increases throughput and transactions per second (TPS), while ensuring conflict-free execution in both proposer and attestor modes and preserving execution order consistency in the attestor. At the heart of Conthereum is a novel, lightweight, high-performance scheduler inspired by the Flexible Job Shop Scheduling Problem (FJSS). We propose a custom greedy heuristic algorithm, along with its efficient implementation, that solves this formulation effectively and decisively outperforms existing scheduling methods in finding suboptimal solutions that satisfy the constraints, achieve minimal makespan, and maximize speedup in parallel execution. Additionally, Conthereum includes an offline phase that equips its real-time scheduler with a conflict analysis repository obtained through static analysis of smart contracts, identifying potentially conflicting functions using a pessimistic approach. Building on this novel scheduler and extensive conflict data, Conthereum outperforms existing concurrent intra-block solutions. Empirical evaluations show near-linear throughput gains with increasing computational power on standard 8-core machines. Although scalability deviates from linear with higher core counts and increased transaction conflicts, Conthereum still significantly improves upon the current sequential execution model and outperforms existing concurrent solutions under a wide range of conditions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑