SlideShare a Scribd company logo
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Objectives


                In this session, you will learn to:
                   Obtain Tuning Advice Reports




     Ver. 1.0                                               Slide 1 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Getting Tuning Advice Reports


                Tuning assistant displays information about possible
                solutions in the form of tuning advice reports.
                Tuning advice report:
                   Provides information about performance-related issues and
                   insights on the causes of the issues.
                   Provides you with a detailed description of suggestions or
                   insights.
                Each insight includes links that enable you to obtain more
                information about the insight.
                The tuning assistant displays the tuning advice report for
                event-based sampling results and counter monitor results.




     Ver. 1.0                                                            Slide 2 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Obtaining Tuning Advice Reports For Event-Based Sampling


                Tuning assistant is available for only event-based sampling
                data and not for time-based sampling data.
                When you invoke tuning assistant for event-based sampling
                data, the tuning advice report:
                   Indicates the problems.
                   Suggests solutions for each selected module, process, or
                   function in the sampling view.




     Ver. 1.0                                                           Slide 3 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Obtaining Tuning Advice Reports For Event-Based Sampling (Contd.)


                To start using tuning advice reports for sampling data, you
                need to:
                   Invoke the sampling wizard
                   Set the levels of analysis of sampling data
                   Set options for sampling activity results
                   Analyze the insights and tuning advice




     Ver. 1.0                                                        Slide 4 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Obtaining Tuning Advice Reports For Event-Based Sampling (Contd.)


                You can select the Automatically Generate Tuning Advice
                check box in the sampling wizard to obtain the tuning advice
                report.
                Alternatively, you can select the Get Tuning Advice option
                from the View menu option on the menu bar to invoke the
                tuning assistant.




     Ver. 1.0                                                       Slide 5 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Obtaining Tuning Advice Reports For Event-Based Sampling (Contd.)


                Set the levels of analysis:
                ►   One sampling run with minimal advice
                ►   A few sampling runs with some advice
                ►   Many sampling runs with more advice
                      This option enables you to instruct the sampling
                      collector to monitor only the events associated with
                                                                used for:
                      the clockticksapplication level tuning
                             In-depth per instruction retired.
                             Basic application level tuning
                      In thisBasic microarchitectural-levelreport contains a small
                              case, the tuning advice tuning
                      amount of advice for specified events.




     Ver. 1.0                                                                        Slide 6 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Obtaining Tuning Advice Reports For Event-Based Sampling (Contd.)


                The various categories of insights that you can view in a
                tuning advice report are:
                ►   Top insights         These are insights that are estimated to have
                                         significant impacts on performance.
                ►   Workload insights    These are performance issues for all modules
                                         Performance impact enables you to identify the
                                         and processes
                ►   Module insights      Insights on performance issues for achieve for
                                         maximum optimization that you canthe modules
                                         in an application
                                         the application.
                ►   Hotspots insights    These are insights on performance issues based
                                         on functions that are sorted by percentage of
                ►   System info          Summarizes the features that the system uses,
                                         CPU time.
                                         such as the speed ofinformation about possible
                                         Enables you to view the processor and the
                ►   Static analysis      name of the operating system
                                         optimizations to improve application
                                         performance




     Ver. 1.0                                                                 Slide 7 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Just a minute


                What is tuning advice?




                Answer:
                   Tuning advice is a possible solution to remove a performance
                   problem.


     Ver. 1.0                                                           Slide 8 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Just a minute


                What is an insight?




                Answer:
                   An insight is a performance issue that can act as a bottleneck
                   to the performance of an application.


     Ver. 1.0                                                             Slide 9 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Obtaining Tuning Advice Reports For Counter Monitor Data


                Tuning assistant enables you to analyze the results of the
                counter monitor data in counter view.
                Tuning assistant creates a tuning advice report that
                describes potential bottlenecks to application performance.
                The tuning advice report for the results of counter monitor
                data also provides suggestions on avoiding or removing the
                performance issues.




     Ver. 1.0                                                       Slide 10 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Just a minute


                What is relevance score?




                Answer:
                   Relevance score indicates relevance of a particular insight or
                   advice.


     Ver. 1.0                                                             Slide 11 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Activity: Analyzing Data Using the Tuning Advice Report – 1


                Problem Statement:
                   Jim Lewis, a software developer, has developed an application
                   in C#, MyApp, which involves the use of a two-dimensional
                   matrix. He needs to analyze the performance of the application
                   by collecting sampling-based data. Jim wants to invoke tuning
                   assistant to view the tuning advice report. In addition, Jim
                   needs to analyze and identify the performance issues in the
                   application. He also needs to analyze the advice on
                   performance issues using the tuning advice report. How will
                   Jim perform this task?




     Ver. 1.0                                                            Slide 12 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Activity: Analyzing Data Using the Tuning Advice Report – 1 (Contd.)


                Solution
                   To analyze the performance of the application by collecting
                   sampling-based data and using tuning assistant, you need to
                   perform the following tasks:
                    1. Collect sampling-based performance data.
                    2. Invoke tuning assistant and analyze tuning advice and insights for
                       sampling data.




     Ver. 1.0                                                                   Slide 13 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Activity: Analyzing Data Using the Tuning Advice Report – 2


                Problem Statement:
                   Chris has developed an application in Java, which involves the
                   use of a two-dimensional matrix. However, on execution, he
                   finds that his application is performing very slowly. Therefore,
                   he decides to analyze the performance of his application by
                   collecting sampling-based data. In addition, he also wants to
                   invoke the tuning assistant to get the tuning advice report. Help
                   Chris to accomplish his task.




     Ver. 1.0                                                              Slide 14 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Activity: Analyzing Data Using the Tuning Advice Report – 2 (Contd.)


                Solution
                   To analyze the performance of the application by collecting
                   sampling-based data and using tuning assistant, you need to
                   perform the following tasks:
                    1. Collect sampling-based performance data.
                    2. Invoke tuning assistant and analyze tuning advice and insights for
                       sampling data.




     Ver. 1.0                                                                   Slide 15 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Comparing Activity Results


                To optimize the application, you can compare multiple
                activity results.
                Comparing the results enables you to identify the
                best-optimized code and enhance application performance.




     Ver. 1.0                                                    Slide 16 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Summary


                •   In this session, you learned that:
                       The tuning assistant displays information about possible
                       solutions in the form of tuning advice reports.
                       The two types of tuning advice reports that the tuning assistant
                       displays are:
                         • Event-based sampling activity results
                         • Counter monitor activity results
                       To start using tuning advice reports for sampling data:
                           Invoke the sampling wizard
                           Set the levels of analysis of sampling data
                           Set options for sampling activity results
                           Analyze the insights and tuning advice




     Ver. 1.0                                                                    Slide 17 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Summary (Contd.)


                  The various categories of insights that you can view in a tuning
                  advice report for event-based sampling activity are:
                     •   Top insights
                     •   Workload insights
                     •   Module insights
                     •   Hotspots insights
                     •   System info
                     •   Static analysis
                • The tuning assistant enables you to analyze the results of the
                  counter monitor data in the counter view.
                • The tuning advice report for the results of counter monitor data
                  also provides suggestions on avoiding or removing the
                  performance issues.
                • The tuning assistant enables you to compare the performance
                  of an application across multiple activity results.


     Ver. 1.0                                                             Slide 18 of 19
Code Optimization and Performance Tuning Using Intel VTune
Installing Windows XP Professional Using Attended Installation

Summary (Contd.)


                The tuning assistant enables you to compare sampling activity
                results across the same or different architectures.




     Ver. 1.0                                                        Slide 19 of 19

More Related Content

Similar to 08 intel v_tune_session_11

01 intel v_tune_session_01
01 intel v_tune_session_0101 intel v_tune_session_01
01 intel v_tune_session_01Niit Care
 
01 intel v_tune_session_01
01 intel v_tune_session_0101 intel v_tune_session_01
01 intel v_tune_session_01
Vivek chan
 
09 intel v_tune_session_13
09 intel v_tune_session_1309 intel v_tune_session_13
09 intel v_tune_session_13
Vivek chan
 
Debug, Analyze and Optimize Games with Intel Tools
Debug, Analyze and Optimize Games with Intel Tools Debug, Analyze and Optimize Games with Intel Tools
Debug, Analyze and Optimize Games with Intel Tools
Matteo Valoriani
 
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
Codemotion
 
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
Codemotion
 
09 intel v_tune_session_13
09 intel v_tune_session_1309 intel v_tune_session_13
09 intel v_tune_session_13Niit Care
 
AIDC India - AI on IA
AIDC India  - AI on IAAIDC India  - AI on IA
AIDC India - AI on IA
Intel® Software
 
02 intel v_tune_session_02
02 intel v_tune_session_0202 intel v_tune_session_02
02 intel v_tune_session_02
Vivek chan
 
How Microsoft Technologies And Windows Vista Improve Supporting
How Microsoft Technologies And Windows Vista Improve SupportingHow Microsoft Technologies And Windows Vista Improve Supporting
How Microsoft Technologies And Windows Vista Improve Supporting
Microsoft TechNet
 
04 intel v_tune_session_05
04 intel v_tune_session_0504 intel v_tune_session_05
04 intel v_tune_session_05
Vivek chan
 
14 ooad uml-19
14 ooad uml-1914 ooad uml-19
14 ooad uml-19Niit Care
 
Dot Net Application Monitoring
Dot Net Application MonitoringDot Net Application Monitoring
Dot Net Application Monitoring
Ravi Okade
 
Comp tia a+_session_03
Comp tia a+_session_03Comp tia a+_session_03
Comp tia a+_session_03Niit Care
 
Windows Accelerate IT Pro Bootcamp: Platform Delivery (Module 2 of 8)
Windows Accelerate IT Pro Bootcamp: Platform Delivery (Module 2 of 8)Windows Accelerate IT Pro Bootcamp: Platform Delivery (Module 2 of 8)
Windows Accelerate IT Pro Bootcamp: Platform Delivery (Module 2 of 8)
Intergen
 
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
Intel IT Center
 
Comp tia a+_session_09
Comp tia a+_session_09Comp tia a+_session_09
Comp tia a+_session_09Niit Care
 
智慧檢測技術與工業自動化
智慧檢測技術與工業自動化智慧檢測技術與工業自動化
智慧檢測技術與工業自動化
CHENHuiMei
 
Kaseya Connect 2011 - Leveraging vPro (intel)
Kaseya Connect 2011 - Leveraging vPro (intel)Kaseya Connect 2011 - Leveraging vPro (intel)
Kaseya Connect 2011 - Leveraging vPro (intel)Kaseya
 
Tuning For Deep Learning Inference with Intel® Processor Graphics | SIGGRAPH ...
Tuning For Deep Learning Inference with Intel® Processor Graphics | SIGGRAPH ...Tuning For Deep Learning Inference with Intel® Processor Graphics | SIGGRAPH ...
Tuning For Deep Learning Inference with Intel® Processor Graphics | SIGGRAPH ...
Intel® Software
 

Similar to 08 intel v_tune_session_11 (20)

01 intel v_tune_session_01
01 intel v_tune_session_0101 intel v_tune_session_01
01 intel v_tune_session_01
 
01 intel v_tune_session_01
01 intel v_tune_session_0101 intel v_tune_session_01
01 intel v_tune_session_01
 
09 intel v_tune_session_13
09 intel v_tune_session_1309 intel v_tune_session_13
09 intel v_tune_session_13
 
Debug, Analyze and Optimize Games with Intel Tools
Debug, Analyze and Optimize Games with Intel Tools Debug, Analyze and Optimize Games with Intel Tools
Debug, Analyze and Optimize Games with Intel Tools
 
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
 
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
 
09 intel v_tune_session_13
09 intel v_tune_session_1309 intel v_tune_session_13
09 intel v_tune_session_13
 
AIDC India - AI on IA
AIDC India  - AI on IAAIDC India  - AI on IA
AIDC India - AI on IA
 
02 intel v_tune_session_02
02 intel v_tune_session_0202 intel v_tune_session_02
02 intel v_tune_session_02
 
How Microsoft Technologies And Windows Vista Improve Supporting
How Microsoft Technologies And Windows Vista Improve SupportingHow Microsoft Technologies And Windows Vista Improve Supporting
How Microsoft Technologies And Windows Vista Improve Supporting
 
04 intel v_tune_session_05
04 intel v_tune_session_0504 intel v_tune_session_05
04 intel v_tune_session_05
 
14 ooad uml-19
14 ooad uml-1914 ooad uml-19
14 ooad uml-19
 
Dot Net Application Monitoring
Dot Net Application MonitoringDot Net Application Monitoring
Dot Net Application Monitoring
 
Comp tia a+_session_03
Comp tia a+_session_03Comp tia a+_session_03
Comp tia a+_session_03
 
Windows Accelerate IT Pro Bootcamp: Platform Delivery (Module 2 of 8)
Windows Accelerate IT Pro Bootcamp: Platform Delivery (Module 2 of 8)Windows Accelerate IT Pro Bootcamp: Platform Delivery (Module 2 of 8)
Windows Accelerate IT Pro Bootcamp: Platform Delivery (Module 2 of 8)
 
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
 
Comp tia a+_session_09
Comp tia a+_session_09Comp tia a+_session_09
Comp tia a+_session_09
 
智慧檢測技術與工業自動化
智慧檢測技術與工業自動化智慧檢測技術與工業自動化
智慧檢測技術與工業自動化
 
Kaseya Connect 2011 - Leveraging vPro (intel)
Kaseya Connect 2011 - Leveraging vPro (intel)Kaseya Connect 2011 - Leveraging vPro (intel)
Kaseya Connect 2011 - Leveraging vPro (intel)
 
Tuning For Deep Learning Inference with Intel® Processor Graphics | SIGGRAPH ...
Tuning For Deep Learning Inference with Intel® Processor Graphics | SIGGRAPH ...Tuning For Deep Learning Inference with Intel® Processor Graphics | SIGGRAPH ...
Tuning For Deep Learning Inference with Intel® Processor Graphics | SIGGRAPH ...
 

More from Niit Care (20)

Ajs 1 b
Ajs 1 bAjs 1 b
Ajs 1 b
 
Ajs 4 b
Ajs 4 bAjs 4 b
Ajs 4 b
 
Ajs 4 a
Ajs 4 aAjs 4 a
Ajs 4 a
 
Ajs 4 c
Ajs 4 cAjs 4 c
Ajs 4 c
 
Ajs 3 b
Ajs 3 bAjs 3 b
Ajs 3 b
 
Ajs 3 a
Ajs 3 aAjs 3 a
Ajs 3 a
 
Ajs 3 c
Ajs 3 cAjs 3 c
Ajs 3 c
 
Ajs 2 b
Ajs 2 bAjs 2 b
Ajs 2 b
 
Ajs 2 a
Ajs 2 aAjs 2 a
Ajs 2 a
 
Ajs 2 c
Ajs 2 cAjs 2 c
Ajs 2 c
 
Ajs 1 a
Ajs 1 aAjs 1 a
Ajs 1 a
 
Ajs 1 c
Ajs 1 cAjs 1 c
Ajs 1 c
 
Dacj 4 2-c
Dacj 4 2-cDacj 4 2-c
Dacj 4 2-c
 
Dacj 4 2-b
Dacj 4 2-bDacj 4 2-b
Dacj 4 2-b
 
Dacj 4 2-a
Dacj 4 2-aDacj 4 2-a
Dacj 4 2-a
 
Dacj 4 1-c
Dacj 4 1-cDacj 4 1-c
Dacj 4 1-c
 
Dacj 4 1-b
Dacj 4 1-bDacj 4 1-b
Dacj 4 1-b
 
Dacj 4 1-a
Dacj 4 1-aDacj 4 1-a
Dacj 4 1-a
 
Dacj 1-2 b
Dacj 1-2 bDacj 1-2 b
Dacj 1-2 b
 
Dacj 1-3 c
Dacj 1-3 cDacj 1-3 c
Dacj 1-3 c
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 

08 intel v_tune_session_11

  • 1. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Objectives In this session, you will learn to: Obtain Tuning Advice Reports Ver. 1.0 Slide 1 of 19
  • 2. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Getting Tuning Advice Reports Tuning assistant displays information about possible solutions in the form of tuning advice reports. Tuning advice report: Provides information about performance-related issues and insights on the causes of the issues. Provides you with a detailed description of suggestions or insights. Each insight includes links that enable you to obtain more information about the insight. The tuning assistant displays the tuning advice report for event-based sampling results and counter monitor results. Ver. 1.0 Slide 2 of 19
  • 3. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Obtaining Tuning Advice Reports For Event-Based Sampling Tuning assistant is available for only event-based sampling data and not for time-based sampling data. When you invoke tuning assistant for event-based sampling data, the tuning advice report: Indicates the problems. Suggests solutions for each selected module, process, or function in the sampling view. Ver. 1.0 Slide 3 of 19
  • 4. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Obtaining Tuning Advice Reports For Event-Based Sampling (Contd.) To start using tuning advice reports for sampling data, you need to: Invoke the sampling wizard Set the levels of analysis of sampling data Set options for sampling activity results Analyze the insights and tuning advice Ver. 1.0 Slide 4 of 19
  • 5. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Obtaining Tuning Advice Reports For Event-Based Sampling (Contd.) You can select the Automatically Generate Tuning Advice check box in the sampling wizard to obtain the tuning advice report. Alternatively, you can select the Get Tuning Advice option from the View menu option on the menu bar to invoke the tuning assistant. Ver. 1.0 Slide 5 of 19
  • 6. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Obtaining Tuning Advice Reports For Event-Based Sampling (Contd.) Set the levels of analysis: ► One sampling run with minimal advice ► A few sampling runs with some advice ► Many sampling runs with more advice This option enables you to instruct the sampling collector to monitor only the events associated with used for: the clockticksapplication level tuning In-depth per instruction retired. Basic application level tuning In thisBasic microarchitectural-levelreport contains a small case, the tuning advice tuning amount of advice for specified events. Ver. 1.0 Slide 6 of 19
  • 7. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Obtaining Tuning Advice Reports For Event-Based Sampling (Contd.) The various categories of insights that you can view in a tuning advice report are: ► Top insights These are insights that are estimated to have significant impacts on performance. ► Workload insights These are performance issues for all modules Performance impact enables you to identify the and processes ► Module insights Insights on performance issues for achieve for maximum optimization that you canthe modules in an application the application. ► Hotspots insights These are insights on performance issues based on functions that are sorted by percentage of ► System info Summarizes the features that the system uses, CPU time. such as the speed ofinformation about possible Enables you to view the processor and the ► Static analysis name of the operating system optimizations to improve application performance Ver. 1.0 Slide 7 of 19
  • 8. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Just a minute What is tuning advice? Answer: Tuning advice is a possible solution to remove a performance problem. Ver. 1.0 Slide 8 of 19
  • 9. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Just a minute What is an insight? Answer: An insight is a performance issue that can act as a bottleneck to the performance of an application. Ver. 1.0 Slide 9 of 19
  • 10. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Obtaining Tuning Advice Reports For Counter Monitor Data Tuning assistant enables you to analyze the results of the counter monitor data in counter view. Tuning assistant creates a tuning advice report that describes potential bottlenecks to application performance. The tuning advice report for the results of counter monitor data also provides suggestions on avoiding or removing the performance issues. Ver. 1.0 Slide 10 of 19
  • 11. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Just a minute What is relevance score? Answer: Relevance score indicates relevance of a particular insight or advice. Ver. 1.0 Slide 11 of 19
  • 12. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Activity: Analyzing Data Using the Tuning Advice Report – 1 Problem Statement: Jim Lewis, a software developer, has developed an application in C#, MyApp, which involves the use of a two-dimensional matrix. He needs to analyze the performance of the application by collecting sampling-based data. Jim wants to invoke tuning assistant to view the tuning advice report. In addition, Jim needs to analyze and identify the performance issues in the application. He also needs to analyze the advice on performance issues using the tuning advice report. How will Jim perform this task? Ver. 1.0 Slide 12 of 19
  • 13. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Activity: Analyzing Data Using the Tuning Advice Report – 1 (Contd.) Solution To analyze the performance of the application by collecting sampling-based data and using tuning assistant, you need to perform the following tasks: 1. Collect sampling-based performance data. 2. Invoke tuning assistant and analyze tuning advice and insights for sampling data. Ver. 1.0 Slide 13 of 19
  • 14. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Activity: Analyzing Data Using the Tuning Advice Report – 2 Problem Statement: Chris has developed an application in Java, which involves the use of a two-dimensional matrix. However, on execution, he finds that his application is performing very slowly. Therefore, he decides to analyze the performance of his application by collecting sampling-based data. In addition, he also wants to invoke the tuning assistant to get the tuning advice report. Help Chris to accomplish his task. Ver. 1.0 Slide 14 of 19
  • 15. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Activity: Analyzing Data Using the Tuning Advice Report – 2 (Contd.) Solution To analyze the performance of the application by collecting sampling-based data and using tuning assistant, you need to perform the following tasks: 1. Collect sampling-based performance data. 2. Invoke tuning assistant and analyze tuning advice and insights for sampling data. Ver. 1.0 Slide 15 of 19
  • 16. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Comparing Activity Results To optimize the application, you can compare multiple activity results. Comparing the results enables you to identify the best-optimized code and enhance application performance. Ver. 1.0 Slide 16 of 19
  • 17. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Summary • In this session, you learned that: The tuning assistant displays information about possible solutions in the form of tuning advice reports. The two types of tuning advice reports that the tuning assistant displays are: • Event-based sampling activity results • Counter monitor activity results To start using tuning advice reports for sampling data: Invoke the sampling wizard Set the levels of analysis of sampling data Set options for sampling activity results Analyze the insights and tuning advice Ver. 1.0 Slide 17 of 19
  • 18. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Summary (Contd.) The various categories of insights that you can view in a tuning advice report for event-based sampling activity are: • Top insights • Workload insights • Module insights • Hotspots insights • System info • Static analysis • The tuning assistant enables you to analyze the results of the counter monitor data in the counter view. • The tuning advice report for the results of counter monitor data also provides suggestions on avoiding or removing the performance issues. • The tuning assistant enables you to compare the performance of an application across multiple activity results. Ver. 1.0 Slide 18 of 19
  • 19. Code Optimization and Performance Tuning Using Intel VTune Installing Windows XP Professional Using Attended Installation Summary (Contd.) The tuning assistant enables you to compare sampling activity results across the same or different architectures. Ver. 1.0 Slide 19 of 19

Editor's Notes

  1. Share the objectives with the students.
  2. VTune Performance Analyzer examines the entire code and searches for optimization opportunities in the code. After analyzing the code it uses Tuning Assistant to provide insights on the performance issues and also suitable optimization advice. An insight is an observation about the performance of your code and indicates bottlenecks in performance of the code. Advice is a suggestion or possible solution to the performance issues in the code. The objective of Getting tuning advice report is: In the Tuning Advice report, Tuning Assistant lists the performance issues under each selected process, module, or function. Under each performance issue, insights are listed displaying the cause of the performance issue. Under each insight advice relevant to the performance issue is given. You can specify the default display for the Tuning Advice report in the Intel Tuning Assistant configuration panel.
  3. In this slide, explain the information a tuning assistant describes for event-based sampling. You can identify microarchitecture level bottlenecks by obtaining Tuning Advice report for event-based sampling. You can use the Advanced Display Options dialog box to determine the items to be displayed in the Tuning advice report. You can refer to VTune help to modify the default settings. A performance issue with moderate effect on the total workload may have critical effect on a particular time phase within the workload.
  4. In this slide, discuss various steps to be performed for getting tuning advice for sampling data.
  5. Tell the students that to get automatically generate the tuning advice, the Automatically generate tuning advice check box, under the Tuning Assistant section, should be selected.
  6. In this slide, tell the students that once you select the Automatically generate tuning advice check box, you can set the levels of analysis. Discuss these levels of analysis from in the preceding slide with the help of animations.
  7. In this slide, discuss various categories of insights in a tuning advice report.
  8. In this slide, explain how to obtain tuning advice report for the results of the counter monitor data. Tuning Assistant displays tuning advice report for counter monitor results when: You drill down to the source view, select the disassembly mode, and select a single line of the assembly code Source based advice is enabled and you drill down to the source view Invoke Tuning Assistant for counter monitor activity results. You view static analysis data and there is no event involved. Tuning Assistant also provides relevance score for insights in the counter monitor results.
  9. To demonstrate this activity, you can use the data files provided at the following locations: TIRM  Datafiles for Faculty  Chapter05  Activity02  MyApp.zip Activity02  MyApp.zip file contains the optimized and the unoptimized codes. The faculty should first show the demonstration of the unoptimized code. After launching the tuning assistant, the faculty should again run the activity using the optimized code. This would enable the students comparing the results between the optimized and the unoptimized code.
  10. To demonstrate this activity, you can use the data files provided at the following locations: TIRM  Datafiles for Faculty  Chapter05  Activity03  Matrix Class.zip Matrix Class.zip file contains the optimized and the unoptimized codes. The faculty should first show the demonstration of the unoptimized code. After launching the tuning assistant, the faculty should again run the activity using the optimized code. This would enable the students comparing the results between the optimized and the unoptimized code.
  11. Summarize the session.
  12. Summarize the session.
  13. Summarize the session.