最大化 SVM 性能:Agave 验证器中内存与程序缓存大小对性能的影响
Maxing Out the SVM: Performance Impact of Memory and Program Cache Sizes in the Agave Validator
AI总结:
本文通过受控实验研究 Solana Agave 验证器在不同内存和程序缓存配置下的性能瓶颈,发现低于 256 GB 时性能显著下降,并提出改进缓存策略以降低 90% 延迟。
摘要:
本文分析了 Solana 的 Agave 验证器客户端执行流水线中的若干瓶颈,重点关注主网条件下的 RAM 和程序缓存使用情况。通过一系列受控实验,我们测量了验证器在 RAM 可用量从 128 GB 到 1,536 GB(1.5 TB)范围内的吞吐量和资源效率。我们发现,当内存低于 256 GB 时,验证器性能显著下降,交易处理速度落后于实时区块生产。此外,我们研究了程序缓存行为,识别出程序逐出和加载延迟方面的低效之处。我们的结果为硬件配置提供了实用指导,并建议改进 Solana 的执行和缓存策略,将程序缓存导致的延迟降低 90%。
英文摘要:
In this paper we analyze some of the bottlenecks in the execution pipeline of Solana's Agave validator client, focusing on RAM and program cache usage under mainnet conditions. Through a series of controlled experiments, we measure the validator's throughput and resource efficiency as RAM availability ranges between 128 GB to 1,536 GB (1.5 TB). We discover that the validator performance degrades significantly below 256 GB, with transaction processing falling behind real-time block production. Additionally, we study the program cache behavior, identifying inefficiencies in program eviction and load latency. Our results provide practical guidance for hardware provisioning and suggest improvements to the Solana execution and caching strategy, reducing latency due to the program cache by 90%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。