• DocumentCode
    2235500
  • Title

    Persistent Code Caching: Exploiting Code Reuse Across Executions and Applications

  • Author

    Reddi, Vijay Janapa ; Connors, Dan ; Cohn, Robert ; Smith, Michael D.

  • Author_Institution
    Colorado Univ.
  • fYear
    2007
  • fDate
    11-14 March 2007
  • Firstpage
    74
  • Lastpage
    88
  • Abstract
    Run-time compilation systems are challenged with the task of translating a program´s instruction stream while maintaining low overhead. While software managed code caches are utilized to amortize translation costs, they are ineffective for programs with short run times or large amounts of cold code. Such program characteristics are prevalent in real-life computing environments, ranging from graphical user interface (GUI) programs to large-scale applications such as database management systems. Persistent code caching addresses these issues. It is described and evaluated in an industry-strength dynamic binary instrumentation system - Pin. The proposed approach improves the intra-execution model of code reuse by storing and reusing translations across executions, thereby achieving inter-execution persistence. Dynamically linked programs leverage inter-application persistence by using persistent translations of library code generated by other programs. New translations discovered across executions are automatically accumulated into the persistent code caches, thereby improving performance over time. Inter-execution persistence improves the performance of GUI applications by nearly 90%, while inter-application persistence achieves a 59% improvement. In more specialized uses, the SPEC2K INT benchmark suite experiences a 26% improvement under dynamic binary instrumentation. Finally, a 400% speedup is achieved in translating the Oracle database in a regression testing environment
  • Keywords
    cache storage; program compilers; program interpreters; software reusability; Oracle database; Pin dynamic binary instrumentation system; code reuse; graphical user interface; large-scale applications; persistent code caching; program instruction stream; regression testing environment; run-time compilation; software managed code caches; Application software; Computer interfaces; Costs; Databases; Graphical user interfaces; Instruments; Libraries; Runtime; Testing; Virtual manufacturing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Code Generation and Optimization, 2007. CGO '07. International Symposium on
  • Conference_Location
    San Jose, CA
  • Print_ISBN
    0-7695-2764-7
  • Type

    conf

  • DOI
    10.1109/CGO.2007.29
  • Filename
    4145106