SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Intel VTune
    Performance Analyzer


Semester – C           By - Vikram Singh Saini
Year – 2009
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
INTRODUCTION

          Intel VTune is a software analysis tool that enables you
      to analyze the performance of your application.

         Use Sampling to gain accurate representation of your
      software’s actual performance.
               Code Optimization and Performance
               Tuning Using Intel VTune
         Produce picture of program flow to identify critical
      functions & call sequences using Call Graph profiling.

         Track system activity and resource consumption during
      runtime with Counter Monitor.

         Tune code more efficiently using Tuning Assistant.

2
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
SAMPLING

        Sampling is the process of collecting set of data for
      analysis & representing analyzed data in statistical format.

         Sampling helps you to identify:-
        1. Hotspots – Section of code within module that takes
               Code Optimization and Performance
      long time to execute.
        2. Bottlenecks Using Intel VTune that slows down the
               Tuning – Area in the code
      execution of the application.

        Two types of sampling mechanism:
       1. Time-Based sampling.
       2. Event –Based sampling.


3
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
SAMPLING (Contd…)


      TIME – BASED SAMPLING

        Collects samples of activity at regular intervals.

         Time based sampling uses the OS timer to calculate
               Code Optimization and Performance
      the time Tuning Using Intel VTune
               interval for collecting samples.

         Collected samples displays the performance data of all
      the processes running on computer.

         The process that takes the longest time to execute
      contains the largest number of samples.


4
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
SAMPLING (Contd…)

      EVENT – BASED SAMPLING




            Code Optimization and Performance
            Tuning Using Intel VTune




5
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
SAMPLING (Contd…)


      EVENT – BASED SAMPLING

         Event based sampling is performed on basis of
      processor events.
              Code Optimization and Performance
         By using EBS, Using Intel VTune which
               Tuning one can determine
      process,thread,module,function or code line in the
      application is generating the largest number of processor
      events .

        Using EBS you can view the corresponding events
      which are taking part while application is executing.


6
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
SAMPLING (Contd…)


      SAMPLING OVER TIME




            Code Optimization and Performance
            Tuning Using Intel VTune




7
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
SAMPLING (Contd…)


      SAMPLING OVER TIME

         Sampling OverTime view displays the samples
      collected with respect to time for a single event.
              Code Optimization and Performance
         Enables you to identify which threads are running
                Tuning Using Intel VTune
      serially & in parallel at any point in time.

        Can gather following information:-
        @ Context switching
        @ Processor utilization
        @ Thread interaction
        @ Temporal location of Hotspots

8
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
CALL GRAPHS

         It helps you to obtain information about the functional
      flow of an application.

        One can identify the critical path of the application or
      module.
               Code Optimization and Performance
               Tuning Using Intel VTune
        Identify function which took long time and can be
      optimized.

         Intel Vtune displays the results of the call graph in
      three views:
          I. Graph view.
          II. Call list view.
          III. Function summary view.
9
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
CALL GRAPHS (Cont…)


      GRAPH VIEW




             Code Optimization and Performance
             Tuning Using Intel VTune




10
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
CALL GRAPHS (Contd…)


      CALL LIST VIEW




             Code Optimization and Performance
             Tuning Using Intel VTune




11
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
CALL GRAPHS (Contd…)


      FUNCTION SUMMARY VIEW




             Code Optimization and Performance
             Tuning Using Intel VTune




12
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
COUNTER MONITOR

        Counter Monitor identifies system level issues in
      application when the application runs on the system.

         It is used to track system activity and resource
      consumption during runtime.
             Code Optimization and Performance
             Tuning Using Intel VTune
         Measures and gathers performance -related data that
      represents the state of the system.

         Three views of analyzing the result:-
        # Runtime data view
        # Logged data view
        # Summary data view

13
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
COUNTER MONITOR (Contd…)


      LOGGED DATA VIEW




            Code Optimization and Performance
            Tuning Using Intel VTune




14
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
COUNTER MONITOR (Contd…)


      LEGEND VIEW




            Code Optimization and Performance
            Tuning Using Intel VTune




15
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
COUNTER MONITOR (Contd…)


      SUMMARY VIEW




            Code Optimization and Performance
            Tuning Using Intel VTune




16
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
Tuning Assistant

           Observe the performance issues of your application
        and provides advice in the form of a tuning advice report.

          Application can be tuned at three levels:
          @ System-Level
                Code Optimization and Performance
          @ Application-Level
                Tuning Using Intel VTune
          @ Microarchitecture - Level

           Three strategies to improve performance of app.:
          - Balancing I/O computation
          - Improving threading model
          - Improving efficiency of computation


17
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
Tuning Assistant (Contd…)




              Code Optimization and Performance
              Tuning Using Intel VTune




18
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
Tuning Assistant (Contd…)

          Types of Advices-
         # Sampling-based advice
         # Counter monitor-based advice
         # Source-based advice
         # Static assembly penalties
                 Code Optimization and Performance
          Static Tuning Using Intel VTune
                 assembly penalties -
          - Penalty
          - Warning

         Insight - Is a performance issue that can act as
       bottleneck to the performance of an application.


19
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
Tuning Assistant (Contd…)

        Categories of Insights -
         @ Top insights            @ Hotspots insights
         @ Workload insights       @ System Info
         @ Module insights         @ Static Analysis

                Code Optimization and Performance
                Tuning Using Intel VTune




20
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
References

         Help file – Intel VTune.chm

         www.intel.com

         www.hiperism.com
              Code Optimization and Performance
         Book Tuning UsingPerformance Analyzer Essentials
              - Intel VTune Intel VTune
       (Author: James Reinders)

         Book - NIIT 3rd Semester Intel VTune

         Background of slides is inspired from NIIT slides.


21
Intel VTune –– Performance Analyzer
Intel VTune Performance Analyzer
Your queries please




                  Thanks !
               Code Optimization and Performance
               Tuning Using Intel VTune




            Queries are welcome ???
22

Weitere ähnliche Inhalte

Was ist angesagt?

JCConf 2021 - Java17: The Next LTS
JCConf 2021 - Java17: The Next LTSJCConf 2021 - Java17: The Next LTS
JCConf 2021 - Java17: The Next LTSJoseph Kuo
 
Php and threads ZTS
Php and threads ZTSPhp and threads ZTS
Php and threads ZTSjulien pauli
 
Multithreading in java
Multithreading in javaMultithreading in java
Multithreading in javaArafat Hossan
 
Better Embedded 2013 - Detecting Memory Leaks with Valgrind
Better Embedded 2013 - Detecting Memory Leaks with ValgrindBetter Embedded 2013 - Detecting Memory Leaks with Valgrind
Better Embedded 2013 - Detecting Memory Leaks with ValgrindRigels Gordani
 
This keyword in java
This keyword in javaThis keyword in java
This keyword in javaHitesh Kumar
 
Q4.11: Using GCC Auto-Vectorizer
Q4.11: Using GCC Auto-VectorizerQ4.11: Using GCC Auto-Vectorizer
Q4.11: Using GCC Auto-VectorizerLinaro
 
FSI analysis with preCICE (OpenFOAM and CalculiX)
FSI analysis with preCICE (OpenFOAM and CalculiX) FSI analysis with preCICE (OpenFOAM and CalculiX)
FSI analysis with preCICE (OpenFOAM and CalculiX) 守淑 田村
 
OPcacheの新機能ファイルベースキャッシュの内部実装を読んでみた
OPcacheの新機能ファイルベースキャッシュの内部実装を読んでみたOPcacheの新機能ファイルベースキャッシュの内部実装を読んでみた
OPcacheの新機能ファイルベースキャッシュの内部実装を読んでみたYoshio Hanawa
 
ラプラシアンフィルタをZedBoardで実装(ソフトウェアからハードウェアにオフロード)
ラプラシアンフィルタをZedBoardで実装(ソフトウェアからハードウェアにオフロード)ラプラシアンフィルタをZedBoardで実装(ソフトウェアからハードウェアにオフロード)
ラプラシアンフィルタをZedBoardで実装(ソフトウェアからハードウェアにオフロード)marsee101
 
Basics of Java Concurrency
Basics of Java ConcurrencyBasics of Java Concurrency
Basics of Java Concurrencykshanth2101
 
Java multi threading
Java multi threadingJava multi threading
Java multi threadingRaja Sekhar
 
Lisperの見る世界
Lisperの見る世界Lisperの見る世界
Lisperの見る世界fukamachi
 
Java Programming for Designers
Java Programming for DesignersJava Programming for Designers
Java Programming for DesignersR. Sosa
 
Multithreading In Java
Multithreading In JavaMultithreading In Java
Multithreading In Javaparag
 
Java data types, variables and jvm
Java data types, variables and jvm Java data types, variables and jvm
Java data types, variables and jvm Madishetty Prathibha
 

Was ist angesagt? (20)

JCConf 2021 - Java17: The Next LTS
JCConf 2021 - Java17: The Next LTSJCConf 2021 - Java17: The Next LTS
JCConf 2021 - Java17: The Next LTS
 
Php and threads ZTS
Php and threads ZTSPhp and threads ZTS
Php and threads ZTS
 
Threads in JAVA
Threads in JAVAThreads in JAVA
Threads in JAVA
 
Java threads
Java threadsJava threads
Java threads
 
Processes and threads
Processes and threadsProcesses and threads
Processes and threads
 
Multithreading in java
Multithreading in javaMultithreading in java
Multithreading in java
 
Better Embedded 2013 - Detecting Memory Leaks with Valgrind
Better Embedded 2013 - Detecting Memory Leaks with ValgrindBetter Embedded 2013 - Detecting Memory Leaks with Valgrind
Better Embedded 2013 - Detecting Memory Leaks with Valgrind
 
This keyword in java
This keyword in javaThis keyword in java
This keyword in java
 
Q4.11: Using GCC Auto-Vectorizer
Q4.11: Using GCC Auto-VectorizerQ4.11: Using GCC Auto-Vectorizer
Q4.11: Using GCC Auto-Vectorizer
 
Dotnet basics
Dotnet basicsDotnet basics
Dotnet basics
 
FSI analysis with preCICE (OpenFOAM and CalculiX)
FSI analysis with preCICE (OpenFOAM and CalculiX) FSI analysis with preCICE (OpenFOAM and CalculiX)
FSI analysis with preCICE (OpenFOAM and CalculiX)
 
OPcacheの新機能ファイルベースキャッシュの内部実装を読んでみた
OPcacheの新機能ファイルベースキャッシュの内部実装を読んでみたOPcacheの新機能ファイルベースキャッシュの内部実装を読んでみた
OPcacheの新機能ファイルベースキャッシュの内部実装を読んでみた
 
ラプラシアンフィルタをZedBoardで実装(ソフトウェアからハードウェアにオフロード)
ラプラシアンフィルタをZedBoardで実装(ソフトウェアからハードウェアにオフロード)ラプラシアンフィルタをZedBoardで実装(ソフトウェアからハードウェアにオフロード)
ラプラシアンフィルタをZedBoardで実装(ソフトウェアからハードウェアにオフロード)
 
Basics of Java Concurrency
Basics of Java ConcurrencyBasics of Java Concurrency
Basics of Java Concurrency
 
Variables and Data Types
Variables and Data TypesVariables and Data Types
Variables and Data Types
 
Java multi threading
Java multi threadingJava multi threading
Java multi threading
 
Lisperの見る世界
Lisperの見る世界Lisperの見る世界
Lisperの見る世界
 
Java Programming for Designers
Java Programming for DesignersJava Programming for Designers
Java Programming for Designers
 
Multithreading In Java
Multithreading In JavaMultithreading In Java
Multithreading In Java
 
Java data types, variables and jvm
Java data types, variables and jvm Java data types, variables and jvm
Java data types, variables and jvm
 

Andere mochten auch

Intel® VTune™ Amplifier - Intel Software Conference 2013
Intel® VTune™ Amplifier - Intel Software Conference 2013Intel® VTune™ Amplifier - Intel Software Conference 2013
Intel® VTune™ Amplifier - Intel Software Conference 2013Intel Software Brasil
 
2 Vampir Trace Visualization
2 Vampir Trace Visualization2 Vampir Trace Visualization
2 Vampir Trace VisualizationPTIHPA
 
01 intel v_tune_session_01
01 intel v_tune_session_0101 intel v_tune_session_01
01 intel v_tune_session_01Vivek chan
 
แสตก
แสตกแสตก
แสตกNu_waew
 
PID Control Of Sampled Measurements - Greg McMillan Deminar Series
PID Control Of Sampled Measurements - Greg McMillan Deminar SeriesPID Control Of Sampled Measurements - Greg McMillan Deminar Series
PID Control Of Sampled Measurements - Greg McMillan Deminar SeriesJim Cahill
 
SS - 10 min overview
SS - 10 min overviewSS - 10 min overview
SS - 10 min overviewsseely
 
Dream Analyzer Tool
Dream Analyzer ToolDream Analyzer Tool
Dream Analyzer ToolSteve Bell
 
Differences Between Bw3.5 Bi7.0
Differences Between Bw3.5 Bi7.0Differences Between Bw3.5 Bi7.0
Differences Between Bw3.5 Bi7.0srinath_vj
 
Oxygen analyzers bb fa11 update
Oxygen analyzers bb fa11 updateOxygen analyzers bb fa11 update
Oxygen analyzers bb fa11 updateroachd
 
Types of Industrial Process Analyzers
Types of Industrial Process AnalyzersTypes of Industrial Process Analyzers
Types of Industrial Process AnalyzersAttiya Rehman
 

Andere mochten auch (13)

Intel® VTune™ Amplifier - Intel Software Conference 2013
Intel® VTune™ Amplifier - Intel Software Conference 2013Intel® VTune™ Amplifier - Intel Software Conference 2013
Intel® VTune™ Amplifier - Intel Software Conference 2013
 
2 Vampir Trace Visualization
2 Vampir Trace Visualization2 Vampir Trace Visualization
2 Vampir Trace Visualization
 
01 intel v_tune_session_01
01 intel v_tune_session_0101 intel v_tune_session_01
01 intel v_tune_session_01
 
แสตก
แสตกแสตก
แสตก
 
PID Control Of Sampled Measurements - Greg McMillan Deminar Series
PID Control Of Sampled Measurements - Greg McMillan Deminar SeriesPID Control Of Sampled Measurements - Greg McMillan Deminar Series
PID Control Of Sampled Measurements - Greg McMillan Deminar Series
 
SS - 10 min overview
SS - 10 min overviewSS - 10 min overview
SS - 10 min overview
 
Dream Analyzer Tool
Dream Analyzer ToolDream Analyzer Tool
Dream Analyzer Tool
 
Differences Between Bw3.5 Bi7.0
Differences Between Bw3.5 Bi7.0Differences Between Bw3.5 Bi7.0
Differences Between Bw3.5 Bi7.0
 
Oxygen analyzers bb fa11 update
Oxygen analyzers bb fa11 updateOxygen analyzers bb fa11 update
Oxygen analyzers bb fa11 update
 
SRE From Scratch
SRE From ScratchSRE From Scratch
SRE From Scratch
 
Oxygen Analyzer
Oxygen AnalyzerOxygen Analyzer
Oxygen Analyzer
 
Automation
AutomationAutomation
Automation
 
Types of Industrial Process Analyzers
Types of Industrial Process AnalyzersTypes of Industrial Process Analyzers
Types of Industrial Process Analyzers
 

Ähnlich wie Intel VTune

07 intel v_tune_session_10
07 intel v_tune_session_1007 intel v_tune_session_10
07 intel v_tune_session_10Vivek chan
 
06 intel v_tune_session_08
06 intel v_tune_session_0806 intel v_tune_session_08
06 intel v_tune_session_08Niit Care
 
04 intel v_tune_session_05
04 intel v_tune_session_0504 intel v_tune_session_05
04 intel v_tune_session_05Niit Care
 
Performance and Power Profiling on Intel Android Devices
Performance and Power Profiling on Intel Android DevicesPerformance and Power Profiling on Intel Android Devices
Performance and Power Profiling on Intel Android DevicesIntel® Software
 
08 intel v_tune_session_11
08 intel v_tune_session_1108 intel v_tune_session_11
08 intel v_tune_session_11Niit Care
 
05 intel v_tune_session_07
05 intel v_tune_session_0705 intel v_tune_session_07
05 intel v_tune_session_07Niit Care
 
10 intel v_tune_session_14
10 intel  v_tune_session_1410 intel  v_tune_session_14
10 intel v_tune_session_14Niit Care
 
07 intel v_tune_session_10
07 intel v_tune_session_1007 intel v_tune_session_10
07 intel v_tune_session_10Niit Care
 
04 intel v_tune_session_05
04 intel v_tune_session_0504 intel v_tune_session_05
04 intel v_tune_session_05Vivek chan
 
09 intel v_tune_session_13
09 intel v_tune_session_1309 intel v_tune_session_13
09 intel v_tune_session_13Vivek chan
 
Software Development Tools for Intel® IoT Platforms
Software Development Tools for Intel® IoT PlatformsSoftware Development Tools for Intel® IoT Platforms
Software Development Tools for Intel® IoT PlatformsIntel® Software
 
Develop, Deploy, and Innovate with Intel® Cluster Ready
Develop, Deploy, and Innovate with Intel® Cluster ReadyDevelop, Deploy, and Innovate with Intel® Cluster Ready
Develop, Deploy, and Innovate with Intel® Cluster ReadyIntel IT Center
 
Intel® Xeon® processor E7-8800/4800 v3 Application Showcase
Intel® Xeon® processor E7-8800/4800 v3 Application ShowcaseIntel® Xeon® processor E7-8800/4800 v3 Application Showcase
Intel® Xeon® processor E7-8800/4800 v3 Application ShowcaseIntel IT Center
 
E5 Intel Xeon Processor E5 Family Making the Business Case
E5 Intel Xeon Processor E5 Family Making the Business Case E5 Intel Xeon Processor E5 Family Making the Business Case
E5 Intel Xeon Processor E5 Family Making the Business Case Intel IT Center
 
11 intel v_tune_session_16
11 intel v_tune_session_1611 intel v_tune_session_16
11 intel v_tune_session_16Niit Care
 
Getting the maximum performance in distributed clusters Intel Cluster Studio XE
Getting the maximum performance in distributed clusters Intel Cluster Studio XEGetting the maximum performance in distributed clusters Intel Cluster Studio XE
Getting the maximum performance in distributed clusters Intel Cluster Studio XEIntel Software Brasil
 
Технологии Intel для виртуализации сетей операторов связи
Технологии Intel для виртуализации сетей операторов связиТехнологии Intel для виртуализации сетей операторов связи
Технологии Intel для виртуализации сетей операторов связиCisco Russia
 
Design and Optimize your code for high-performance with Intel® Advisor and I...
Design and Optimize your code for high-performance with Intel®  Advisor and I...Design and Optimize your code for high-performance with Intel®  Advisor and I...
Design and Optimize your code for high-performance with Intel® Advisor and I...Tyrone Systems
 
IRJET - IoT-based Monitoring of Induction Motor Performance
IRJET - IoT-based Monitoring of Induction Motor PerformanceIRJET - IoT-based Monitoring of Induction Motor Performance
IRJET - IoT-based Monitoring of Induction Motor PerformanceIRJET Journal
 

Ähnlich wie Intel VTune (20)

07 intel v_tune_session_10
07 intel v_tune_session_1007 intel v_tune_session_10
07 intel v_tune_session_10
 
06 intel v_tune_session_08
06 intel v_tune_session_0806 intel v_tune_session_08
06 intel v_tune_session_08
 
04 intel v_tune_session_05
04 intel v_tune_session_0504 intel v_tune_session_05
04 intel v_tune_session_05
 
Performance and Power Profiling on Intel Android Devices
Performance and Power Profiling on Intel Android DevicesPerformance and Power Profiling on Intel Android Devices
Performance and Power Profiling on Intel Android Devices
 
08 intel v_tune_session_11
08 intel v_tune_session_1108 intel v_tune_session_11
08 intel v_tune_session_11
 
05 intel v_tune_session_07
05 intel v_tune_session_0705 intel v_tune_session_07
05 intel v_tune_session_07
 
10 intel v_tune_session_14
10 intel  v_tune_session_1410 intel  v_tune_session_14
10 intel v_tune_session_14
 
07 intel v_tune_session_10
07 intel v_tune_session_1007 intel v_tune_session_10
07 intel v_tune_session_10
 
04 intel v_tune_session_05
04 intel v_tune_session_0504 intel v_tune_session_05
04 intel v_tune_session_05
 
09 intel v_tune_session_13
09 intel v_tune_session_1309 intel v_tune_session_13
09 intel v_tune_session_13
 
Software Development Tools for Intel® IoT Platforms
Software Development Tools for Intel® IoT PlatformsSoftware Development Tools for Intel® IoT Platforms
Software Development Tools for Intel® IoT Platforms
 
Develop, Deploy, and Innovate with Intel® Cluster Ready
Develop, Deploy, and Innovate with Intel® Cluster ReadyDevelop, Deploy, and Innovate with Intel® Cluster Ready
Develop, Deploy, and Innovate with Intel® Cluster Ready
 
Intel® Xeon® processor E7-8800/4800 v3 Application Showcase
Intel® Xeon® processor E7-8800/4800 v3 Application ShowcaseIntel® Xeon® processor E7-8800/4800 v3 Application Showcase
Intel® Xeon® processor E7-8800/4800 v3 Application Showcase
 
E5 Intel Xeon Processor E5 Family Making the Business Case
E5 Intel Xeon Processor E5 Family Making the Business Case E5 Intel Xeon Processor E5 Family Making the Business Case
E5 Intel Xeon Processor E5 Family Making the Business Case
 
11 intel v_tune_session_16
11 intel v_tune_session_1611 intel v_tune_session_16
11 intel v_tune_session_16
 
Getting the maximum performance in distributed clusters Intel Cluster Studio XE
Getting the maximum performance in distributed clusters Intel Cluster Studio XEGetting the maximum performance in distributed clusters Intel Cluster Studio XE
Getting the maximum performance in distributed clusters Intel Cluster Studio XE
 
Технологии Intel для виртуализации сетей операторов связи
Технологии Intel для виртуализации сетей операторов связиТехнологии Intel для виртуализации сетей операторов связи
Технологии Intel для виртуализации сетей операторов связи
 
Design and Optimize your code for high-performance with Intel® Advisor and I...
Design and Optimize your code for high-performance with Intel®  Advisor and I...Design and Optimize your code for high-performance with Intel®  Advisor and I...
Design and Optimize your code for high-performance with Intel® Advisor and I...
 
IRJET - IoT-based Monitoring of Induction Motor Performance
IRJET - IoT-based Monitoring of Induction Motor PerformanceIRJET - IoT-based Monitoring of Induction Motor Performance
IRJET - IoT-based Monitoring of Induction Motor Performance
 
AIDC India - AI on IA
AIDC India  - AI on IAAIDC India  - AI on IA
AIDC India - AI on IA
 

Kürzlich hochgeladen

Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Kürzlich hochgeladen (20)

Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Intel VTune

  • 1. Intel VTune Performance Analyzer Semester – C By - Vikram Singh Saini Year – 2009
  • 2. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer INTRODUCTION Intel VTune is a software analysis tool that enables you to analyze the performance of your application. Use Sampling to gain accurate representation of your software’s actual performance. Code Optimization and Performance Tuning Using Intel VTune Produce picture of program flow to identify critical functions & call sequences using Call Graph profiling. Track system activity and resource consumption during runtime with Counter Monitor. Tune code more efficiently using Tuning Assistant. 2
  • 3. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer SAMPLING Sampling is the process of collecting set of data for analysis & representing analyzed data in statistical format. Sampling helps you to identify:- 1. Hotspots – Section of code within module that takes Code Optimization and Performance long time to execute. 2. Bottlenecks Using Intel VTune that slows down the Tuning – Area in the code execution of the application. Two types of sampling mechanism: 1. Time-Based sampling. 2. Event –Based sampling. 3
  • 4. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer SAMPLING (Contd…) TIME – BASED SAMPLING Collects samples of activity at regular intervals. Time based sampling uses the OS timer to calculate Code Optimization and Performance the time Tuning Using Intel VTune interval for collecting samples. Collected samples displays the performance data of all the processes running on computer. The process that takes the longest time to execute contains the largest number of samples. 4
  • 5. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer SAMPLING (Contd…) EVENT – BASED SAMPLING Code Optimization and Performance Tuning Using Intel VTune 5
  • 6. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer SAMPLING (Contd…) EVENT – BASED SAMPLING Event based sampling is performed on basis of processor events. Code Optimization and Performance By using EBS, Using Intel VTune which Tuning one can determine process,thread,module,function or code line in the application is generating the largest number of processor events . Using EBS you can view the corresponding events which are taking part while application is executing. 6
  • 7. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer SAMPLING (Contd…) SAMPLING OVER TIME Code Optimization and Performance Tuning Using Intel VTune 7
  • 8. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer SAMPLING (Contd…) SAMPLING OVER TIME Sampling OverTime view displays the samples collected with respect to time for a single event. Code Optimization and Performance Enables you to identify which threads are running Tuning Using Intel VTune serially & in parallel at any point in time. Can gather following information:- @ Context switching @ Processor utilization @ Thread interaction @ Temporal location of Hotspots 8
  • 9. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer CALL GRAPHS It helps you to obtain information about the functional flow of an application. One can identify the critical path of the application or module. Code Optimization and Performance Tuning Using Intel VTune Identify function which took long time and can be optimized. Intel Vtune displays the results of the call graph in three views: I. Graph view. II. Call list view. III. Function summary view. 9
  • 10. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer CALL GRAPHS (Cont…) GRAPH VIEW Code Optimization and Performance Tuning Using Intel VTune 10
  • 11. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer CALL GRAPHS (Contd…) CALL LIST VIEW Code Optimization and Performance Tuning Using Intel VTune 11
  • 12. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer CALL GRAPHS (Contd…) FUNCTION SUMMARY VIEW Code Optimization and Performance Tuning Using Intel VTune 12
  • 13. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer COUNTER MONITOR Counter Monitor identifies system level issues in application when the application runs on the system. It is used to track system activity and resource consumption during runtime. Code Optimization and Performance Tuning Using Intel VTune Measures and gathers performance -related data that represents the state of the system. Three views of analyzing the result:- # Runtime data view # Logged data view # Summary data view 13
  • 14. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer COUNTER MONITOR (Contd…) LOGGED DATA VIEW Code Optimization and Performance Tuning Using Intel VTune 14
  • 15. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer COUNTER MONITOR (Contd…) LEGEND VIEW Code Optimization and Performance Tuning Using Intel VTune 15
  • 16. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer COUNTER MONITOR (Contd…) SUMMARY VIEW Code Optimization and Performance Tuning Using Intel VTune 16
  • 17. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer Tuning Assistant Observe the performance issues of your application and provides advice in the form of a tuning advice report. Application can be tuned at three levels: @ System-Level Code Optimization and Performance @ Application-Level Tuning Using Intel VTune @ Microarchitecture - Level Three strategies to improve performance of app.: - Balancing I/O computation - Improving threading model - Improving efficiency of computation 17
  • 18. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer Tuning Assistant (Contd…) Code Optimization and Performance Tuning Using Intel VTune 18
  • 19. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer Tuning Assistant (Contd…) Types of Advices- # Sampling-based advice # Counter monitor-based advice # Source-based advice # Static assembly penalties Code Optimization and Performance Static Tuning Using Intel VTune assembly penalties - - Penalty - Warning Insight - Is a performance issue that can act as bottleneck to the performance of an application. 19
  • 20. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer Tuning Assistant (Contd…) Categories of Insights - @ Top insights @ Hotspots insights @ Workload insights @ System Info @ Module insights @ Static Analysis Code Optimization and Performance Tuning Using Intel VTune 20
  • 21. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer References Help file – Intel VTune.chm www.intel.com www.hiperism.com Code Optimization and Performance Book Tuning UsingPerformance Analyzer Essentials - Intel VTune Intel VTune (Author: James Reinders) Book - NIIT 3rd Semester Intel VTune Background of slides is inspired from NIIT slides. 21
  • 22. Intel VTune –– Performance Analyzer Intel VTune Performance Analyzer Your queries please Thanks ! Code Optimization and Performance Tuning Using Intel VTune Queries are welcome ??? 22

Hinweis der Redaktion

  1. Graph view Iis for purpose of the anyhthing.
  2. http://www.hiperism.com/Intel/VTune_Analyzers/Reseller_ProductPage_VTune_Perf_Analyzer_005.htm