首页> 外文期刊>Journal of Parallel and Distributed Computing >Improving hardware transactional memory parallelization of computational geometry algorithms using privatizing transactions
【24h】

Improving hardware transactional memory parallelization of computational geometry algorithms using privatizing transactions

机译:使用私有化事务改善计算几何算法的硬件事务存储器并行化

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

摘要

Hardware transactional memory is a new parallel programming paradigm supported by current commercial multiprocessors. This paradigm provides optimistic concurrency and overcomes some of the problems associated with classical lock-based synchronization, such as deadlock and serialization. Certain algorithms of computational geometry are found to be good candidates for parallelization with this paradigm. However, hardware transactional approaches to these algorithms lead to poor performance as the resulting transactions are too large for the underlying hardware to deal with. Large transactions overflow hardware resources serializing the execution.In this paper, we propose using privatizing transactions to parallelize two computational geometry algorithms: Lee's algorithm, which solves the shortest-route problem, and Ruppert's algorithm for Delaunay/Voronoi mesh refinement. Privatizing transactions are based on commercial hardware transactional memory extensions, and their goal is to reduce transaction footprint by means of a non-transactional private execution section. This results in effective smaller transactions. Our implementation is able to further reduce the transaction size as we propose a reduced validation set for privatizing transactions. Programming complexity of these implementations is discussed.Results show that our privatizing transaction implementations indeed enhance performance comparing with existing hardware transactional memory versions. Experiments with Intel's transactional memory extensions yield speedups ranging from 2x to 3.5x with four threads. (C) 2019 Elsevier Inc. All rights reserved.
机译:硬件事务存储器是当前商用多处理器支持的一种新的并行编程范例。这种范例提供了乐观的并发性,并克服了与经典的基于锁的同步相关的一些问题,例如死锁和序列化。发现某些计算几何算法是与此范例并行化的良好候选者。但是,针对这些算法的硬件事务处理方法会导致性能不佳,因为生成的事务量太大,基础硬件无法处理。大型事务会溢出硬件资源,使执行序列化。在本文中,我们建议使用私有化事务来并行化两种计算几何算法:解决最短路径问题的Lee算法和用于Delaunay / Voronoi网格细化的Ruppert算法。私有化交易基于商业硬件交易内存扩展,其目标是通过非交易专用执行部分来减少交易占用空间。这导致有效的较小交易。由于我们建议减少用于私有化交易的验证集,因此我们的实现能够进一步减少交易规模。结果表明,与现有的硬件事务存储版本相比,我们私有化的事务实现确实提高了性能。使用英特尔的事务性内存扩展进行实验,使用四个线程的速度提高了2倍至3.5倍。 (C)2019 Elsevier Inc.保留所有权利。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号