Sunteți pe pagina 1din 41

ISAS

On

Presenter
Tukuna Rout

10/23/11
11
Contents
Ø Introduction
Ø Features of Intel VTune
q Sampling
q Call graph
q Counter Monitor
q Tuning Assistant

Ø
10/23/11
Conclusion 22
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 can33
eatures of IntelVTune
These are the four features of Intel VTune

ü Sampling
ü Call graph
ü Counter Monitor
ü Tuning Assistant

10/23/11 44
Sampling
10/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 and


EBS

10/23/11 77
Diff. between EBS & TBS
WHAT HAPPENS DURING SAMPLING
ü Waits for the delay sampling
time.
ü Interrupts the processor.
ü Stores the execution.
FEATURES OF SAMPLING
Collection -
ü Multiple event sampling
ü Remote sampling
ü Collect sampling
10/23/11 88
Views -
ü Thread view
ü Summary view
ü Process view
ü Module view
Accessories –
ü Sampling toolbar
ü Tabbed windows
ü Microsoft Excel
ü Selection Summary panel
ü Event summary panel
ü Multi-processor
10/23/11 99
all graph
Introduction
The 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 Path
q The 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.
eatures of Call graph

ü Collection
ü Views
ü Accessories
atures of Call graph Contd.

Collection
ü Manual Launching Mode
ü DLL-level Data Collection
ü Instrumentation
Filtering
ü Multi-thread, Multi-
process
ü COM Tracing
atures of Call graph Contd.
Views
Intel 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 View
q The graph view displays the graphical structu
of the application.

q It displays the Caller function, Calee function


and Time information.
atures of Call graph Contd.
Call list View
q This 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.
atures of Call graph Contd.
Function Summary View
q Provides 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.
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
Introduction
Counter 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 Contd

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

Views
ü Runtime Data View
ü Logged Data View
ü Legend Data View
ü Summary Data View
atures of Counter Monitor Contd
ü Runtime 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 Contd

ü Legend 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 Contd

ü Summary Data View:- Displays a


statistical view of the counter data.
atures of Counter Monitor Contd
Accessories

ü Control 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
Introduction
The 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 Assista
q Contains knowledge bases to support Hyper-
Threading 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 code

q Provides static assembly advice.


nderstanding Tuning Methodology
q 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 Micro architecture- Level Tuning- Increases the


performance of application by improving the way an
application runs on a processor. This type of tuning is used
with processor-intensive applications.
TRATEGIES FOR IMPROVING PERFORMAN
F APPLICATION

ü Balancing input-output

ü Improving Threading Model

ü Improving efficiency of
computation
Types of Advice
ü Sampling-based Advice:- Tuning
assistant automatically analyzes the sampling data,
identifies performance issues, and provides insights
on the issues

ü Counter Monitor-based Advice:-


Tuning assistant performs counter analysis based
on all counters measured in activity.

ü Source-based Advice:- 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.
üStatic Assemble Penalties:-
rmation That Tuning Assistant Provi

ü Insights

ü Relevance Scale

ü Tuning Assistance Advice


ü
Insights
It indicates the problem that could be
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
ü Relevance
Scale
Indicates the relevance of the insight or
advice to a particular performance issue.
ü Tuning Assistant
Advice
Possible solution to remove or avoid a
problem.

(More Information Window of Tuning


THANK
YOU

10/23/11 4141

S-ar putea să vă placă și