【24h】

Weak ordering---a new definition

机译:弱排序-新定义

获取原文

摘要

A memory model for a shared memory, multiprocessor commonly and often implicitly assumed by programmers is that of sequential consistency. This model guarantees that all memory accesses will appear to execute atomically and in program order. An alternative model, weak ordering, offers greater performance potential. Weak ordering was first defined by Dubois, Scheurich and Briggs in terms of a set of rules for hardware that have to be made visible to software.

The central hypothesis of this work is that programmers prefer to reason about sequentially consistent memory, rather than having to think about weaker memory, or even write buffers. Following this hypothesis, we re-define weak ordering as a contract between software and hardware. By this contract, software agrees to some formally specified constraints, and hardware agrees to appear sequentially consistent to at least the software that obeys those constraints. We illustrate the power of the new definition with a set of software constraints that forbid data races and an implementation for cache-coherent systems that is not allowed by the old definition.

机译:

程序员通常且经常隐式假定的用于共享内存,多处理器的内存模型是顺序一致性。该模型保证所有内存访问看起来都将自动执行并按程序顺序执行。替代模型弱排序具有更大的性能潜力。弱顺序首先由Dubois,Scheurich和Briggs定义,其依据是必须使软件可见的一组硬件规则。

这项工作的中心假设是程序员更喜欢推理顺序一致的内存,而不是不得不考虑较弱的内存甚至是写缓冲区。根据这个假设,我们将弱排序重新定义为软件和硬件之间的契约。根据此合同,软件同意某些正式规定的约束,而硬件同意至少与遵守这些约束的软件相继出现。我们通过一组禁止数据争用的软件约束以及旧定义所不允许的高速缓存一致性系统的实现,来说明新定义的强大功能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号