24
Instrumenting the MG application of NAS Parallel Benchmark Maria Stylianou [email protected] 20-APR-2012 34324 - Measurement Tools and Techniques

Instrumenting the MG applicaiton of NAS Parallel Benchmark

Embed Size (px)

DESCRIPTION

Course: Measurement Tools and Techniques (10-15min): Instrumenting the MG applicaiton of NAS Parallel Benchmark Aim of this presentation: Show the steps followed for instrumenting the application.

Citation preview

Page 1: Instrumenting the MG applicaiton of NAS Parallel Benchmark

Instrumenting the MG application

of NAS Parallel Benchmark

Maria [email protected]

20-APR-2012

34324 - Measurement Tools and Techniques

Page 2: Instrumenting the MG applicaiton of NAS Parallel Benchmark

2

Outline

● Basic Information

● Instrumentation● By observation● Using Performance Counters● Using Histograms

● Conclusions

Page 3: Instrumenting the MG applicaiton of NAS Parallel Benchmark

3

Outline

● Basic Information

● Instrumentation● By observation● Using Performance Counters● Using Histograms

● Conclusions

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 4: Instrumenting the MG applicaiton of NAS Parallel Benchmark

4

Basic Information

● Personal Laptop● Ubuntu 11.10, 64-bit● Intel Quad Core i5● 4GB RAM

● Boada Server● Intel(R) Xeon(R) CPU E5645 @ 2.40GHz● 12 Cores with HT support● 24 GΒ RAM

Execution Environments

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 5: Instrumenting the MG applicaiton of NAS Parallel Benchmark

5

Basic Information

● Evaluate the performance of parallel supercomputers

● Several Applications MG – MPI Version● IS, EP, CG, MG Multi-Grid on a sequence ● FT, BT, SP, LU of meshes

● Extrae → Produce traces● Paraver → Analyse traces

NAS Parallel Benchmark

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 6: Instrumenting the MG applicaiton of NAS Parallel Benchmark

6

Outline

● Basic Information

● Instrumentation● By observation● Using Performance Counters● Using Histograms

● Conclusions

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 7: Instrumenting the MG applicaiton of NAS Parallel Benchmark

7

Instrumentation by Observation

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 8: Instrumenting the MG applicaiton of NAS Parallel Benchmark

8

Instrumentation by Observation

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 9: Instrumenting the MG applicaiton of NAS Parallel Benchmark

9

Instrumentation by Observation

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 10: Instrumenting the MG applicaiton of NAS Parallel Benchmark

10

Instrumentation by Observation

Initialization

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 11: Instrumenting the MG applicaiton of NAS Parallel Benchmark

11

Instrumentation by Observation

Execution

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 12: Instrumenting the MG applicaiton of NAS Parallel Benchmark

12

Instrumentation by Observation

Finalization

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 13: Instrumenting the MG applicaiton of NAS Parallel Benchmark

13

Outline

● Basic Information

● Instrumentation● By observation

● Using Performance Counters● Using Histograms

● Conclusions

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 14: Instrumenting the MG applicaiton of NAS Parallel Benchmark

14

Instrumentation using Performance Counters

Instructions

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 15: Instrumenting the MG applicaiton of NAS Parallel Benchmark

15

Instrumentation using Performance Counters

Cycles

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 16: Instrumenting the MG applicaiton of NAS Parallel Benchmark

16

Instrumentation using Performance Counters

IPC: Instructions Per Cycle

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 17: Instrumenting the MG applicaiton of NAS Parallel Benchmark

17

Instrumentation using Performance Counters

L1 Cache Misses

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 18: Instrumenting the MG applicaiton of NAS Parallel Benchmark

18

Outline

● Basic Information

● Instrumentation● By observation● Using Performance Counters

● Using Histograms

● Conclusions

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 19: Instrumenting the MG applicaiton of NAS Parallel Benchmark

19

Instrumentation using Histograms

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Time Histogram

Page 20: Instrumenting the MG applicaiton of NAS Parallel Benchmark

20

Instrumentation using Histograms

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Percentage Histogram

Page 21: Instrumenting the MG applicaiton of NAS Parallel Benchmark

21

Instrumentation using Histograms

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Percentage Histogram

Page 22: Instrumenting the MG applicaiton of NAS Parallel Benchmark

22

Instrumentation using Histograms

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Percentage Histogram

Page 23: Instrumenting the MG applicaiton of NAS Parallel Benchmark

23

Conclusions

● Scalability● In laptop: No way!● In Boada: Yes!

● #Processors Increase

→ L1 Cache Misses Increase

● Useful information very fast → Histograms!

1 - Basic Info, 2 - Instrumentation (a) by Observation, (b) with Performance Counters, (c) with Histograms, 3 - Conclusions

Page 24: Instrumenting the MG applicaiton of NAS Parallel Benchmark

24

Instrumenting the MG application

of NAS Parallel Benchmark

Maria [email protected]

20-APR-2012

34324 - Measurement Tools and Techniques