Technologies for translation cache management in binary translation systems
Abstract
Technologies for optimized binary translation include a computing device that determines a cost-benefit metric associated with each translated code block of a translation cache. The cost-benefit metric is indicative of translation cost and performance benefit associated with the translated code block. The translation cost may be determined by measuring translation time of the translated code block. The cost-benefit metric may be calculated using a weighted cost-benefit function based on an expected workload of the computing device. In response to determining to free space in the translation cache, the computing device determines whether to discard each translated code block as a function of the cost-benefit metric. In response to determining to free space in the translation cache, the computing device may increment an iteration count and skip each translated code block if the iteration count modulo the corresponding cost-benefit metric is non-zero. Other embodiments are described and claimed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computing device for optimized binary translation, the computing device comprising: a processor; and a memory storing a plurality of instructions, which, when executed by the processor, causes the computing device to: determine a cost-benefit metric associated with each translated code block of a translation cache, wherein each cost-benefit metric is determined as a function of a square root of a product of a translation time for the corresponding translated code block multiplied by a performance benefit for the corresponding translated code block, wherein the translation time comprises an a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (1)
- Hazelwood, Kim and Michael D. Smith. "Code Cache Management Schemes for Dynamic Optimizers." Feb. 3, 2002. Proceedings of the Sixth Annual Workshop on Interaction between Compilers and Computer Architectures (INTERACT02) pp. 1-9. (Year: 2002).