...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >RelaxReplay: Record and Replay for Relaxed-Consistency Multiprocessors
【24h】

RelaxReplay: Record and Replay for Relaxed-Consistency Multiprocessors

机译:RelaxReplay:记录和重放轻松一致性多处理器

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

摘要

Record and Deterministic Replay (RnR) of multithreaded programs on relaxed-consistency multiprocessors has been a long-standing problem. While there are designs that work for Total Store Ordering (TSO), finding a general solution that is able to record the access reordering allowed by any relaxedconsistency model has proved challenging. This paper presents the first complete solution for hardware- assisted memory race recording that works for any relaxed-consistency model of current processors. With the scheme, called RelaxReplay, we can build an RnR system for any relaxed-consistency model and coherence protocol. RelaxReplay's core innovation is a new way of capturing memory access reordering. Each memory instruction goes through a post-completion in-order counting step that detects any reordering, and efficiently records it. We evaluate RelaxReplay with simulations of an 8-core release-consistent multicore running SPLASH-2 programs. We observe that RelaxReplay induces negligible overhead during recording. In addition, the average size of the log produced is comparable to the log sizes reported for existing solutions, and still very small compared to the memory bandwidth of modern machines. Finally, deterministic replay is efficient and needs minimal hardware support.
机译:宽松一致性多处理器上的多线程程序的记录和确定性重放(RnR)是一个长期存在的问题。尽管有些设计适用于总商店订购(TSO),但是找到一种能够记录任何宽松一致性模型所允许的访问重新排序的通用解决方案被证明是一项挑战。本文介绍了第一个完整的硬件辅助内存竞赛记录解决方案,该解决方案适用于当前处理器的任何宽松一致性模型。使用称为RelaxReplay的方案,我们可以为任何宽松一致性模型和一致性协议构建RnR系统。 RelaxReplay的核心创新是捕获内存访问重新排序的新方法。每条存储指令都经过一个完成后的有序计数步骤,该步骤可检测任何重新排序并有效地进行记录。我们通过模拟运行SPLASH-2程序的8核发布一致的多核来评估RelaxReplay。我们注意到,ReleaseReplay在录制过程中产生的开销可忽略不计。另外,生成的日志的平均大小可与现有解决方案报告的日志大小相比,但与现代计算机的内存带宽相比仍然很小。最后,确定性重播是高效的,并且需要最少的硬件支持。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号