首页> 外文会议>International conference on compilers, architecture and synthesis for embedded systems 2010 >Balancing Memory and Performance through Selective Flushing of Software Code Caches
【24h】

Balancing Memory and Performance through Selective Flushing of Software Code Caches

机译:通过选择性刷新软件代码缓存来平衡内存和性能

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

摘要

Dynamic binary translators (DBTs) are becoming increasingly important because of their power and flexibility. However, the high memory demands of DBTs present an obstacle for all platforms, and especially embedded systems. The memory demand is typically controlled by placing a limit on cached translations and forcing the DBT to flush all translations upon reaching the limit. This solution manifests as a performance inefficiency because many flushed translations require retranslation. Ideally, translations should be selectively flushed to minimize retranslations for a given memory limit. However, three obstacles exist: (1) it is difficult to predict which selections will minimize retranslation, (2) selective flushing results in greater book-keeping overheads than full flushing, and (3) the emergence of multicore processors and multi-threaded programming complicates most flushing algorithms. These issues have led to the widespread adoption of full flushing as a standard protocol. In this paper, we present a partial flushing approach aimed at reducing retranslation overhead and improving overall performance, given a fixed memory budget. Our technique applies uniformly to single-threaded and multi-threaded guest applications.
机译:动态二进制翻译器(DBT)由于其强大的功能和灵活性而变得越来越重要。但是,DBT的高内存需求为所有平台,尤其是嵌入式系统带来了障碍。通常通过对缓存的转换设置限制并强制DBT在达到限制后刷新所有转换来控制内存需求。该解决方案表现为效率低下,因为许多冲洗后的翻译需要重新翻译。理想情况下,应有选择地清除翻译,以在给定的内存限制下最大程度地减少重新翻译。但是,存在三个障碍:(1)很难预测哪些选择将最大程度地减少重新翻译;(2)选择性冲洗比完全冲洗导致簿记开销更大;(3)多核处理器和多线程编程的出现使大多数冲洗算法复杂化。这些问题导致完全冲洗作为标准协议被广泛采用。在本文中,我们给出了部分刷新方法,目的是在给定内存预算的情况下减少重新翻译的开销并提高整体性能。我们的技术统一应用于单线程和多线程的来宾应用程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号