【24h】

Efficient Processor Support for DRFx, a Memory Model with Exceptions

机译:对DRFx(具有异常的内存模型)的高效处理器支持

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

摘要

A longstanding challenge of shared-memory concurrency is to provide a memory model that allows for efficient implementation while providing strong and simple guarantees to programmers. The C++0x and Java memory models admit a wide variety of compiler and hardware optimizations and provide sequentially consistent (SC) semantics for data-race-free programs. However, they either do not provide any semantics (C++0x) or provide a hard-to-understand semantics (Java) for racy programs, compromising the safety and debuggability of such programs. In earlier work we proposed the DRFx memory model, which addresses this problem by dynamically detecting potential violations of SC due to the interaction of compiler or hardware optimizations with data races and halting execution upon detection. In this paper, we present a detailed micro-architecture design for supporting the DRFx memory model, formalize the design and prove its correctness, and evaluate the design using a hardware simulator. We describe a set of DRFx-compliant complexity-effective optimizations which allow us to attain performance close to that of TSO (Total Store Model) and DRFO while providing strong guarantees for all programs.
机译:共享内存并发的长期挑战是提供一种内存模型,该模型允许高效实现,同时为程序员提供强大而简单的保证。 C ++ 0x和Java内存模型允许进行各种编译器和硬件优化,并为无数据争用程序提供顺序一致(SC)的语义。但是,它们要么不提供任何语义(C ++ 0x),要么为难以理解的程序提供难以理解的语义(Java),从而损害了此类程序的安全性和可调试性。在较早的工作中,我们提出了DRFx内存模型,该模型通过动态检测由于编译器或硬件优化与数据竞争的相互作用而导致的潜在SC违规行为,并通过检测停止执行来解决此问题。在本文中,我们提出了支持DRFx存储器模型的详细的微体系结构设计,将其形式化并证明其正确性,并使用硬件模拟器对设计进行评估。我们描述了一组符合DRFx的复杂性有效的优化方法,这些优化方法使我们能够获得接近TSO(总商店模型)和DRFO的性能,同时为所有程序提供了有力的保证。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号