Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS 584. Performance Analysis Remember: In measuring, we change what we are measuring. 3 Basic Steps Data Collection Data Transformation Data Visualization.

Similar presentations


Presentation on theme: "CS 584. Performance Analysis Remember: In measuring, we change what we are measuring. 3 Basic Steps Data Collection Data Transformation Data Visualization."— Presentation transcript:

1 CS 584

2 Performance Analysis Remember: In measuring, we change what we are measuring. 3 Basic Steps Data Collection Data Transformation Data Visualization Many tools are available, but consider Accuracy, Simplicity, Flexibility Intrusiveness, and Abstraction

3 Data Collection The process by which data about the performance of a program are gathered. 3 Techniques Profiles Counters Event Traces

4 Profiles Shows time spent in portions of the code. Advantages Profiles can be obtained automatically Should be the first technique used to gather and analyze performance data Disadvantages Don't generally consider temporal aspects of a parallel program.

5 Counters Storage location that counts events Number of sends/receives Number of procedure calls, etc. Can be compiler generated as in a profile Also includes interval timers Time spent in a piece of code Idle time, function time, etc.

6 Traces Low level approach to data collection A log file is generated which records the event and a time stamp, etc. Trace RecordDescription 1101553201078Timer Data 6022372118Receive 1102237201078Timer Data 1102500201341Timer Data 40318623212Send 1103186201341Timer Data

7 Traces Advantages Support a broad study of program behavior Can be post-processed to obtained profiles, etc. Contains other data (message size, etc.) Disadvantages Huge log files (eg. 20 bytes per event) Perturbs performance Sophisticated analysis is required

8 Data Transformation & Visualization Profiles, counts, and trace data are difficult to directly interpret. Goal: Present the data to the programmer in such a way that interpretation is simple. Histogram Gantt chart Space-time diagram

9 Histogram

10 Gantt Chart

11 Space-Time Diagram

12 Tools XPVM Instrumented PVM code Space-time chart based Upshot Instrumented MPI code Gantt chart based I couldn’t get this to work on our machines

13

14


Download ppt "CS 584. Performance Analysis Remember: In measuring, we change what we are measuring. 3 Basic Steps Data Collection Data Transformation Data Visualization."

Similar presentations


Ads by Google