【24h】

Automatic Atomic Region Identification in Shared Memory SPMD Programs

机译:共享内存SPMD程序中的自动原子区域识别

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

摘要

This paper presents TransFinder, a compile-time tool that automatically determines which statements of an unsynchro-nized multithreaded program must be enclosed in atomic regions to enforce conflict-serializability. Unlike previous tools, TransFinder requires no programmer input (beyond the program) and is more efficient in both time and space. Our implementation shows that the generated atomic regions range from being identical to, or smaller than, the programmer-specified transactions in the three Java Grande benchmarks considered, and in five of the eight STAMP benchmarks considered, while still providing identical synchronization semantics and results. The generated atomic regions are between 5 and 38 lines larger in the three remaining STAMP benchmarks. In the most conservative case, TransFinder can, based on the program structure, successfully identify and suggest an alternative that conforms exactly to the programmer-specified atomic regions. By generating small, highly-targeted, conflict-serializable atomic regions, TransFinder allows the programmer to focus further tuning efforts on only a small portion of the code (when further tuning is needed).
机译:本文介绍了TransFinder,这是一种编译时工具,可以自动确定必须在原子区域中包含非同步化多线程程序的哪些语句以增强冲突可序列化性。与以前的工具不同,TransFinder不需要程序员输入(超出程序),并且在时间和空间上都更加高效。我们的实现显示,在所考虑的三个Java Grande基准以及所考虑的八个STAMP基准中的五个中,所生成的原子区域的范围等于或小于程序员指定的事务,同时仍提供相同的同步语义和结果。在其余三个STAMP基准测试中,生成的原子区域大5至38行。在最保守的情况下,TransFinder可以基于程序结构成功识别并建议完全符合程序员指定原子区域的替代方案。通过生成小的,高度针对性的,可序列化冲突的原子区域,TransFinder允许程序员将进一步的调整工作仅集中在代码的一小部分(需要进一步调整时)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号