Skip to main content

Performance Optimization and Evaluation for Linear Codes

  • Conference paper
  • 2593 Accesses

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

Abstract

In this paper, we develop a probabilistic model for estimation of the numbers of cache misses during the sparse matrix-vector multiplication (for both general and symmetric matrices) and the Conjugate Gradient algorithm for 3 types of data caches: direct mapped, s-way set associative with random or with LRU replacement strategies. Using HW cache monitoring tools, we compare the predicted number of cache misses with real numbers on Intel x86 architecture with L1 and L2 caches. The accuracy of our analytical model is around 96%.

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Tvrdík, P., Šimeček, I.: Analytical modeling of sparse linear code. In: PPAM, Czestochova, Poland, vol. 12, pp. 617–629 (2003)

    Google Scholar 

  2. Temam, O., Jalby, W.: Characterizing the Behavior of Sparse Algorithms on Caches. In: Supercomputing, pp. 578–587 (1992)

    Google Scholar 

  3. Wadleigh, K.R., Crawford, I.L.: Software optimization for high performance computing. Hewlett-Packard professional books (2000)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Tvrdík, P., Šimeček, I. (2005). Performance Optimization and Evaluation for Linear Codes. In: Li, Z., Vulkov, L., Waśniewski, J. (eds) Numerical Analysis and Its Applications. NAA 2004. Lecture Notes in Computer Science, vol 3401. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-31852-1_69

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-31852-1_69

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-24937-5

  • Online ISBN: 978-3-540-31852-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics