Top Banner
An Automated Component- Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory, Argonne, IL. CBHPC’09 Nov. 16 2009
21

An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Dec 26, 2015

Download

Documents

Ross Stafford
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

An Automated Component-Based Performance Experiment and

Modeling Environment

Van Bui, Boyana Norris, Lois Curfman McInnes, and Li LiArgonne National Laboratory, Argonne, IL.

CBHPC’09 Nov. 16 2009

Page 2: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Computational Quality of Service (CQoS) Infrastructure

Uses metadata for describing non-functional properties and requirements, e.g., quality “metrics”

Supports automated performance instrumentation and monitoring

Enables offline performance data analysis through machine learning, statistics, etc.

2

Page 3: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Motivation

Computational Quality of Service (CQoS) requires support for – Performance measurement– Performance databases – Performance analysis– Performance modeling

Performance analysis can involve running thousands of experiments varying different parameters

3

Page 4: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Project Goals

Automate performance experiments as much as possible using a component approach

Design a uniform interface across platforms, tools, etc…

Design a portable and extensible tool infrastructure to streamline performance experiments

4

Page 5: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Performance Experiment Workflow

5

Page 6: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Performance Components

Experiment Setup and Collection

Data Management

Analysis Phase

Model Validation Phase

6

Page 7: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Experiment Set-up and Collection

Configure application, tools, and platformSelect measurement approachRun the application and collect data

7

Page 8: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Performance Components

Experiment Setup and Collection

Data Management

Analysis Phase

Model Validation Phase

8

Page 9: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Data Management

Prepare performance data for storageStore metadata and performance data to

database

9

Page 10: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

CQoS Database Components

Store application metadata, system parameters and historical performance data

10

Page 11: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Performance Components

Experiment Setup and Collection

Data Management

Analysis Phase

Model Validation Phase

11

Page 12: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Analysis Phase

Specify analysis for a given set of trialsDetermine type of analysis to perform

12

Page 13: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Sample Code for Plotting Wall Clock

for exp in experiments: # retrieve experiments

…….. for tr in trials: # retrieive trials ………            for event in trial.getEvents(): # retrieve events                wallSum = 0                if event == '@PROGRAM_EVENT@':                    for p in range(node_count):                     wallClock = trial.getInclusive(p, event, "PAPI_TOT_CYC")/@MHZ@ # retrieve event value                    wallSum += wallClock                    data[node_count] = wallSum / (node_count)

generatePlot(data) # generate plot

13

Page 14: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Plotter: Wall Clock Time

14

Page 15: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Performance Components

Experiment Setup and Collection

Data Management

Analysis Phase

Model Validation Phase

15

Page 16: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Model Validation Phase

Specify performance model for validationRun model validation for a trial setCreate plots for measured and modeled data

16

Page 17: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Plotter: Time vs. LogGP Model

17

Page 18: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Ccaffeine Script

Instantiate component

Parameter configuration

Connect ports

Invoke driver go

18

instantiate cqos.perf.AnalysisDriver cqos_perf_AnalysisDriver

parameter cqos_perf_AnalysisDriver config resultsdir "/homes/vbui/projects/experiments/driven_cavity"

connect cqos_perf_AnalysisDriver usePerfDB cqos_perf_PerfDMFImporter DB

go cqos_perf_AnalysisDriver run

Page 19: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Summary

Develop components to automate process of running multiple performance experiments

Provide a uniform interface integrating support for multiple underlying tools and technology

Raising the level of efficiency in performance tuning

19

Page 20: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Future Work

Extensions to support multiple…– Platforms, application spaces, performance tools, database

interfaces, analysis techniques, and performance models

Dynamic substitution and reconfiguration of component implementations

Evaluating the tools with scientific apps and extending based on their needs

20

Page 21: An Automated Component-Based Performance Experiment and Modeling Environment Van Bui, Boyana Norris, Lois Curfman McInnes, and Li Li Argonne National Laboratory,

Additional Information

Support from DOE SciDAC Institutions– Technology for Advanced Scientific Component Software

(TASCS)– Performance Engineering Research Institute (PERI)

Trac Website– https://trac.mcs.anl.gov/projects/cca/wiki/performance

21