skip to main content
article

An intermediate language level optimization framework for dynamic binary translation

Published:01 May 2007Publication History
Skip Abstract Section

Abstract

This paper presents an intermediate language level optimization framework for dynamic binary translation. Performance is important to a dynamic binary translation system, so there has been a growing interest in exploring new optimization algorithms. The framework proposed in this paper includes efficient profiling, hot code recognition and smart code cache management policies. Profiling is responsible for collecting runtime information, which will be used by hot code recognition and code cache management algorithms. We only focus on recognizing the hottest code, and assign priorities to basic blocks according to their hotness to facilitate code cache management.

References

  1. Evelyn Duesterwald, Vasanth Bala, "Software Profiling for Hot Path Prediction: Less is More", ACM SIGOPS Operating Systems Review, Volume 34, Issue 5, Dec. 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Thomas Ball, James R. Larus, "Efficient Path Profiling", 29th Annual IEEE/ACM International Symposium on Microarchitecture, p. 46, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Thomas Ball, Peter Mataga, Mooly Sagiy, "Edge profiling versus path profiling: the showdown", Proceedings of the 25th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, page 134--148, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Joshi. R., Bond. M. D., Zilles. C., "Targeted path profiling: lower overhead path profiling for staged dynamic optimization systems", Proceedings of the 25th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, page 134--148, 1998.Google ScholarGoogle Scholar
  5. M. Arnold and B. G. Ryder, "A framework for reducing the cost of instrumented code", In Proceedings of the Conference on Programming Language Design and Implementation, pages 168--179, June 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. David Melski, Thomas W. Reps, "Interprodedural Path Profiling", Proceedings of the 8th International Conference on Compiler Construction, Pages 47--62, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Hazelwood, K. Smith, J. E, "Exploring code cache eviction granularities in dynamic optimization systems", International Symposium on Code Generation and Optimization, 2004. CGO 2004., March 2004 Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Hazelwood, K. Smith, M. D., "Code cache management schemes for dynamic optimizers", Interaction between Compilers and Computer Architectures, 2002. Proceedings. Sixth Annual Workshop, 2002 Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. S Zhou, BR Childers, ML Soffa, "Planning for Code Buffer Management in Distributed Virtual Execution Environments", Proceedings of the 1st ACM/USENIX international conference, 2005 Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. K Scott, N Kumar, S Velusamy, B Childers, "Retargetable and Reconfigurable Software Dynamic Translation", International Symposium on Code Generation and Optimization, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. C. M. Merten, A. Trick, C. N. George, J. C. Gyllenhaal, and W.-M.W. Hwu. "A hardware-driven profiling scheme for identifying program hot spots to support runtime optimization." In Proc. of the 26th Int. Symp. on Computer Architecture. Atlanta, Georgia, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. David Ung and Cristina Cifuentes, "Optimising Hot Paths In a Dynamic Binary Translator", ACM SIGARCH Computer Architecture News, Volume 29, Pages: 55--65, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. M. Voss and R. Eigenmann, "A framework for remote dynamic program optimization", Proceedings of the ACM Workshop on Dynamic Optimization, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. S. Sathaye, P. Ledak, J. LeBlanc, S. Kosonocky, M. Gschwind, J. Fritts, Z. Filan, A. Bright, D. Appenzeller, E. Altman, and C. Agricola, "BOA: Targeting multigigahertz with binary translation." In Proc. of the 1999 Workshop on Binary Translation, Newport Beach, CA., October 1999.Google ScholarGoogle Scholar
  15. V. Bala, E. Duesterwald and S. Banerjia, "Dynamo: A Transparent Dynamic Optimization System", Proceedings of th ACM SIGPLAN 2000 conference on Programming language design and implementation, Vancouver, Canada, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. An intermediate language level optimization framework for dynamic binary translation

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader