首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Parallelizing Sequential Applications on Commodity Hardware using a Low-cost Software Transactional Memory
【24h】

Parallelizing Sequential Applications on Commodity Hardware using a Low-cost Software Transactional Memory

机译:使用低成本软件事务性存储器并行化商品硬件上的顺序应用程序

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

摘要

Multicore designs have emerged as the mainstream design paradigm for the microprocessor industry. Unfortunately, providing multiple cores does not directly translate into performance for most applications. The industry has already fallen short of the decades-old performance trend of doubling performance every 18 months. An attractive approach for exploiting multiple cores is to rely on tools, both compilers and runtime optimizers, to automatically extract threads from sequential applications. However, despite decades of research on automatic parallelization, most techniques are only effective in the scientific and data parallel domains where array dominated codes can be precisely analyzed by the compiler. Thread-level speculation offers the opportunity to expand parallelization to general-purpose programs, but at the cost of expensive hardware support. In this paper, we focus on providing low-overhead software support for exploiting speculative parallelism. We propose STMlite, a light-weight software transactional memory model that is customized to facilitate profile-guided automatic loop parallelization. STMlite eliminates a considerable amount of checking and locking overhead in conventional software transactional memory models by decoupling the commit phase from main transaction execution. Further, strong atomicity requirements for generic transactional memories are unnecessary within a stylized automatic parallelization framework. STMlite enables sequential applications to extract meaningful performance gains on commodity multicore hardware.
机译:多核设计已成为微处理器行业的主流设计范例。不幸的是,对于大多数应用程序而言,提供多个内核并不能直接转化为性能。该行业已经不具备几十年来每18个月将性能提高一倍的性能趋势。利用多个内核的一种有吸引力的方法是依赖于编译器和运行时优化器的工具,以从顺序应用程序中自动提取线程。但是,尽管对自动并行化进行了数十年的研究,但大多数技术仅在科学和数据并行领域有效,在这些领域中,编译器可以精确分析数组控制的代码。线程级推测提供了将并行化扩展到通用程序的机会,但以昂贵的硬件支持为代价。在本文中,我们专注于提供低开销的软件支持以利用推测性并行性。我们提出了STMlite,这是一种轻量级的软件事务性内存模型,可对其进行定制以促进配置文件引导的自动循环并行化。 STMlite通过将提交阶段与主要事务执行分离,从而消除了传统软件事务存储模型中的大量检查和锁定开销。此外,在程式化的自动并行化框架内,不需要通用事务存储器的强原子性要求。 STMlite支持顺序应用程序在商用多核硬件上提取有意义的性能提升。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号