计算机应用与软件2012,Vol.29Issue(9):98-100,3.DOI:10.3969/j.issn.1000-386x.2012.09.026
动态二进制翻译器qemu的Tcache管理策略
TCACHE MANAGEMENT SCHEMES FOR DYNAMIC BINARY TRANSLATOR QEMU
摘要
Abstract
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.关键词
动态二进制翻译/先进先出/全清空/TcacheKey words
Dynamic binary translation/FIFO/Full flush/Tcache分类
信息技术与安全科学引用本文复制引用
殷金彪,宋强..动态二进制翻译器qemu的Tcache管理策略[J].计算机应用与软件,2012,29(9):98-100,3.基金项目
"核心电子器件、高端通用芯片及基础软件产品"(核高基)国家重大科技专项课题(2009ZX01028-002-003-005). (核高基)