TAU Parallel Performance System

Slides:



Advertisements
Similar presentations
A Workflow Engine with Multi-Level Parallelism Supports Qifeng Huang and Yan Huang School of Computer Science Cardiff University
Advertisements

Machine Learning-based Autotuning with TAU and Active Harmony Nicholas Chaimov University of Oregon Paradyn Week 2013 April 29, 2013.
Dynamic performance measurement control Dynamic event grouping Multiple configurable counters Selective instrumentation Application-Level Performance Access.
Sameer Shende, Allen D. Malony, and Alan Morris {sameer, malony, Steven Parker, and J. Davison de St. Germain {sparker,
Robert Bell, Allen D. Malony, Sameer Shende Department of Computer and Information Science Computational Science.
Sameer Shende Department of Computer and Information Science Neuro Informatics Center University of Oregon Tool Interoperability.
Profiling S3D on Cray XT3 using TAU Sameer Shende
TAU: Tuning and Analysis Utilities. TAU Performance System Framework  Tuning and Analysis Utilities  Performance system framework for scalable parallel.
The TAU Performance Technology for Complex Parallel Systems (Performance Analysis Bring Your Own Code Workshop, NRL Washington D.C.) Sameer Shende, Allen.
Nick Trebon, Alan Morris, Jaideep Ray, Sameer Shende, Allen Malony {ntrebon, amorris, Department of.
On the Integration and Use of OpenMP Performance Tools in the SPEC OMP2001 Benchmarks Bernd Mohr 1, Allen D. Malony 2, Rudi Eigenmann 3 1 Forschungszentrum.
Allen D. Malony, Sameer Shende Department of Computer and Information Science Computational Science Institute University.
The TAU Performance System: Advances in Performance Mapping Sameer Shende University of Oregon.
TAU Performance System Alan Morris, Sameer Shende, Allen D. Malony University of Oregon {amorris, sameer,
Performance Tools BOF, SC’07 5:30pm – 7pm, Tuesday, A9 Sameer S. Shende Performance Research Laboratory University.
Performance Instrumentation and Measurement for Terascale Systems Jack Dongarra, Shirley Moore, Philip Mucci University of Tennessee Sameer Shende, and.
Allen D. Malony Department of Computer and Information Science Computational Science Institute University of Oregon TAU Performance.
June 2, 2003ICCS Performance Instrumentation and Measurement for Terascale Systems Jack Dongarra, Shirley Moore, Philip Mucci University of Tennessee.
Allen D. Malony Department of Computer and Information Science Performance Research Laboratory NeuroInformatics Center University.
TAU Parallel Performance System DOD UGC 2004 Tutorial Part 1: TAU Overview and Architecture.
TAU: Performance Regression Testing Harness for FLASH Sameer Shende
TAU Performance Toolkit (WOMPAT 2004 OpenMP Lab) Sameer Shende, Allen D. Malony University of Oregon {sameer,
Allen D. Malony, Sameer Shende, Robert Bell Department of Computer and Information Science Computational Science Institute, NeuroInformatics.
Kai Li, Allen D. Malony, Robert Bell, Sameer Shende Department of Computer and Information Science Computational.
The TAU Performance System Sameer Shende, Allen D. Malony, Robert Bell University of Oregon.
Sameer Shende, Allen D. Malony Computer & Information Science Department Computational Science Institute University of Oregon.
Performance Technology for Complex Parallel Systems REFERENCES.
SC’01 Tutorial Nov. 7, 2001 TAU Performance System Framework  Tuning and Analysis Utilities  Performance system framework for scalable parallel and distributed.
Allen D. Malony Performance Research Laboratory (PRL) Neuroinformatics Center (NIC) Department.
Paradyn Week – April 14, 2004 – Madison, WI DPOMP: A DPCL Based Infrastructure for Performance Monitoring of OpenMP Applications Bernd Mohr Forschungszentrum.
Score-P – A Joint Performance Measurement Run-Time Infrastructure for Periscope, Scalasca, TAU, and Vampir Alexandru Calotoiu German Research School for.
Using TAU on SiCortex Alan Morris, Aroon Nataraj Sameer Shende, Allen D. Malony University of Oregon {amorris, anataraj, sameer,
John Mellor-Crummey Robert Fowler Nathan Tallent Gabriel Marin Department of Computer Science, Rice University Los Alamos Computer Science Institute HPCToolkit.
Profile Analysis with ParaProf Sameer Shende Performance Reseaerch Lab, University of Oregon
SciDAC All Hands Meeting, March 2-3, 2005 Northwestern University PIs:Alok Choudhary, Wei-keng Liao Graduate Students:Avery Ching, Kenin Coloma, Jianwei.
SvPablo Evaluation Report Hans Sherburne, Adam Leko UPC Group HCS Research Laboratory University of Florida Color encoding key: Blue: Information Red:
Martin Schulz Center for Applied Scientific Computing Lawrence Livermore National Laboratory Lawrence Livermore National Laboratory, P. O. Box 808, Livermore,
Issues Autonomic operation (fault tolerance) Minimize interference to applications Hardware support for new operating systems Resource management (global.
Dynamic performance measurement control Dynamic event grouping Multiple configurable counters Selective instrumentation Application-Level Performance Access.
ASC Tri-Lab Code Development Tools Workshop Thursday, July 29, 2010 Lawrence Livermore National Laboratory, P. O. Box 808, Livermore, CA This work.
Allen D. Malony, Sameer S. Shende, Alan Morris, Robert Bell, Kevin Huck, Nick Trebon, Suravee Suthikulpanit, Kai Li, Li Li
Allen D. Malony Department of Computer and Information Science TAU Performance Research Laboratory University of Oregon Discussion:
1 SciDAC High-End Computer System Performance: Science and Engineering Jack Dongarra Innovative Computing Laboratory University of Tennesseehttp://
Allen D. Malony, Sameer S. Shende, Robert Bell Kai Li, Li Li, Kevin Huck Department of Computer.
Shangkar Mayanglambam, Allen D. Malony, Matthew J. Sottile Computer and Information Science Department Performance.
Integrated Performance Views in Charm++: Projections meets TAU Scott Biersdorff Allen D. Malony Department Computer and Information Science University.
Allen D. Malony Department of Computer and Information Science Performance Research Laboratory.
SDM Center High-Performance Parallel I/O Libraries (PI) Alok Choudhary, (Co-I) Wei-Keng Liao Northwestern University In Collaboration with the SEA Group.
Performane Analyzer Performance Analysis and Visualization of Large-Scale Uintah Simulations Kai Li, Allen D. Malony, Sameer Shende, Robert Bell Performance.
TAU Performance System ® TAU is a profiling and tracing toolkit that supports programs written in C, C++, Fortran, Java, Python,
Online Performance Analysis and Visualization of Large-Scale Parallel Applications Kai Li, Allen D. Malony, Sameer Shende, Robert Bell Performance Research.
Parallel OpenFOAM CFD Performance Studies Student: Adi Farshteindiker Advisors: Dr. Guy Tel-Zur,Prof. Shlomi Dolev The Department of Computer Science Faculty.
Kai Li, Allen D. Malony, Sameer Shende, Robert Bell
Productive Performance Tools for Heterogeneous Parallel Computing
Introduction to the TAU Performance System®
Performance Technology for Scalable Parallel Systems
TAU integration with Score-P
Tutorial Outline – Part 1
University of Technology
Allen D. Malony, Sameer Shende
Performance Technology for Complex Parallel and Distributed Systems
A configurable binary instrumenter
TAU Parallel Performance System
TAU: A Framework for Parallel Performance Analysis
Allen D. Malony Computer & Information Science Department
Outline Introduction Motivation for performance mapping SEAA model
Allen D. Malony, Sameer Shende
Parallel Program Analysis Framework for the DOE ACTS Toolkit
TAU Performance DataBase Framework (PerfDBF)
A General Approach to Real-time Workflow Monitoring
Presentation transcript:

TAU Parallel Performance System Allen D. Malony, Sameer S. Shende, Robert Bell Kai Li, Li Li, Kevin Huck, Nick Trebon {malony,sameer,bertie,likai,lili,khuck}@cs.uoregon.edu Department of Computer and Information Science Performance Research Laboratory University of Oregon

Outline Motivation TAU architecture and toolkit Example applications Instrumentation Measurement Analysis Example applications Users of TAU Conclusion

Problem Domain ASCI defines leading edge parallel systems and software Large-scale systems and heterogeneous platforms Multi-model simulation Complex, multi-layered software integration Multi-language programming Mixed-model parallelism Complexity challenges performance analysis tools System diversity demands tool portability Need for cross- and multi-language support Coverage of alternative parallel computation models Operate at scale

Tools for Performance Problem Solving Empirical-based performance optimization process Understand performance technology concerns characterization Performance Tuning Performance Diagnosis Experimentation Observation hypotheses properties Experiment management Performance database Performance Technology Instrumentation Measurement Analysis Visualization Performance Technology

TAU Performance System Tuning and Analysis Utilities (11+ year project effort) Performance system framework for scalable parallel and distributed high-performance computing Targets a general complex system computation model Entities: nodes / contexts / threads Multi-level: system / software / parallelism Measurement and analysis abstraction Integrated toolkit for performance instrumentation, measurement, analysis, and visualization Portable performance profiling and tracing facility Open software approach with technology integration University of Oregon , Forschungszentrum Jülich, LANL

TAU Performance Systems Goals Multi-level performance instrumentation Multi-language automatic source instrumentation Flexible and configurable performance measurement Widely-ported parallel performance profiling system Computer system architectures and operating systems Different programming languages and compilers Support for multiple parallel programming paradigms Multi-threading, message passing, mixed-mode, hybrid Support for performance mapping Support for object-oriented and generic programming Integration in complex software systems and applications

General Complex System Computation Model Node: physically distinct shared memory machine Message passing node interconnection network Context: distinct virtual memory space within node Thread: execution threads (user/system) in context Interconnection Network * Inter-node message communication * Node Node Node Should we describe different parallel programming / computation models? physical view memory node memory SMP memory VM space … model view … Context Threads

TAU Performance System Architecture EPILOG Paraver ParaProf

TAU Instrumentation Approach Support for standard program events Routines Classes and templates Statement-level blocks Support for user-defined events Begin/End events (“user-defined timers”) Atomic events Selection of event statistics Support definition of “semantic” entities for mapping Support for event groups Instrumentation optimization

TAU Instrumentation Flexible instrumentation mechanisms at multiple levels Source code manual automatic C, C++, F77/90/95 (Program Database Toolkit (PDT)) OpenMP (directive rewriting (Opari), POMP spec) Object code pre-instrumented libraries (e.g., MPI using PMPI) statically-linked and dynamically-loaded (e.g., Python) Executable code dynamic instrumentation (pre-execution) (DynInstAPI) virtual machine instrumentation (e.g., Java using JVMPI)

TAU Source Instrumentation Automatic source instrumentation (TAUinstr) Routine entry/exit and class method entry/exit Block entry/exit and statement level (to be added) Uses an instrumentation specification file Include/exclude list for events and files Uses command line options for group selection Instrumentation event selection (TAUselect) Automatic generation of instrumentation specification file Instrumentation language to describe event constraints Event identity and location Event performance properties (e.g., overhead analysis) Create TAUselect scripts for performance experiments

Program Database Toolkit (PDT) Program code analysis framework develop source-based tools High-level interface to source code information Integrated toolkit for source code parsing, database creation, and database query Commercial grade front-end parsers Portable IL analyzer, database format, and access API Open software approach for tool development Multiple source languages Implement automatic performance instrumentation tools tau_instrumentor

Program Database Toolkit (PDT) Application / Library C / C++ parser Fortran parser F77/90/95 Program documentation PDBhtml Application component glue IL IL SILOON C / C++ IL analyzer Fortran IL analyzer C++ / F90/95 interoperability CHASM Program Database Files Automatic source instrumentation DUCTAPE TAU_instr

PDT 3.0 Functionality C++ statement-level information implementation for, while loops, declarations, initialization, assignment… PDB records defined for most constructs DUCTAPE Processes PDB 1.x, 2.x, 3.x uniformly PDT applications XMLgen PDB to XML converter (Sottile) Used for CHASM and CCA tools PDBstmt Statement callgraph display tool

PDT 3.0 Functionality (continued) Cleanscape Flint parser fully integrated for F90/95 Flint parser is very robust Produces PDB records for TAU instrumentation (stage 1) Linux x86, HP Tru64, IBM AIX Tested on SAGE, POP, ESMF, PET benchmarking codes Full PDB 2.0 specification (stage 2) [Q1 ‘04] Statement level support (stage 3) [Q3 ‘04] PDT 3.0 release at SC2003

TAU Performance Measurement TAU supports profiling and tracing measurement Robust timing and hardware performance support Support for online performance monitoring Profile and trace performance data export to file system Selective exporting Extension of TAU measurement for multiple counters Creation of user-defined TAU counters Access to system-level metrics Support for callpath measurement Integration with system-level performance data Linux MAGNET/MUSE (Wu Feng, LANL)

TAU Measurement with Multiple Counters Extend event measurement to capture multiple metrics Begin/end (interval) events User-defined (atomic) events Multiple performance data sources can be queried Associate counter function list to event Defined statically or dynamically Different counter sources Timers and hardware counters User-defined counters (application specified) System-level counters Monotonically increasing required for begin/end events Extend user-defined counters to system-level counter

Performance Analysis and Visualization Analysis of parallel profile and trace measurement Parallel profile analysis ParaProf ParaVis Profile generation from trace data Performance database framework (PerfDBF) Parallel trace analysis Translation to VTF 3.0 and EPILOG Integration with VNG (Technical University of Dresden) Online parallel analysis and visualization

ParaProf Framework Architecture Portable, extensible, and scalable tool for profile analysis Try to offer “best of breed” capabilities to analysts Build as profile analysis framework for extensibility

Profile Manager Window

Pprof Output (NAS Parallel Benchmark – LU) Intel Quad PIII Xeon F90 + MPICH Profile - Node - Context - Thread Events - code - MPI

ParaProf (NAS Parallel Benchmark – LU) Routine profile across all nodes node,context, thread Global profiles Event legend Individual profile

TAU + Vampir (NAS Parallel Benchmark – LU) Callgraph display Timeline display Parallelism display Communications display

Case Study: SAMRAI (LLNL) Structured Adaptive Mesh Refinement Application Infrastructure (SAMRAI) Programming C++ and MPI SPMD Instrumentation PDT for automatic instrumentation of routines MPI interposition wrappers SAMRAI timers for interesting code segments timers classified in groups (apps, mesh, …) timer groups are managed by TAU groups

Full Profile Window (Exclusive Time) 512 processes

Node / Context / Thread Profile Window

Derived Metrics

Full Profile Window (Metric-specific) 512 processes

ParaProf Enhancements Readers completely separated from the GUI Access to performance profile database Profile translators mpiP, papiprof, dynaprof Callgraph display prof/gprof style with hyperlinks Integration of 3D performance plotting library Scalable profile analysis Statistical histograms, cluster analysis, … Generalized programmable analysis engine Cross-experiment analysis

ParaVis Scalable parallel profile analysis Scalable performance displays 3D graphics Analysis across profile samples Allow for runtime use Animated / interactive visualization Initially develop with SCIRun Computational environment Performance graphics toolkit Portable plotting library OpenGL Performance Visualizer Performance Analyzer Performance Data Reader

Performance Visualization in SCIRun SCIRun program EVH1, IBM EVH1, Linux IA-32

“Terrain” Visualization (Full profile) Uintah

“Scatterplot” Visualization Each point coordinate determined by three values: MPI_Reduce MPI_Recv MPI_Waitsome Min/Max value range Effective for cluster analysis Uintah

“Bargraph” Visualization (MPI routines) Uintah, 512 processes, ASCI Blue Pacific

TAU Performance Database Framework Performance analysis programs Performance data description Raw performance data Other tools PerfDML translators Performance analysis and query toolkit . . . ORDB PostgreSQL PerfDB profile data only XML representation project / experiment / trial

PerfDBF Browser

PerfDBF Cross-Trial Analysis

TAU Performance System Status Computing platforms (selected) IBM SP / pSeries, SGI Origin 2K/3K, Cray T3E / SV-1 / X1, HP (Compaq) SC (Tru64), Sun, Hitachi SR8000, NEC SX-5/6, Linux clusters (IA-32/64, Alpha, PPC, PA-RISC, Power, Opteron), Apple (G4/5, OS X), Windows Programming languages C, C++, Fortran 77/90/95, HPF, Java, OpenMP, Python Thread libraries pthreads, SGI sproc, Java,Windows, OpenMP Compilers (selected) Intel KAI (KCC, KAP/Pro), PGI, GNU, Fujitsu, Sun, Microsoft, SGI, Cray, IBM (xlc, xlf), Compaq, NEC, Intel

Selected Applications of TAU Center for Simulation of Accidental Fires and Explosion University of Utah, ASCI ASAP Center, C-SAFE Uintah Computational Framework (UCF) (C++) Center for Simulation of Dynamic Response of Materials California Institute of Technology, ASCI ASAP Center Virtual Testshock Facility (VTF) (Python, Fortran 90) Los Alamos National Lab Monte Carlo transport (MCNP) (Susan Post) Full code automatic instrumentation and profiling ASCI Q validation and scaling SAIC’s Adaptive Grid Eulerian (SAGE) (Jack Horner) Fortran 90 automatic instrumentation and profiling

Selected Applications of TAU (continued) Lawrence Livermore National Lab Overturen Radiation diffusion (KULL) C++ automatic instrumentation, callpath profiling Sandia National Lab DOE CCTTSS SciDAC project Common component architecture (CCA) integration Combustion code (C++, Fortran 90, GrACE, MPI) Center for Astrophysical Thermonuclear Flashes University of Chicago / Argonne, ASCI ASAP Center FLASH code (C, Fortran 90, MPI)

Concluding Remarks Complex ASCI parallel systems and software pose challenging performance analysis problems that require robust methodologies and tools To build more sophisticated performance tools, existing proven performance technology must be utilized Performance tools must be integrated with software and systems models and technology Performance engineered software Function consistently and coherently in software and system environments TAU performance system offers robust performance technology that can be broadly integrated

Acknowledgements Department of Energy (DOE) MICS office DOE 2000 ACTS contract “Performance Technology for Tera-class Parallel Computer Systems: Evolution of the TAU Performance System” “Performance Analysis of Parallel Component Software” University of Utah, DOE ASCI Level 1 sub-contract DOE ASCI Level 3 (LANL, LLNL) NSF National Young Investigator (NYI) award Research Centre Juelich John von Neumann Institute for Computing Dr. Bernd Mohr Los Alamos National Laboratory