LRSCwait:通过无轮询和无重试操作实现众核系统中可扩展且高效的同步
LRSCwait: Enabling Scalable and Efficient Synchronization in Manycore Systems through Polling-Free and Retry-Free Operation
AI总结:
本文提出 LRwait/SCwait 同步原语及 Colibri 可扩展实现,通过让争用核心休眠消除轮询,在 256 核 RISC-V 平台上以 6% 面积开销实现 6.5 倍吞吐量和 7.1 倍能效提升。
摘要:
在共享内存众核系统中,大量轮询会导致争用、吞吐量下降和能效降低。锁实现和通用原子操作 load-reserved/store-conditional(LRSC)都会因串行化和重试而产生轮询。为减轻这一开销,我们提出了 LRwait 和 SCwait,这是一对同步原语,通过允许争用核心在等待先前核心完成其原子访问时进入休眠来消除轮询。作为 LRwait 的可扩展实现,我们提出了 Colibri,一种分布式且可扩展的 LRwait 预留管理方法。通过在具有 256 个核心的开源 RISC-V 平台上进行广泛基准测试,我们证明 Colibri 在吞吐量、公平性和能效方面,在高争用和低争用的各种并发算法中均优于当前的同步方法。在仅 6% 的面积开销下,Colibri 的吞吐量比基于 LRSC 的实现高出 6.5 倍,能效高出 7.1 倍。
英文摘要:
Extensive polling in shared-memory manycore systems can lead to contention, decreased throughput, and poor energy efficiency. Both lock implementations and the general-purpose atomic operation, load-reserved/store-conditional (LRSC), cause polling due to serialization and retries. To alleviate this overhead, we propose LRwait and SCwait, a synchronization pair that eliminates polling by allowing contending cores to sleep while waiting for previous cores to finish their atomic access. As a scalable implementation of LRwait, we present Colibri, a distributed and scalable approach to managing LRwait reservations. Through extensive benchmarking on an open-source RISC-V platform with 256 cores, we demonstrate that Colibri outperforms current synchronization approaches for various concurrent algorithms with high and low contention regarding throughput, fairness, and energy efficiency. With an area overhead of only 6%, Colibri outperforms LRSC-based implementations by a factor of 6.5x in terms of throughput and 7.1x in terms of energy efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。