Skip to main content

Predicting Memory Phases

  • Chapter
  • First Online:
Machine Learning and Systems Engineering

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 68))

  • 2955 Accesses

Abstract

The recent years, phase classification has frequently been discussed as a method to guide scheduling, compiler optimizations and program simulations. In this chapter, I introduce a new classification method called Setvectors. I show that the new method outperforms classification accuracy of state-of-the-art methods by approximately 6–25%, while it has about the same computational complexity as the fastest known methods. Additionally, I introduce a new method called PoEC (Percentage of Equal Clustering) to objectively compare phase classification techniques.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. K. Beyls, E.H. D’Hollander, Reuse distance as a metric for cache behavior, in Proceedings of the IASTED Conference on Parallel and Distributed Computing and Systems, 2001

    Google Scholar 

  2. A.S. Dhodapkar, J.E. Smith, Managing multi-configuration hardware via dynamic working set analysis, in International Symposium on Computer Architecture (ISCA’02), 2002

    Google Scholar 

  3. E. Duesterwald, C. Cascaval, S. Dwarkadas, Characterizing and predicting program behavior and its variability, in 12th International Conference on Parallel Architectures and Compilation Techniques (PACT’03), 2003

    Google Scholar 

  4. C. Fang, S. Carr, S. Önder, Z. Wang, Reuse-distance-based miss-rate prediction on a per instruction basis, in Proceedings of the 2004 Workshop on Memory System Performance, 2004

    Google Scholar 

  5. T. Huffmire, T. Sherwood, Wavelet-based phase classification, in Parallel Architectures and Compilation Techniques (PACT’06), 2006

    Google Scholar 

  6. C. Jacobs, A. Finkelstein, D. Salesin, Fast multiresolution image querying, in Proceedings of the 22nd Annual Conference on Computer Graphics and Interactive Techniques, 1995

    Google Scholar 

  7. J. Lau, J. Sampson, E. Perelman, G. Hamerly, B. Calder, The strong correlation between code signatures and performance. International Symposium on Performance Analysis of Systems and Software, 2005

    Google Scholar 

  8. J. Lau, S. Schoenmackers, B. Calder, Structures for phase classification. International Symposium on Performance Analysis of Systems and Software, 2004

    Google Scholar 

  9. C.-K. Luk, R. Cohn, R. Muth, H. Patil, A. Klausner, G. Lowney, S. Wallace, V.J. Reddi, K. Hazelwood, Pin: building customized program analysis tools with dynamic instrumentation. Programming Language Design and Implementation, 2005

    Google Scholar 

  10. J. MacQueen, Some methods for classification and analysis of multivariate obervations, in Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, vol. 1, pp. 281–297, 1967

    Google Scholar 

  11. Settle, A., Kihm, J.L., Janiszewski, A., and Connors, D. A. (2004). Architectural Support for Enhanced SMT Job Scheduling, in Proceedings of the 13th International Conference of Parallel Architectures and Compilation Techniques

    Google Scholar 

  12. T. Sherwood, E. Perelman, G. Hamerly, B. Calder, Automatically characterizing large scale program behavior, in ASPLOS-X: Proceedings of the 10th International Conference on Architectural Support for Programming Languages and Operating Systems, 2002

    Google Scholar 

  13. E. Stollnitz, T. DeRose, D. Salesin, Wavelets for computer graphics: a primer. IEEE Computer Graphics and Applications, 1995

    Google Scholar 

  14. M. Zwick, M. Durkovic, F. Obermeier, W. Bamberger, K. Diepold, MCCCSim – a highly configurable multi core cache contention simulator. Technical Report – Technische Universität München, https://mediatum2.ub.tum.de/doc/802638/802638.pdf, 2009

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Michael Zwick .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer Science+Business Media B.V.

About this chapter

Cite this chapter

Zwick, M. (2010). Predicting Memory Phases. In: Ao, SI., Rieger, B., Amouzegar, M. (eds) Machine Learning and Systems Engineering. Lecture Notes in Electrical Engineering, vol 68. Springer, Dordrecht. https://doi.org/10.1007/978-90-481-9419-3_32

Download citation

  • DOI: https://doi.org/10.1007/978-90-481-9419-3_32

  • Published:

  • Publisher Name: Springer, Dordrecht

  • Print ISBN: 978-90-481-9418-6

  • Online ISBN: 978-90-481-9419-3

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics