slide of intel vtune

Download slide of intel vtune

If you can't read please download the document

Upload: tukuna-rout

Post on 22-Nov-2014

958 views

Category:

Documents


7 download

TRANSCRIPT

ISASOn

PresenterTukuna Rout10/23/11

11

Contents

Introduction Features of Intel VTuneq q q q

Sampling Call graph Counter Monitor Tuning Assistant Conclusion22

10/23/11

Introduction

Intel VTune is software from Intel used by the development companies to analyze their software's and applications performance. It also provides boost performance of

applications.

One can work with the VTune analyzer using the graphical interface and command line interface.

The 10/23/11

VTune(TM)

Performance

Analyzer

can 33

eatures of IntelVTuneThese are the four features of Intel VTune

Sampling Call graph Counter Monitor Tuning Assistant

10/23/11

44

Sampling10/23/11 55

It is collecting a set of data for analysis and representing the analyzed data in a statistical format. Calculates the actual performance of an application over a period of time and for various processor events. It monitors all the software executing on your system including the operating system, JIT-compiled Java applications and .NET applications.10/23/11 66

Sampling Mechanism

TIME-BASED SAMPLING (TBS):EVENT-BASED SAMPLING (EBS): -

Difference Between TBS andEBS10/23/11 77

Diff. between EBS & TBSWHAT HAPPENS DURING SAMPLING

FEATURES OF SAMPLING

Waits for the delay sampling time. Interrupts the processor. Stores the execution.Multiple event sampling Remote sampling Collect sampling

Collection

10/23/11

88

Views

Accessories

Thread view Summary view Process view Module view Sampling toolbar Tabbed windows Microsoft Excel Selection Summary panel Event summary panel Multi-processor99

10/23/11

all graph

IntroductionThe call graph collector of the VTune(TM) Performance Analyzer collects information about the program flow of an application, that is, the number of function calls to some other function and the amount of time each function spent executing its code and/or calling other functions.

dentifying Critical PathThe Critical path is the most time-consuming path in a call sequence of an application.q

Critical paths can be identified by using call graph.q

In a Call graph, critical paths are displayed with a thick red edge and it starts from the thread.q

eatures of Call graph

Collection Views Accessories

atures of Call graph Contd.CollectionManual Launching Mode DLL-level Data Collection Instrumentation Filtering Multi-thread, Multiprocess COM Tracing

atures of Call graph Contd.ViewsIntel VTune displays the Results of call graph in following three types of views.

Graph View Call list View Functional Summary

atures of Call graph Contd.Graph Viewq

The graph view displays the graphical structu of the application. It displays the Caller function, Calee function and Time information.q

atures of Call graph Contd.Call list ViewThis view consists of three functions such as Caller function, Calee function and Focus function. q It displays information about time and calls of the focus function.q

atures of Call graph Contd.Function Summary ViewProvides full information on all the application functions in the table format. The rows in the function summary display functions with different background colors according to the hierarchical position.q

atures of Call graph Contd.q

The function summary view contains:

Calls Wait Time Total Wait Time Self Time Total Time

atures of Call graph Contd.Accessories

Filtering option Function Details Unified Java support Timing Option Command Access

unter Monit

IntroductionCounter Monitor identifies system-level issues in applications. It is used to track system activities when the application runs on the system. Counter Monitor collects data for specific performance counter data, such as that of an application, an OS, or a hardware device at different intervals of time. The counter monitor collector monitors and graphically displays the performance counter data.

eatures of Counter Monit

Collection Views Accessories

atures of Counter Monitor ContdCollectionTrigger Mechanism:- Create triggers to monitor hardware and software counters at predetermined intervals according to criteria that is set.

atures of Counter Monitor ContdViews

Runtime Data View Logged Data View Legend Data View Summary Data View

atures of Counter Monitor ContdRuntime Data View:- During runtime, the VTune analyzer generates a graph that shows changes as they happen.

Logged Data View:- Displays data logged during an Activity.In the Logged Data view, data from each counter selected for logging is charted with a separate line and color.

atures of Counter Monitor ContdLegend View:- . Each line includes a distinct legend symbol for the corresponding counter, representing the point at which data was taken. The vertical Y axis represents counter values (scaled or actual), while the corresponding time is displayed on the horizontal X axis.

atures of Counter Monitor ContdSummary Data View:- Displays a statistical view of the counter data.

atures of Counter Monitor ContdAccessoriesControl Charts:- . Choose a chart style best suited to the data you want to view using the Chart FX Properties.

Working of Counter Monitor

ning Assista

IntroductionThe Intel(R) Tuning Assistant provides advice on tuning your system resources and application performance. Using its multiple knowledge bases, the Tuning Assistant analyzes the data collected by the VTune(TM) Performance Analyzer, identifies performance issues, and provides insights and tuning advice.

uning Assistant Concept

Work Load Insight Advice Relevance Score

atures of Tuning AssistaContains knowledge bases to support HyperThreading Technology.q

Enables you to compare two or three Activity results.q

Provides links from function names directly to the corresponding code section in source view when you provide symbol information q Provides advice on performance counter data and disassembly codeq q

Provides static assembly advice.

nderstanding Tuning Methodologyq

System-Level Tuning: The main objective of

system-level tuning is to optimize the utilization of system resources. The tuning speeds up application performance by improving the way the application interacts with the system. This tuning is effective for I/O applications.q

Application-Level Tuning- The main purpose of

application-level tuning is to reduce the execution time of an application. This can be achieved by improving the algorithms of the applications, implementing threads, and by using APIs.q

performance of application by improving the way an application runs on a processor. This type of tuning is used with processor-intensive applications.

Micro architecture- Level Tuning- Increases the

TRATEGIES FOR IMPROVING PERFORMAN F APPLICATION

Balancing input-output Improving Threading Model efficiency of

Improving computation

Types of AdviceTuning assistant automatically analyzes the sampling data, identifies performance issues, and provides insights on the issues

Sampling-based

Advice:-

Counter Monitor-based Advice:-

Tuning assistant performs counter analysis based on all counters measured in activity. TA uses a compiler technology for source-based advice, which enables you to speed up the execution of code. But it is limited to C,C++ and Java applications.

Source-based

Advice:-

Static

Assemble Penalties:-

rmation That Tuning Assistant Provi

Insights Relevance Scale Tuning Assistance Advice

Insights problem that could be It indicates the

hindering the performance of the application. Various categories of insights are:

Top Insights Workload Insights Module Insights Hotspot Insights System Info Static Analysis

rmation That Tuning Assistant Provi

Relevanceadvice to a particular performance issue.

Scale Indicates the relevance of the insight or Tuning Assistant Advice Possible solution to remove or avoid a

problem.

(More Information Window of Tuning

THANK YOU10/23/11 4141