首页> 外文会议>International Conference on Parallel and Distributed Systems >Speculation with Little Wasting: Saving Cost in Software Speculation through Transparent Learning
【24h】

Speculation with Little Wasting: Saving Cost in Software Speculation through Transparent Learning

机译:令人缺乏浪费的猜测:通过透明学习节省软件炒作的成本

获取原文

摘要

Software speculation has shown promise in parallelizing programs with coarse-grained dynamic parallelism. However, most speculation systems use offline profiling for the selection of speculative regions. The mismatch with the input-sensitivity of dynamic parallelism may result in large numbers of speculation failures in many applications. Although with certain protection, the failed speculations may not hurt the basic efficiency of the application, the wasted computing resource (e.g. CPU time and power consumption) may severely degrade system throughput and efficiency. The importance of this issue continuously increases with the advent of multicore and parallelization in portable devices and multiprogramming environments. In this work, we propose the use of transparent statistical learning to make speculation cross-input adaptive. Across production runs of an application, the technique recognizes the patterns of the profitability of the speculative regions in the application and the relation between the profitability and program inputs. On a new run, the profitability of the regions are predicted accordingly and the speculations are switched on and off adaptively. The technique differs from previous techniques in that it requires no explicit training, but is able to adapt to changes in program inputs. It is applicable to both loop-level and function-level parallelism by learning across iterations and executions, permitting arbitrary depth of speculations. Its implementation in a recent software speculation system, namely the Behavior-Oriented Parallelization system, shows substantial reduction of speculation cost with negligible decrease (sometimes, considerable increase) of parallel execution performance.
机译:软件猜测在具有粗粒型动态并行性的并行化程序中显示了承诺。然而,大多数投机系统使用离线分析来选择推测区域。具有动态并行性的输入灵敏度的不匹配可能导致许多应用中的大量猜测失败。虽然具有某些保护,但失败的投机可能不会损害应用程序的基本效率,浪费的计算资源(例如CPU时间和功耗)可能会严重降低系统吞吐量和效率。在便携式设备和多程序环境中的多核和并行化的出现,此问题的重要性不断增加。在这项工作中,我们建议使用透明统计学习来制作猜测交叉输入自适应。跨过申请的生产运行,该技术认识到申请中投机区域的盈利能力以及盈利能力与计划输入之间的关系。在新的运行中,相应地预测区域的盈利能力,并自适应地打开和关闭猜测。该技术与以前的技术不同,因为它不需要明确的培训,而是能够适应程序输入的变化。它适用于循环级和函数级并行性,通过在迭代和执行中学习,允许任意猜测深度。其在最近的软件拨款系统中的实现,即面向行为的并行化系统,显示出猜测成本的大幅降低,并行执行性能可忽略不计(有时,相当大的增加)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号