Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Cache Behavior Modelling for Codes Involving Banded Matrices

  • Conference paper
Languages and Compilers for Parallel Computing (LCPC 2006)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 4382))

  • 546 Accesses

Abstract

Understanding and improving the memory hierarchy behavior is one of the most important challenges in current architectures. Analytical models are a good approach for this, but they have been traditionally limited by either their restricted scope of application or their lack of accuracy. Most models can only predict the cache behavior of codes that generate regular access patterns. The Probabilistic Miss Equation(PME) model is able nevertheless to model accurately the cache behavior for codes with irregular access patterns due to data-dependent conditionals or indirections. Its main limitation is that it only considers irregular access patterns that exhibit an uniform distribution of the accesses. In this work, we extend the PME model to enable to analyze more realistic and complex irregular accesses. Namely, we consider indirections due to the compressed storage of most real banded matrices.

This work has been supported in part by the Ministry of Science and Technology of Spain under contract TIN 2004-07797-C02-02 and Xunta de Galicia under contract PGIDIT 03TIC10502PR.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Uhlig, R., Mudge, T.N.: Trace-driven memory simulation: A survey. ACM Comput. Surv. 29(2), 128–170 (1997)

    Article  Google Scholar 

  2. Ammons, G., Ball, T., Larus, J.R.: Exploiting Hardware Performance Counters with Flow and Context Sensitive Profiling. In: SIGPLAN Conf. on Programming Language Design and Implementation, pp. 85–96 (1997)

    Google Scholar 

  3. Ghosh, S., Martonosi, M., Malik, S.: Cache Miss Equations: A Compiler Framework for Analyzing and Tuning Memory Behavior. ACM Transactions on Programming Languages and Systems 21(4), 702–745 (1999)

    Article  Google Scholar 

  4. Chatterjee, S., et al.: Exact Analysis of the Cache Behavior of Nested Loops. In: Proceedings of the ACM SIGPLAN’01 Conf. on Programming Language Design and Implementation, June 2001, pp. 286–297. ACM Press, New York (2001)

    Chapter  Google Scholar 

  5. Doallo, R., Fraguela, B.B., Zapata, E.L.: Cache probabilistic modeling for basic sparse algebra kernels involving matrices with a non uniform distribution. In: Proceedings of EUROMICRO Conference, Engineering Systems and Software for the Next Decade, August, pp. 345–348 (1998)

    Google Scholar 

  6. Cascaval, C.: Compile-time Performance Prediction of Scientific Programs. PhD thesis, Dept. of Computer Science, University of Illinois at Urbana-Champaign (2000)

    Google Scholar 

  7. Andrade, D., Fraguela, B.B., Doallo, R.: Analytical modeling of codes with arbitrary data-dependent conditional structures. Journal of Systems Architecture 52, 394–410 (2006)

    Article  Google Scholar 

  8. Andrade, D., Fraguela, B.B., Doallo, R.: Precise automatable analytical modeling of the cache behavior of codes with indirections. ACM Transactions on Architecture and Code Optimization (Accepted for publication, 2006)

    Google Scholar 

  9. Andrade, D., et al.: Automated and accurate cache behavior analysis for codes with irregular access patterns. In: Proceedings of Workshop on Compilers for Parallel Computers, A Coruña, Spain, pp. 179–193 (2006)

    Google Scholar 

  10. Duff, I.S., Erisman, A.M., Reid, J.K.: Direct Methods for Sparse Matrices. Oxford Science Publications, Oxford (1986)

    MATH  Google Scholar 

  11. Barrett, R., et al.: Templates for the Solution of Linear Systems: Building Blocks for Iterative Methods. Society for Industrial and Applied Mathematics, Philadalphia (1994), citeseer.ist.psu.edu/article/barrett93templates.html

    Google Scholar 

  12. Chow, E., Saad, Y.: Tools and Libraries for Parallel Sparse Matrix Computations (1995)

    Google Scholar 

  13. Lin, Y., Padua, D.A.: On the automatic parallelization of sparse and irregular fortran programs. In: Languages, Compilers, and Run-Time Systems for Scalable Computers, Pittsburgh, pp. 41–56 (1998)

    Google Scholar 

  14. Duff, I.S., Grimes, R.G., Lewis, J.G.: Users’ guide for the Harwell-Boeing sparse matrix collection (Release I). Technical Report CERFACS TR-PA-92-96 (1992)

    Google Scholar 

  15. Bai, Z., Day, D., Demmel, J., Dongarra, J.: A test matrix collection for non-Hermitian eigenvalue problems, release 1.0 (1996)

    Google Scholar 

  16. Vera, X., Xue, J.: Efficient and accurate analytical modeling of whole-program data cache behavior. IEEE Transactions on Computers 53(5), 547–566 (2004)

    Article  Google Scholar 

  17. Ladner, R.E., Fix, J.D., LaMarca, A.: Cache performance analysis of traversals and random accesses. In: Proceeding of the annual ACM-SIAM Symposium on Discrete Algorithms, Baltimore, Maryland, United States, pp. 613–622. Society for Industrial and Applied Mathematics, Philadelphia (1999)

    Google Scholar 

  18. Mitchell, N., Carter, L., Ferrante, J.: A modal model of memory. In: Alexandrov, V.N., et al. (eds.) Computational Science - ICCS 2001. LNCS, vol. 2073, pp. 81–96. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

George Almási Călin Caşcaval Peng Wu

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer Berlin Heidelberg

About this paper

Cite this paper

Andrade, D., Fraguela, B.B., Doallo, R. (2007). Cache Behavior Modelling for Codes Involving Banded Matrices. In: Almási, G., Caşcaval, C., Wu, P. (eds) Languages and Compilers for Parallel Computing. LCPC 2006. Lecture Notes in Computer Science, vol 4382. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-72521-3_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-72521-3_16

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-72520-6

  • Online ISBN: 978-3-540-72521-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics