Fragment cache management for dynamic binary translators in embedded systems with scratchpad

  • Authors:
  • Jose Baiocchi;Bruce R. Childers;Jack W. Davidson;Jason D. Hiser;Jonathan Misurda

  • Affiliations:
  • University of Pittsburgh;University of Pittsburgh;University of Virginia;University of Virginia;University of Pittsburgh

  • Venue:
  • CASES '07 Proceedings of the 2007 international conference on Compilers, architecture, and synthesis for embedded systems
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Dynamic binary translation (DBT) has been used to achieve numerous goals (e.g., better performance) for general-purpose computers. Recently, DBT has also attracted attention for embedded systems. However, a challenge to DBT in this domain is stringent constraints on memory and performance. The translated code buffer used by DBT may occupy too much memory space. This paper proposes novel schemes to manage this buffer with scratchpad memory. We use footprint reduction to minimize the space needed by the translated code, victim compression to reduce the cost of retranslating previously seen code, and fragment pinning to avoid evicting needed code. We comprehensively evaluate our techniques to demonstrate their effectiveness.