arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2602.03444cs.DCcs.DS
收藏

利用多核并行性进行区块链验证与构建

Exploiting Multi-Core Parallelism in Blockchain Validation and Construction

IMDEA Networks Institute(IMDEA网络研究所);Universidad Carlos III de Madrid(马德里卡洛斯三世大学);IMDEA Software Institute(IMDEA软件研究所)

Arivarasan Karmegam, Lucianna Kiffer, Antonio Fernández Anta

AI总结:

本文提出利用多核并行性优化区块链验证与构建,通过精确建模和启发式方法提升效率与收益。

摘要:

区块链验证器可以通过利用多核CPU来减少块处理时间,但确定性执行必须在尊重交易冲突和每块运行时间限制的情况下保持给定的总顺序。本文系统地探讨了验证器如何在块构建和执行过程中利用多核并行性,而不会违反区块链语义。我们正式化了两个验证器端的优化问题:(i) 在p个核心上执行已排序的块以最小化makespan,同时确保等效于顺序执行;(ii) 在运行时间限制B下选择和调度交易子集以最大化验证器收益。对于两者,我们开发了精确的混合整数线性规划(MILP)公式,以捕捉冲突、顺序和容量约束,并提出快速确定性启发式方法,可扩展到现实工作负载。使用以太坊主网追踪数据,并包括一个受Solana启发的声明访问基线(Sol)用于有序块调度和一个简单的收益贪婪基线(RG)用于块构建,我们实证地量化了最优性和运行时间之间的权衡。

英文摘要:

Blockchain validators can reduce block processing time by exploiting multi-core CPUs, but deterministic execution must preserve a given total order while respecting transaction conflicts and per-block runtime limits. This paper systematically examines how validators can exploit multi-core parallelism during both block construction and execution without violating blockchain semantics. We formalize two validator-side optimization problems: (i) executing an already ordered block on \(p\) cores to minimize makespan while ensuring equivalence to sequential execution; and (ii) selecting and scheduling a subset of mempool transactions under a runtime limit \(B\) to maximize validator reward. For both, we develop exact Mixed-Integer Linear Programming (MILP) formulations that capture conflict, order, and capacity constraints, and propose fast deterministic heuristics that scale to realistic workloads. Using Ethereum mainnet traces and including a Solana-inspired declared-access baseline (Sol) for ordered-block scheduling and a simple reward-greedy baseline (RG) for block construction, we empirically quantify the trade-offs between optimality and runtime.

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

↑