期刊文献+

动态二进制翻译器qemu的Tcache管理策略 被引量:2

TCACHE MANAGEMENT SCHEMES FOR DYNAMIC BINARY TRANSLATOR QEMU
下载PDF
导出
摘要 动态二进制翻译器qemu使用Tcache对翻译后的优化代码进行存储和管理,好的Tcache管理策略能使得程序的执行速度大大提高。介绍了动态二进制翻译过程中的Tcache的特点,以及二进制翻译系统中一些常用的Tcache替换方法,主要包括最近最少使用方法、全清空和先进先出,针对qemu设计结合先进先出和全清空算法的Tcache管理方法。最后在龙芯2F的实验平台上实现了全清空、先进先出和将前面两者结合的方法,发现最后一种效果最好,性能得到了提升。 The qemu which is a dynamic binary translator stores and manages the translated and optimised codes in Tcache,the program performance in execution speed can be greatly enhanced when good management schemes are used.This paper presents the characteristics of the Tcache in dynamic binary translation processes and several common Tcache substitution algorithms in binary translation systems,mainly including LRU,FIFO and full flush.Aiming at qemu,the Tcache management scheme in combination with FIFO and full flush algorithms is designed.Finally,the schemes of full flush,FIFO and the combination of the previous two methods are implemented on experimental platform of Loongson 2F,and it is found that the last method demonstrates the best effect with improved performance.
作者 殷金彪 宋强
出处 《计算机应用与软件》 CSCD 北大核心 2012年第9期98-100,共3页 Computer Applications and Software
基金 "核心电子器件 高端通用芯片及基础软件产品"(核高基)国家重大科技专项课题(2009ZX01028-002-003-005)
关键词 动态二进制翻译 先进先出 全清空 Tcache Dynamic binary translation, FIFO ,Full flush ,Tcache
  • 相关文献

参考文献4

二级参考文献10

  • 1谢海斌,武成岗,张兆庆,冯晓兵.动态二进制翻译中的代码Cache管理策略[J].计算机工程,2005,31(10):97-99. 被引量:4
  • 2Hazelwood K, Smith M D.Generational Cache Management of Code Traces in Dynamic Optimization Systems. Proceedings of the 36th International Symposium on Microarchitecture (MICP O-36-2003),0-7695-2043-x/03 $17.00 2003 IEEE, 2003
  • 3Hazelwood K, Smith M D. Code Cache Management Schemes for Dynamic Optimizers. Proceedings of the Sixth Annual Workshop on Interaction Between Compilers and Computer Architectures (INTERACT.02), 0-7695-1534-7/02 $17.00 2002 IEEE, 2002
  • 4Bala V, Duesterwald E, Banerjia S. Dynamo: A Transparent Dynamic Optimization System. Proceedings of the ACM SIGPLAN'00Conference on Programming Language Design and Implemantation.2000:1 - 12
  • 5Bruening D, Garnett T, Amarasinghe S. An Infrastructure for Adaptive Dynamic Optimization. In First Annual International Symposium on Code Generation and Optimization, 2003-03:265-275
  • 6Smith J E,Nair R.Virtual machines-versatile platforms for systems and processes.Beijing:Publishing House of Electronics Industry,2006:133-139.
  • 7Hazelwood K,Smith M D.Code cache management schemes for dynamic optimizers.Proceedings of the Sixth Annual Workshop on Interaction between Compilers and Computer Architectures,IEEE,2002.
  • 8Bala V,Duesterwald E,Banerjia S.Dynamo:a transparent dynamic optimization system.In Proceedings of the ACM SIGPLAN'2000 Conference on Programming Language Design and Implementation,2000.
  • 9Chen W,Lerner S,Chaiken R,et al.Mojo:a dynamic optimization system.Proceedings of the 3rd Workshop on Feedback-Directed and Dynamic Optimization,2000.
  • 10Hazelwood K,Smith J E.Exploring code cache eviction granularities in dynamic optimization systems.Proceedings of the International Symposium on Code Generation and Optimization,IEEE,2004.

共引文献7

同被引文献16

  • 1Altman E R, Ebcioglu K, Gschwind M, et al. Advances and future challenges in binary translation and optimization [J]. Proceedings of the IEEE, 2001, 89(11): 1710-1722.
  • 2Bohm I, yon Koch T J K E, Kyle S, et al. Generalized just- in-time trace compilation using a parallel task farm in a dynamic binary translator [J]. ACM SIGPLAN Notices, 2011, 46(6): 74-85.
  • 3Baiocchi J A, Childers B R, Davidson J W, et al. Reducing pressure in bounded DBT code caches[C] //Proceedings of the International Conference on Compilers, Architectures and Synthesis for Embedded Systems.~ New York: ACM Press, 2008:109-118.
  • 4Ma R H, Guan H B, Zhu E Z, etal. Code cache management based on working set in dynamic binary translator [J]. Computer Science and Information Systems, 2011, 8(3) : 653- 671.
  • 5Baiocchi J, Childers B R, Davidson J W, et al. Fragment cache management for dynamic binary translators in embedded systems with scratchpad [C] //Proceedings of the International Conference on Compilers, Architecture, and Synthesis for Embedded Systems. New York: ACM Press, 2007 : 75-84.
  • 6Guha A, Hazelwood K, Sofia M L. Reducing exit stub memory consumption in code caches [C] //Proceedings of the 2nd International Conference on High Performance Embedded Architectures and Compilers. Heidelberg.. Springer, 2007: 87-101.
  • 7Hiser J D, Williams D, Filipi A, et al. Evaluating fragment construction policies for SDT systems [C] //Proceedings of the 2nd International Conference on Virtual Exeeution Environments. New York: ACM Press, 2006:122-132.
  • 8Ung D, Cifuentes C. Optimising hot paths in a dynamic binary translator [J]. ACM SIGARCH Computer Architecture News, 2001, 29(1): 55-65.
  • 9Sato Y, Inoguchi Y, Nakamura T. On-the-fly detection of precise loop nests across procedures on a dynamic binary translation system [C] //Proceedings of the 8th ACM International Conference on Computing Frontiers. New York: ACM Press, 2011: 1-10.
  • 10Harris L C, Miller B P. Practical analysis of stripped binary code [J]. ACM SIGARCH Computer Architecture News, 2005, 33(5): 63-68.

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部