intel vtune

24
INTEL VTUNE Presented By : Aman Bhardwaj Sarfraz Alam Khan

Upload: hashim-murtaza

Post on 24-Nov-2014

140 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Intel vTune

INTEL VTUNEPresented By : Aman Bhardwaj Sarfraz Alam Khan

Page 2: Intel vTune

CONTENTS INTRODUCTION FEATURES OF INTEL VTUNE:1. CALL GRAPH2. SAMPLING3. COUNTER MONITORING4. TUNING ASSISTANT SUMMARY

Page 3: Intel vTune

INTRODUCTION

Intel® VTune™ analyzers help locate and remove software performance bottlenecks by collecting, analyzing, and displaying performance data from the system down to the source level.

Page 4: Intel vTune

Using Intel VTune™ Performance Analyzer gave us incredible insight into the Macromedia Flash Player* and enabled us to validate our changes quickly." Intel VTune Performance Analyzer provides both a graphical and a command line interface on Windows* platforms

Page 5: Intel vTune

Intel vtune contains following important features:

Call GraphSamplingCounter MonitorTunning Assistant

Page 6: Intel vTune

Call Graph & Sampling Presented by : Aman Bhardwaj

Page 7: Intel vTune

CALL GRAPH

A call graph (also known as a call multigraph) is a directed graph that represents calling relationships between subroutines in a computer program.Call graphs are a basic program analysis result that can be used for human understanding of programs,

Page 8: Intel vTune

VTUNE 6 CALL GRAPH.

Page 9: Intel vTune

Call graphs are a basic program analysis result that can be used for human understanding of programs, or as a basis for further analyses, such as an analysis that tracks the flow of values between procedures. One simple application of call graphs is finding procedures that are never called.

Page 10: Intel vTune

Call graphs can be dynamic or static. A dynamic call graph is a record of an execution of the program, e.g., as output by a profiler.A static call graph is a call graph intended to represent every possible run of the program.

Page 11: Intel vTune

SAMPLING

Sampling is that part of statistical practice concerned with the selection of an unbiased or random subset of individual observations within a population of individuals intended to yield some knowledge about the population of concern, especially for the purposes of making predictions based on statistical inference.

Page 12: Intel vTune

There are three main advantages of sampling :

That the cost is lower, Data collection is faster, and Since the data set is smaller it is possible to ensure homogeneity and to improve the accuracy and quality of the data.

Page 13: Intel vTune

Sampling contains following features :ProcessPopulation definitionSampling frameSampling MethodsSampling & data collecting

Page 14: Intel vTune

Counter Monitoring & Tuning Assistant

Presented By: Sarfraz Alam Khan

Page 15: Intel vTune

COUNTER MONITORING

In computers, hardware performance counters, or hardware counters are a set of special-purpose registers built into modern microprocessors to store the counts of hardware-related activities within computer systems. Advanced users often rely on those counters to conduct low-level performance analysis or tuning.

Page 16: Intel vTune

The number of available hardware counters in a processor is limited while each CPU model might have a lot of different events that a developer might like to measure. Each counter can be programmed with the index of an event type to be monitored, like a L1 cache miss or a branch mispredict.

Page 17: Intel vTune

Compared to software profilers, hardware counters provide low-overhead access to a wealth of detailed performance information related to CPU's functional units, caches and main memory etc.Another benefit of using them is that no source code modifications are needed in general.

Page 18: Intel vTune

INTEL TUNING ASSISTANT

The Intel® Performance Tuning Utility is a cross-platform performance analysis tool set. Alongside with such traditional features as identifying the hottest modules and functions of the application, tracking call sequences, identifying performance-critical source code, Intel PTU has new, more powerful capabilities of data collection, analysis, and visualization.

Page 19: Intel vTune

The Intel® Performance Tuning Utility offers:Event Based Sampling Basic Block Analysis Events over IP graph  Loop AnalysisResult difference Data Access Profiling Statistical Call Graph Heap Profiler Instrumentation-based Call Graph, Call Count

Page 20: Intel vTune

The capabilities of this utility for performance analysis are in many ways similar to that of the Intel® VTune™ Performance Analyzer; however this technology includes features that may be of more value to those who are more experienced with performance tuning. This utility explores some new approaches for data collection and user interface techniques

Page 21: Intel vTune

SUMMARY Using Intel VTune™ Performance Analyzer

gave us incredible insight into the Macromedia Flash Player* and enabled us to validate our changes quickly.“

Intel vTune contains four important feature:1. Call Graph2. Sampling3. Counter Monitoring4. Tuning Assistant A call graph (also known as a call

multigraph).

Page 22: Intel vTune

Call graphs are a basic program analysis result that can be used for human understanding of programs,

There are three main advantages of sampling :1. That the cost is lower, 2. Data collection is faster, and 3. Since the data set is smaller it is possible to

ensure homogeneity and to improve the accuracy and quality of the data.

Counters are a set of special-purpose registers built into modern microprocessors to store the counts of hardware-related activities within computer systems.

Page 23: Intel vTune

The Intel® Performance Tuning Utility is a cross-platform performance analysis tool set.

This utility explores some new approaches for data collection and user interface techniques

Page 24: Intel vTune

THANK YOU