arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.05453cs.AR
收藏

整洁:低复杂性、高效的片内缓存一致性

Neat: Low-Complexity, Efficient On-Chip Cache Coherence

Rui Zhang, Swarnendu Biswas, Vignesh Balaji, Michael D. Bond, Brandon Lucia

摘要:

缓存一致性协议,如MESI,使用写入器发起的无效具有高复杂度,有时具有较差的性能和能量使用,特别是在假共享。这样的协议需要大量的瞬时状态、共享目录和对核到核通信的支持,同时也遭受错误共享的影响。MESI的写入器发起的无效的替代方案是自无效,其实现比MESI更低的复杂性,但增加了高性能成本或依赖于程序员注释或特定的数据访问模式。提出了一种低复杂度、高效的缓存一致性协议Neat。Neat使用自失效,从而避免了MESI的瞬态、目录和核心到核心通信需求。Neat使用新的机制,有效地避免了许多不必要的自失效。评估表明,Neat是简单的,具有较低的验证复杂度比MESI协议。Neat不仅优于最先进的自失效协议,而且其性能和能耗与MESI相当,并且在错误共享下优于MESI。

英文摘要:

Cache coherence protocols such as MESI that use writer-initiated invalidation have high complexity and sometimes have poor performance and energy usage, especially under false sharing. Such protocols require numerous transient states, a shared directory, and support for core-to-core communication, while also suffering under false sharing. An alternative to MESI's writer-initiated invalidation is self-invalidation, which achieves lower complexity than MESI but adds high performance costs or relies on programmer annotations or specific data access patterns. This paper presents Neat, a low-complexity, efficient cache coherence protocol. Neat uses self-invalidation, thus avoiding MESI's transient states, directory, and core-to-core communication requirements. Neat uses novel mechanisms that effectively avoid many unnecessary self-invalidations. An evaluation shows that Neat is simple and has lower verification complexity than the MESI protocol. Neat not only outperforms state-of-the-art self-invalidation protocols, but its performance and energy consumption are comparable to MESI's, and it outperforms MESI under false sharing.

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

↑