Reducing pressure in bounded DBT code caches

12 years 3 months ago
Reducing pressure in bounded DBT code caches
Dynamic binary translators (DBT) have recently attracted much attention for embedded systems. The effective implementation of DBT in these systems is challenging due to tight constraints on memory and performance. A DBT uses a software-managed code cache to hold blocks of translated code. To minimize overhead, the code cache is usually large so blocks are translated once and never discarded. However, an embedded system may lack the resources for a large code cache. This constraint leads to significant slowdowns due to the retranslation of blocks prematurely discarded from a small code cache. This paper addresses the problem and shows how to impose a tight size bound on the code cache without performance loss. We show that about 70% of the code cache is consumed by instructions that the DBT introduces for its own purposes. Based on this observation, we propose novel techniques that reduce the amount of space required by DBT-injected code, leaving more room for actual application code a...
José Baiocchi, Bruce R. Childers, Jack W. D
Added 12 Oct 2010
Updated 12 Oct 2010
Type Conference
Year 2008
Authors José Baiocchi, Bruce R. Childers, Jack W. Davidson, Jason Hiser
Comments (0)