首页> 外文会议>International symposium on computer architecture >Timetraveler: Exploiting Acyclic Races for Optimizing Memory Race Recording
【24h】

Timetraveler: Exploiting Acyclic Races for Optimizing Memory Race Recording

机译:Timetraveler:利用无线循环赛,以优化记忆竞赛记录

获取原文

摘要

As chip multiprocessors emerge as the prevalent microprocessor architecture, support for debugging shared-memory parallel programs becomes important. A key difficulty is the programs' non-deterministic semantics due to which replay runs of a buggy program may not reproduce the bug. The non-determinism stems from memory races where accesses from two threads, at least one of which is a write, go to the same memory location. Previous hardware schemes for memory race recording log the predecessor-successor thread ordering at memory races and enforce the same orderings in the replay run to achieve deterministic replay. To reduce the log size, the schemes exploit transitivity in the orderings to avoid recording redundant orderings. To reduce the log size further while requiring minimal hardware, we propose Timetraveler which for the first time exploits acyclicity of races based on the key observation that an acyclic race need not be recorded even if the race is not covered already by transitivity. Timetraveler employs a novel and elegant mechanism called post-dating which both ensures that acyclic races, including those through the L2, are eventually ordered correctly, and identifies cyclic races. To address false cycles through the L2, Timetraveler employs another novel mechanism called time-delay buffer which delays the advancement of the L2 banks' timestamps and thereby reduces the false cycles. Using simulations, we show that Timetraveler reduces the log size for commercial workloads by 88% over the best previous approach while using only a 696-byte time-delay buffer.
机译:随着芯片多处理器作为普遍的微处理器架构出现,支持调试共享内存并行程序变得重要。一个关键的难度是程序的非确定性语义,因为错误程序的重放运行可能不会重现错误。非确定性源于从两个线程访问的存储器比赛中,其中至少一个是写入,转到相同的存储器位置。以前的内存竞争记录的硬件方案记录在内存比赛中排序的前任继承人线程排序,并在重放运行中强制执行相同的排序以实现确定性的重放。要减少日志大小,方案可以利用排序中的传输,以避免录制冗余排序。为了进一步降低日志尺寸,同时需要最小的硬件,我们提出了第一次基于键观察来利用比赛的循环性的时间表,即使没有通过传递率未覆盖种族,也不需要记录非循环种族。 Timetraveler采用一种新颖且优雅的机制,称为约会后,两者都可以确保包括通过L2的非循环比赛最终正确排序,并识别循环种族。为了通过L2解决假循环,Timetraveler采用另一个名为时滞缓冲器的新机制,该机构延迟了L2库时间戳的进步,从而减少了假循环。使用模拟,我们显示Timetraveler在使用仅696字节的时间延迟缓冲器的情况下通过最佳先前的方法将商业工作负载的日志大小降低了88%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号