...
首页> 外文期刊>Journal of Parallel and Distributed Computing >Exploiting parallelism in deterministic shared memory multiprocessing
【24h】

Exploiting parallelism in deterministic shared memory multiprocessing

机译:在确定性共享内存多处理中利用并行性

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

获取外文期刊封面封底 >>

       

摘要

Multi-threaded programs on shared-memory hardware tend to be non-deterministic, which brings challenges to software debugging and testing. Current deterministic implementations eliminate nondeterminism of multi-threaded programs by trading much parallelism for determinism, which leads to low performance. Researchers typically improve parallelism by weakening determinism or introducing weak memory consistency models. However, weak determinism cannot deal with non-determinism caused by data races which are very common in multi-threaded programs. Weak memory consistency models impact the productivity of programming and may bring correctness problems of legacy programs. To address the problems, this paper presents a fully parallelized deterministic runtime, FPDet, which exploits parallelism of deterministic multi-threaded programs by preserving strong determinism and sequential memory consistency. FPDet creates a Working Set Memory (WSM) for each thread to make threads run independently for parallelism. FPDet guarantees determinism by redistributing memory blocks among threads' WSMs in specified synchronization points. As a result, FPDet obtains parallelism and determinism simultaneously. To further exploit parallelism, we propose an Adaptive Budget Adjustment (ABA) mechanism to minimize wait time caused by thread synchronization. We evaluated FPDet using benchmarks from both the SPLASH-2 and PARSEC suits. The results show that FPDet can effectively improve parallelism (the average speedup is more than 1.4 compared with existing approaches) without weakening determinism or memory consistency.
机译:共享内存硬件上的多线程程序往往是不确定的,这给软件调试和测试带来了挑战。当前的确定性实现通过将很多并行性换成确定性,从而消除了多线程程序的不确定性,从而导致性能降低。研究人员通常通过削弱确定性或引入弱内存一致性模型来改善并行性。但是,弱确定性不能处理由数据争用引起的非确定性,这在多线程程序中非常常见。弱的内存一致性模型会影响编程的生产率,并可能带来遗留程序的正确性问题。为了解决这些问题,本文提出了一种完全并行的确定性运行时FPDet,它通过保留强确定性和顺序内存一致性来利用确定性多线程程序的并行性。 FPDet为每个线程创建一个工作集内存(WSM),以使线程独立运行以实现并行性。 FPDet通过在指定的同步点中的线程的WSM之间重新分配内存块来确保确定性。结果,FPDet同时获得并行性和确定性。为了进一步利用并行性,我们提出了一种自适应预算调整(ABA)机制,以最大程度地减少线程同步引起的等待时间。我们使用SPLASH-2和PARSEC诉讼中的基准评估了FPDet。结果表明,FPDet可以有效地改善并行性(与现有方法相比平均加速超过1.4),而不会削弱确定性或内存一致性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号