首页> 外文会议>PODC'11 : Proceedings of the 2011 ACM symposium on principles of distributed computing. >The Impact of Memory Models on Software Reliability in Multiprocessors
【24h】

The Impact of Memory Models on Software Reliability in Multiprocessors

机译:内存模型对多处理器软件可靠性的影响

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

摘要

The memory consistency model is a fundamental system property characterizing a multiprocessor. The relative merits of strict: versus relaxed memory models have been widely debated in terms of their impact on performance, hardware complexity and programmability. This paper adds a new dimension to this discussion: the impact of memory models on software reliability. By allowing some instructions to reorder, weak memory models may expand the window between critical memory operations. This can increase the chance of an undesirable thread-interleaving, thus allowing an otherwise-unlikely concurrency bug to manifest. To explore this phenomenon, we define and study a probabilistic model of shared-memory parallel programs that takes into account such reordering. We use this mode! to formally derive bounds on the vulnerability to concurrency bugs of different memory models. Our results show that for 2 concurrent threads, weaker memory models do indeed have a higher likelihood of allowing bugs. On the other hand, we show that as the number of parallel, buggy threads increases, the gap between the different memory models becomes proportionally insignificant, and thus the importance of using a strict memory model diminishes.
机译:内存一致性模型是表征多处理器的基本系统属性。严格:相对宽松的内存模型的相对优点已经就其对性能,硬件复杂性和可编程性的影响进行了广泛的争论。本文为讨论增加了一个新的维度:内存模型对软件可靠性的影响。通过允许某些指令重新排序,弱存储器模型可以扩大关键存储器操作之间的窗口。这会增加不希望发生的线程交织的机会,从而使原本不太可能的并发错误得以显现。为了探索这种现象,我们定义并研究了考虑了这种重新排序的共享内存并行程序的概率模型。我们使用这种模式!正式推导不同内存模型的并发漏洞的漏洞范围。我们的结果表明,对于2个并发线程,较弱的内存模型的确确实更可能出现错误。另一方面,我们表明,随着并行,错误线程的数量增加,不同内存模型之间的间隙成比例地变得微不足道,因此使用严格内存模型的重要性降低了。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号