Skip to main content

LIKWID: Lightweight Performance Tools

  • Conference paper
  • First Online:
Competence in High Performance Computing 2010

Abstract

Exploiting the performance of today’s microprocessors requires intimate knowledge of the microarchitecture as well as an awareness of the ever-growing complexity in thread and cache topology. LIKWID is a set of command line utilities that addresses four key problems: Probing the thread and cache topology of a shared-memory node, enforcing thread-core affinity on a program, measuring performance counter metrics, and microbenchmarking for reliable upper performance bounds. Moreover, it includes an mpirun wrapper allowing for portable thread-core affinity in MPI and hybrid MPI/threaded applications. To demonstrate the capabilities of the tool set we show the influence of thread affinity on performance using the well-known OpenMP STREAM triad benchmark, use hardware counter tools to study the performance of a stencil code, and finally show how to detect bandwidth problems on ccNUMA-based compute nodes.

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
Hardcover Book
USD 109.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. Homepage of LIKWID tool suite http://code.google.com/p/likwid/

  2. Jost, G., Haoqiang, J., Labarta, J., Gimenez, J., Caubet, J.: Performance analysis of multilevel parallel applications on shared memory architectures. Proceedings of the Parallel and Distributed Processing Symposium (2003)

    Google Scholar 

  3. Gerndt, M., Kereku, E.: Automatic Memory Access Analysis with Periscope. ICCS ’07: Proceedings of the 7th international conference on Computational Science pp. 847–854 (2007)

    Google Scholar 

  4. Gerndt, M., Fürlinger, K., Kereku, E.: Periscope: Advanced Techniques for Performance Analysis. PARCO, pp. 15–26 (2005)

    Google Scholar 

  5. Terpstra, D., Jagode, H., You, H., Dongarra, J.: Collecting Performance Data with PAPI-C. Proceedings of the 3rd Parallel Tools Workshop, Springer, Dresden, Germany (2010)

    Google Scholar 

  6. Browne, S., Deane, C., Ho, G., Mucci, P.: PAPI: A Portable Interface to Hardware Performance Counters. Proceedings of Department of Defense HPCMP Users Group Conference, June (1999)

    Google Scholar 

  7. Drongowski, P.J.: Basic Performance Measurements for AMD Athlon 64, AMD Opteron and AMD Phenom Processors. Technical Note, Advanced Micro Devices, Inc. Boston Design Center, September (2008)

    Google Scholar 

  8. DeRose, L., Homer, B., Johnson, D.: Detecting application load imbalance on high end massively parallel systems. Euro-Par 2007 Parallel Processing Conference, pp. 150–159 (2007)

    Google Scholar 

  9. Hager, G., Wellein, G.: Introduction to High Performance Computing for Scientists and Engineers. CRC Press, ISBN 978-1439811924, July (2010)

    Google Scholar 

Download references

Acknowledgment

We are indebted to Intel Germany for providing test systems and early access hardware for benchmarking. A special acknowledgment goes to Michael Meier, who had the basic idea for likwid-pin , implemented the prototype, and provided many useful thoughts in discussions. This work was supported by the Competence Network for Scientific and Technical High Performance Computing in Bavaria (KONWIHR) under the project “OMI4papps.”

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jan Treibig .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Treibig, J., Hager, G., Wellein, G. (2011). LIKWID: Lightweight Performance Tools. In: Bischof, C., Hegering, HG., Nagel, W., Wittum, G. (eds) Competence in High Performance Computing 2010. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-24025-6_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-24025-6_14

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-24024-9

  • Online ISBN: 978-3-642-24025-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics