首页> 外文学位 >Profile-guided Memory Layout: Theory and Practice
【24h】

Profile-guided Memory Layout: Theory and Practice

机译:配置文件引导的内存布局:理论与实践

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

摘要

Modern software is growing in size and complexity, far faster than is hardware in performance. In particular, it executes and accesses an increasingly large amount of code and data, leading to performance bottlenecks in different levels of the memory hierarchy. Memory layout optimization can alleviate this effect by rearranging code and data in memory, in order to reduce cache misses.;In this dissertation, we study the problem of profile-guided memory layout optimization both from a theoretical and from a practical perspective. Our thesis is that while in general, finding even an approximately optimal memory layout is impractical (assuming P ≠ NP), for code layout, we can achieve significant improvements by reordering code inter-procedurally and in basic block granularity, while paying close attention to the spatial distance between related code segments in the final layout. Our inter-procedural basic block layout optimizer yields an average improvement of 10% on five real-world applications.;We also propose a function reordering strategy based on a new model of reference affinity. Our evaluation shows that affinity-based function reordering results in twice as high the improvement from traditional function reordering based on call graph edges.
机译:现代软件的大小和复杂性正在增长,其性能远远快于硬件。特别是,它执行和访问越来越多的代码和数据,从而导致内存层次结构不同级别的性能瓶颈。内存布局优化可以通过重新排列内存中的代码和数据来减轻这种影响,从而减少缓存丢失。;本文从理论和实践的角度研究了配置文件引导的内存布局优化问题。我们的论点是,虽然通常来说,即使找到近似最佳的内存布局也是不切实际的(假设P≠NP),但对于代码布局,我们可以通过在过程中以及基本块粒度上对代码进行重新排序来实现显着的改进,同时密切注意最终布局中相关代码段之间的空间距离。我们的过程间基本块布局优化器在五个实际应用中平均提高了10%。;我们还提出了一种基于参考亲和力新模型的功能重排策略。我们的评估表明,基于亲和力的函数重新排序所带来的改进是基于调用图边缘的传统函数重新排序的两倍。

著录项

  • 作者

    Lavaee Mashhadi, Rahman.;

  • 作者单位

    University of Rochester.;

  • 授予单位 University of Rochester.;
  • 学科 Computer science.
  • 学位 Ph.D.
  • 年度 2018
  • 页码 188 p.
  • 总页数 188
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号