【24h】

Reducing Exit Stub Memory Consumption in Code Caches

机译:减少代码缓存中的出口存根内存消耗

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

摘要

The interest in translation-based virtual execution environments (VEEs) is growing with the recognition of their importance in a variety of applications. However, due to constrained memory and energy resources, developing a VEE for an embedded system presents a number of challenges. In this paper we focus on the VEE's memory overhead, and in particular, the code cache. Both code traces and exit stubs are stored in a code cache. Exit stubs keep track of the branches off a trace, and we show they consume up to 66.7% of the code cache. We present four techniques for reducing the space occupied by exit stubs, two of which assume unbounded code caches and the absence of code cache invalidations, and two without these restrictions. These techniques reduce space by 43.5% and also improve performance by 1.5%. After applying our techniques, the percentage of space consumed by exit stubs in the resulting code cache was reduced to 41.4%.
机译:随着人们认识到它们在各种应用中的重要性,对基于翻译的虚拟执行环境(VEE)的兴趣与日俱增。但是,由于内存和能源的限制,为嵌入式系统开发VEE带来了许多挑战。在本文中,我们重点关注VEE的内存开销,尤其是代码缓存。代码跟踪和出口存根都存储在代码缓存中。出口存根跟踪分支的痕迹,我们显示它们消耗了多达66.7%的代码缓存。我们提出了四种减少出口存根占用的空间的技术,其中两种假定无限制的代码缓存和不存在代码缓存无效性,另外两种则没有这些限制。这些技术可将空间减少43.5%,并将性能提高1.5%。应用我们的技术后,结果代码缓存中出口存根消耗的空间百分比降低到41.4%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号