Skip to main content

A Balanced Approach to Application Performance Tuning

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

Abstract

Current hardware trends place increasing pressure on programmers and tools to optimize scientific code. Numerous tools and techniques exist, but no single tool is a panacea; instead, different tools have different strengths. Therefore, an assortment of performance tuning utilities and strategies are necessary to best utilize scarce resources (e.g., bandwidth, functional units, cache).

This paper describes a combined methodology for the optimization process. The strategy combines static assembly analysis using MAQAO with dynamic information from hardware performance monitoring (HPM) and memory traces. We introduce a new technique, decremental analysis (DECAN), to iteratively identify the individual instructions responsible for performance bottlenecks. We present case studies on applications from several independent software vendors (ISVs) on a SMP Xeon Core 2 platform. These strategies help discover problems related to memory access locality and loop unrolling that lead to a sequential performance improvement of a factor of 2.

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

References

  1. Alexandrov, A., Bratanov, S., Fedorova, J., Levinthal, D., Lopatin, I., Ryabtsev, D.: Parallelization made easier with intel performance-tuning utility (2007)

    Google Scholar 

  2. AMD. Software optimization guide for amd family 10h processors

    Google Scholar 

  3. Armstrong, B., Eigenmann, R.: A methodology for scientific benchmarking with large-scale applications, pp. 109–127 (2001)

    Google Scholar 

  4. Cooper, K.D., Xu, L.: An efficient static analysis algorithm to detect redundant memory operations. SIGPLAN Not. 38(suppl. 2), 97–107 (2003)

    Article  Google Scholar 

  5. Dinh, Q.V., Nam, A., Petit, G.: Projet fame2: rapport final de synthse sur l’optimisation des logiciels de simulation numrique de l’aronautique (2007)

    Google Scholar 

  6. Djoudi, L., Barthou, D., Carribault, P., Lemuet, C., Acquaviva, J.-T., Jalby, W.: Exploring application performance: a new tool for a static/dynamic approach. In: Los Alamos Computer Science Institute Symp., Santa Fe, NM (October 2005)

    Google Scholar 

  7. Dolan, E.D., Mor, J.J.: Benchmarking optimization software with performance profiles (2001)

    Google Scholar 

  8. Eranian, S.: Perfmon2: a flexible performance monitoring for linux (2006)

    Google Scholar 

  9. Graham, S.L., Kessler, P.B., Mckusick, M.K.: Gprof: A call graph execution profiler. In: SIGPLAN 1982: Proceedings of the 1982 SIGPLAN symposium on Compiler construction, pp. 120–126. ACM, New York (1982)

    Chapter  Google Scholar 

  10. Hochstein, L., Carver, J., Shull, F., Asgari, S., Basili, V.: Parallel programmer productivity: A case study of novice parallel programmers. In: SC 2005: Proceedings of the, ACM/IEEE conference on Supercomputing, Washington, DC, USA, pp. 35+. IEEE Computer Society, Los Alamitos (2005)

    Google Scholar 

  11. Huck, K.A., Malony, A.D.: Perfexplorer: A performance data mining framework for large-scale parallel computing. In: SC 2005: Proceedings of the 2005 ACM/IEEE conference on Supercomputing, Washington, DC, USA, p. 41. IEEE Computer Society, Los Alamitos (2005)

    Google Scholar 

  12. Intel. Intel 64 and ia-32 architectures optimization reference manual

    Google Scholar 

  13. Moseley, T., Connors, D.A., Grunwald, D., Peri, R.: Identifying potential parallelism via loop-centric profiling. In: Proceedings of the 2007 International Conference on Computing Frontiers (May 2007)

    Google Scholar 

  14. Mucci, P.J., Browne, S., Deane, C., Ho, G.: Papi: A portable interface to hardware performance counters. In: Proceedings of the Department of Defense HPCMP Users Group Conference, pp. 7–10 (1999)

    Google Scholar 

  15. Risio, B., Passmann, N., Wessel, F., Reinartz, E.: 3d-flame modelling in power plant applications (2008)

    Google Scholar 

  16. Shende, S., Malony, A., Moore, S., Mucci, P., Dongarra, J.: Integrated tool capabilities for performance instrumentation and measurement (2007)

    Google Scholar 

  17. Shende, S.S., Malony, A.D.: The tau parallel performance system. The International Journal of High Performance Computing Applications 20, 287–331 (2006)

    Article  Google Scholar 

  18. Skinner, D., Kramer, W.: Understanding the causes of performance variability in hpc workloads. In: International Symposium on Workload Characterization (2005)

    Google Scholar 

  19. Tallent, N.R., Mellor-Crummey, J.M.: Effective performance measurement and analysis of multithreaded applications. In: PPoPP 2009: Proceedings of the 14th ACM SIGPLAN symposium on Principles and practice of parallel programming, pp. 229–240. ACM, New York (2009)

    Google Scholar 

  20. Verykios, V.S., Houstis, E.N., Rice, J.R.: A knowledge discovery methodology for the performance evaluation of scientific software. Neural, Parallel & Scientific Computations 8, 115–132 (2000)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Koliai, S. et al. (2010). A Balanced Approach to Application Performance Tuning. In: Gao, G.R., Pollock, L.L., Cavazos, J., Li, X. (eds) Languages and Compilers for Parallel Computing. LCPC 2009. Lecture Notes in Computer Science, vol 5898. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-13374-9_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-13374-9_8

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-13373-2

  • Online ISBN: 978-3-642-13374-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics