Skip to main content

Enhancing the Performance of Multigrid Smoothers in Simultaneous Multithreading Architectures

  • Conference paper
High Performance Computing for Computational Science - VECPAR 2006 (VECPAR 2006)

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

Abstract

We have addressed in this paper the implementation of red-black multigrid smoothers on high-end microprocessors. Most of the previous work about this topic has been focused on cache memory issues due to its tremendous impact on performance. In this paper, we have extended these studies taking Simultaneous Multithreading (SMT) into account. With the introduction of SMT, new possibilities arise, which makes a revision of the different alternatives highly advisable. A new strategy is proposed that focuses on inter-thread sharing to tolerate the increasing penalties caused by memory accesses. Performance results on an IBM’s Power5 based system reveal that our alternative scheme can compete with and even improve sophisticated schemes based on tailored loop fusion and tiling transformations aimed at improving temporal locality.

This work has been supported by the Spanish research grants TIC 2002-750 and TIN 2005-5619.

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 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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Adams, M.F., et al.: Parallel multigrid smoothing: polynomial versus Gauss-Seidel. J. Comp. Phys. 188(2), 593–610 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  2. Chow, E., et al.: A survey of parallelization techniques for multigrid solvers. Technical report (2004)

    Google Scholar 

  3. Friedrich-Alexander University Erlangen-Nuremberg. Department of Computer Science 10. DIME project. Available at http://www10.informatik.uni-erlangen.de/Research/Projects/DiME-new

  4. Douglas, C.C., et al.: Cache Optimization for Structured and Unstructured Grid Multigrid. Electronic Transactions on Numerical Analysis (ETNA) 10, 21–40 (2000)

    MATH  Google Scholar 

  5. Hülsemann, F., et al.: Parallel geometric multigrid. Lecture Notes in Computer Science and Engineering 51, 165–208 (2005)

    Article  Google Scholar 

  6. Kalla, R.N., Sinharoy, B., Tendler, J.M.: IBM Power5 chip: A dual-core multithreaded processor. IEEE Micro 24(2), 40–47 (2004)

    Article  Google Scholar 

  7. Kowarschik, M., et al.: Cache-Aware Multigrid Methods for Solving Poisson’s Equation in Two Dimensions. Computing 64, 381–399 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  8. Kowarschik, M., Weiß, C., Rüde, U.: Data Layout Optimizations for Variable Coefficient Multigrid. In: Sloot, P.M.A., et al. (eds.) Computational Science - ICCS 2002. LNCS, vol. 2331, pp. 642–651. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  9. Lo, J.L., et al.: Tuning compiler optimizations for simultaneous multithreading. In: International Symposium on Microarchitecture, pp. 114–124 (1997), citeseer.ist.psu.edu/lo97tuning.html

  10. Mitchell, W.: Parallel adaptive multilevel methods with full domain partitions. App. Num. Anal. and Comp. Math 1, 36–48 (2004)

    Article  MATH  Google Scholar 

  11. Prieto, M., et al.: A parallel multigrid solver for viscous flows on anisotropic structured grids. Parallel Computing 29(7), 907–923 (2003)

    Article  MathSciNet  Google Scholar 

  12. Prieto, M., et al.: Parallel multigrid for anisotropic elliptic equations. J. Parallel Distrib. Comput. 61(1), 96–114 (2001)

    Article  MATH  Google Scholar 

  13. Quinlan, D., Bassetti, F., Keyes, D.: Temporal locality optimizations for stencil operations within parallel object-oriented scientific frameworks on cache-based architectures. In: Proceedings of the PDCS’98 Conference (July 1998)

    Google Scholar 

  14. Rüde, U.: Iterative Algorithms on High Performance Architectures. In: Lengauer, C., Griebl, M., Gorlatch, S. (eds.) Euro-Par 1997. LNCS, vol. 1300, pp. 26–29. Springer, Heidelberg (1997)

    Chapter  Google Scholar 

  15. Thomas, J.L., Diskin, B., Brandt, A.: Textbook multigrid efficiency for fluid simulations. Annual Review of Fluid Mechanics 35, 317–340 (2003)

    Article  MathSciNet  Google Scholar 

  16. Trottenberg, U., Oosterlee, C., Schller, A.: Multigrid. Academic Press, London (2000)

    Google Scholar 

  17. Tullsen, D.M., Eggers, S.J., Levy, H.M.: Simultaneous multithreading: Maximizing on-chip parallelism. In: 25 Years ISCA: Retrospectives and Reprints, pp. 533–544 (1998)

    Google Scholar 

  18. Weiß, C., et al.: Memory Characteristics of Iterative Methods. In: Proc. of the ACM/IEEE Supercomputing Conf. (SC99), Portland, Oregon, USA, IEEE Computer Society Press, Los Alamitos (1999)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Michel Daydé José M. L. M. Palma Álvaro L. G. A. Coutinho Esther Pacitti João Correia Lopes

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer Berlin Heidelberg

About this paper

Cite this paper

García, C., Prieto, M., Setoain, J., Tirado, F. (2007). Enhancing the Performance of Multigrid Smoothers in Simultaneous Multithreading Architectures. In: Daydé, M., Palma, J.M.L.M., Coutinho, Á.L.G.A., Pacitti, E., Lopes, J.C. (eds) High Performance Computing for Computational Science - VECPAR 2006. VECPAR 2006. Lecture Notes in Computer Science, vol 4395. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-71351-7_34

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-71351-7_34

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-71350-0

  • Online ISBN: 978-3-540-71351-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics