TransCache management method based on hot degree of code in dynamic binary translation

A dynamic binary and cache management technology, applied in the field of translation cache (TransCache) management based on code heat, can solve the problem of not considering program time locality and execution characteristics, save traversal time, improve management efficiency, and improve translation efficiency Effect

Inactive Publication Date: 2016-08-10
COMP APPL RES INST CHINA ACAD OF ENG PHYSICS
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The basis for the implementation of the full clear strategy based on the working set is that the execution of the program requires a clear phase distinction. The non-replacement strategy requires the TransCache space to be large enough. The largest block priority replacement strategy only considers the spatial locality of the program, but does not consider the temporal locality of the program. performance characteristics

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • TransCache management method based on hot degree of code in dynamic binary translation
  • TransCache management method based on hot degree of code in dynamic binary translation
  • TransCache management method based on hot degree of code in dynamic binary translation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The technical solutions in the embodiments of the present invention and the TransCache management method in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the present invention. The dynamic binary translation system adopted in this embodiment is the QEMU system. Obviously, the described embodiments are only some specific embodiments of the present invention, and the method can also be extended to other dynamic binary translation systems. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0043] In the translation cache management method based on code popularity in dynamic binary translation of the present invention, the code blocks in TransCache are divided according to their execution times, that is, their popularity, and th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention provides a translation cache management method based on code popularity in dynamic binary translation. The method includes the steps of: dividing the entire translation cache into two levels of cache; when there is a new basic block to be translated, according to the basic block Find the code block in the hot code cache according to the address; look up the code block in the sub-code cache according to the address of the basic block; calculate the space required for caching the code block; clear the sub-code cache; translate the basic block, and store the translated code block into the sub-code cache; execute the code block; count the number of executions of the code block, if the number of executions is greater than the threshold, the code block is cached into The hot code cache; adding the basic block into the slow hash table, and adding the result into the fast hash table.

Description

technical field [0001] The invention relates to a dynamic binary translation cache management technology in the field of computer applications, in particular to a translation cache (TransCache) management method based on code heat in dynamic binary translation. Background technique [0002] In recent years, binary translation technology has become an important means to implement code transplantation by software. Since the research on binary translation and related optimization technology is of great significance in code porting, virtual machine, network application, computer security and hardware development, etc., it has become one of the hotspots of modern computer research. [0003] Dynamic binary translation technology is a main direction for the future development of binary translation technology. It dynamically translates the binary program of the source target machine into the binary program of the target machine. The basic working principle of dynamic binary transl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45
CPCG06F8/52
Inventor 邓霏高峰
Owner COMP APPL RES INST CHINA ACAD OF ENG PHYSICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products