首页> 外文期刊>IEEE Transactions on Parallel and Distributed Systems >A Hybrid Static-Dynamic Classification for Dual-Consistency Cache Coherence
【24h】

A Hybrid Static-Dynamic Classification for Dual-Consistency Cache Coherence

机译:双一致性高速缓存一致性的混合静态-动态分类

获取原文
获取原文并翻译 | 示例

摘要

Traditional cache coherence protocols manage all memory accesses equally and ensure the strongest memory model, namely, sequential consistency. Recent cache coherence protocols based on self-invalidation advocate for the model sequential consistency for data-race-free, which enables powerful optimizations for race-free code. However, for racy code these cache coherence protocols provide sub-optimal performance compared to traditional protocols. This paper proposes SPEL++, a dual-consistency cache coherence protocol that supports two execution modes: a traditional sequential-consistent protocol and a protocol that provides weak consistency (or sequential consistency for data-race-free). SPEL++ exploits a static-dynamic hybrid classification of memory accesses based on (i) a compile-time identification of extended data-race-free code regions for OpenMP applications and (ii) a runtime classification of accesses based on the operating system's memory page management. By executing racy code under the sequential-consistent protocol and race-free code under the cache coherence protocol that provides sequential consistency for data-race-free, the end result is an efficient execution of the applications while still providing sequential consistency. Compared to a traditional protocol, we show improvements in performance from 19 to 38 percent and reductions in energy consumption from 47 to 53 percent, on average for different benchmark suites, on a 64-core chip multiprocessor.
机译:传统的缓存一致性协议平等地管理所有内存访问,并确保最强的内存模型,即顺序一致性。最近基于自我失效的高速缓存一致性协议主张无数据争用的模型顺序一致性,从而可以对无竞争代码进行强大的优化。但是,对于原始代码,这些缓存一致性协议与传统协议相比提供了次优性能。本文提出了SPEL ++,它是一种双一致性缓存一致性协议,它支持两种执行模式:传统的顺序一致性协议和提供弱一致性(或无数据争用的顺序一致性)的协议。 SPEL ++基于(i)OpenMP应用程序的扩展的无数据争用代码区域的编译时标识和(ii)基于操作系统的内存页面管理的访问时运行时分类,对内存访问进行静态-动态混合分类。 。通过在顺序一致协议下执行原始代码,并在高速缓存一致性协议下执行免竞争代码,该代码为无数据争用提供顺序一致性,最终结果是在仍然提供顺序一致性的同时,高效地执行应用程序。与传统协议相比,在64核芯片多处理器上,不同基准套件的性能平均提高了19%至38%,能耗降低了47%至53%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号