【24h】

Runtime optimization utilizing program structure

机译:利用程序结构的运行时优化

获取原文
获取外文期刊封面目录资料

摘要

Dynamic Binary Optimization and dynamic compilation based schemes are widely employed for runtime program optimization. They are effective in specific program scenarios, but their scope of applicability is limited by the associated runtime overhead. Their capabilities can be exploited well with the knowledge of program parameters and execution conditions. These high level structures affect the runtime optimization decisions, thereby reducing the overhead in rediscovering them. In the current program flow process, the binary executable files are devoid of this program high-level structure. Such structures exist at earlier stages, i.e., at higher level program in the compiler front end generated parse and attributed abstract syntax trees, and data structures generated in the compiler back end for optimization, i.e. a call graph. However, the information is discarded at the final code generation stage. In this paper, we develop a framework that automatically captures attributes of program structure, which are carried forward through static compilation. They are used to make the runtime optimization process faster and lightweight in nature. We also develop a novel Runtime Management Module (RMM) to control the program execution process and reoptimize the code to better suit the current execution conditions, as needed. Our metadata extraction techniques coupled with the effectiveness of RMM results into significant performance gains during execution of diverse benchmarks from SPEC and Splash 2 benchmark suites.
机译:基于动态二进制优化和动态编译的方案被广泛用于运行时程序优化。它们在特定的节目方案中是有效的,但它们的适用范围受相关的运行时开销的限制。它们的能力可以利用程序参数和执行条件的知识进行利用。这些高级结构影响运行时优化决策,从而减少重新发现它们时的开销。在当前的程序流程过程中,二进制可执行文件没有该程序的高级结构。这种结构存在于早期的阶段,即,在编译器前端的更高级别程序处生成解析和归属的抽象语法树,以及在编译器后端生成的数据结构,用于优化,即呼叫图。但是,该信息在最终代码生成阶段被丢弃。在本文中,我们开发了一个自动捕获程序结构属性的框架,通过静态编译前进。它们用于使运行时优化过程更快,更轻便。我们还开发了一种新颖的运行时管理模块(RMM)来控制程序执行过程,并根据需要更好地重新优化代码以更好地适合当前的执行条件。我们的元数据提取技术与RMM的有效性相结合,导致从规格和Splash 2基准套件的不同基准执行过程中的显着性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号