Intel Advisor

From HandWiki - Reading time: 5 min

Short description: Software analysis tool
Intel Advisor
Developer(s)Intel Developer Products
Stable release
2021.4 / October 1, 2021; 2 years ago (2021-10-01)[1]
Operating systemWindows and Linux (UI-only on macOS)
TypeProfiler
LicenseFree and commercial support
Websitesoftware.intel.com/content/www/us/en/develop/tools/oneapi/components/advisor.html

Intel Advisor (also known as "Advisor XE", "Vectorization Advisor" or "Threading Advisor") is a design assistance and analysis tool for SIMD vectorization, threading, memory use, and GPU offload optimization. The tool supports C, C++, Data Parallel C++ (DPC++), Fortran and Python languages. It is available on Windows and Linux operating systems in form of Standalone GUI tool, Microsoft Visual Studio plug-in or command line interface.[2] It supports OpenMP (and usage with MPI). Intel Advisor user interface is also available on macOS.

Intel Advisor is available for free as a stand-alone tool or as part of the Intel oneAPI Base Toolkit. Optional paid commercial support is available for the oneAPI Base Toolkit.

Features

Vectorization optimization

Vectorization is the operation of Single Instruction Multiple Data (SIMD) instructions (like Intel Advanced Vector Extensions and Intel Advanced Vector Extensions 512) on multiple objects in parallel within a single CPU core. This can greatly increase performance by reducing loop overhead and making better use of the multiple math units in each core.

Intel Advisor helps find the loops that will benefit from better vectorization, identify where it is safe to force compiler vectorization.[3] It supports analysis of scalar, SSE, AVX, AVX2 and AVX-512-enabled codes generated by Intel, GNU and Microsoft compilers auto-vectorization. It also supports analysis of "explicitly" vectorized codes which use OpenMP 4.x and newer as well as codes or written using C vector intrinsics or assembly language.[4][5]

Automated Roofline analysis

Intel Advisor automates the Roofline Performance Model first proposed at Berkeley[6] and extended at the University of Lisbon.[7]

Roofline Performance Model automation integrated with other features in Intel Advisor. Each circle corresponds to one loop or function

Advisor "Roofline Analysis" helps to identify if given loop/function is memory or CPU bound. It also identifies under optimized loops that can have a high impact on performance if optimized.[8][9][10][11]

Intel Advisor also provides an automated memory-level roofline implementation that is closer to the classical Roofline model. Classical Roofline is especially instrumental for high performance computing applications that are DRAM-bound. Advisor memory level roofline analyzes cache data and evaluates the data transactions between different memory layers to provide guidance for improvement.[12]

Intel Advisor roofline analysis supports code running on CPU or GPU.[13][14] It also supports integer based applications - that is heavily used in machine learning, big data domains, database applications, financial applications like crypto-coins.[15]

Threading prototyping

Software architects add code annotations to describe threading that are understood by Advisor, but ignored by the compiler. Advisor then projects the scalability of the threading and checks for synchronization errors. Advisor Threading "Suitability" feature helps to predict and compare the parallel SMP scalability and performance losses for different possible threading designs. Typical Suitability reports are shown on Suitability CPU screen-shot on the right side. Advisor Suitability provides dataset size (iteration space) modeling capabilities and performance penalties break-down (exposing negative impact caused by Load Imbalance, Parallel Runtimes Overhead and Lock Contention).[16]

Suitability "CPU model"

Offload modelling

Advisor adds GPU offload performance modeling feature in the 2021 release. It collects application performance characteristics on a baseline platform and builds analytical performance model for target (modelled) platform.

This provides performance speedup estimation on target GPUs and overhead estimations for offloading, data transfer and scheduling region execution and pinpoints performance bottlenecks.[17][18][19] This information can serve for choosing offload strategy: selecting regions to offload and anticipate potential code restructuring needed to make it GPU-ready.

Customer usage

Intel Advisor is used by Schlumberger,[20] Sandia national lab, and others[21] for design and parallel algorithm research and Vectorization Advisor capabilities known to be used by LRZ and ICHEC,[22] Daresbury Lab,[23] Pexip.[24]

The step-by-step workflow is used by academia for educational purposes.[25]

See also

References

  1. "Intel® Advisor Release Notes and New Features". https://software.intel.com/content/www/us/en/develop/articles/intel-advisor-release-notes.html. 
  2. "Command Line Use Cases" (in en). https://www.intel.com/content/www/us/en/develop/documentation/advisor-user-guide/top/command-line-interface/command-line-use-cases.html. 
  3. "Optimize Vectorization Aspects of a Real-Time 3D Cardiac..." (in en). https://www.intel.com/content/www/us/en/develop/documentation/advisor-cookbook/top/optimize-vectorization-aspects-of-a-real-time-3d-cardiac-electrophysiology-simulation.html. 
  4. "HPC Code Modernization Tools". https://indico.cern.ch/event/392043/attachments/784430/1075311/HPC_codes_modernization_tools_2.pdf. 
  5. "Новый инструмент анализа SIMD программ — Vectorization Advisor" (in ru). https://habr.com/ru/company/intel/blog/255731/. 
  6. Williams, Samuel (April 2009). "Roofline: An insightful Visual Performance model for multicore Architectures". https://people.eecs.berkeley.edu/~waterman/papers/roofline.pdf. 
  7. Ilic, Aleksandar. "Cache-aware Roofline model: Upgrading the loft". http://www.inesc-id.pt/ficheiros/publicacoes/9068.pdf. 
  8. "Roofline Analysis in Intel Advisor 2017: youtube how-to video". https://www.youtube.com/watch?v=h2QEM1HpFgg. 
  9. "Intel Advisor Roofline step-by-step Tutorial". https://software.intel.com/en-us/advisor-tutorial-roofline. 
  10. "Using Roofline Model and Intel Advisor, presented by Sam Williams, Roofline performance model author". https://exascaleproject.org/event/using-the-roofline-model/. 
  11. "Case Study: SimYog Improves a Simulation Tool Performance by 2x with..." (in en). https://www.intel.com/content/www/us/en/develop/articles/case-study-simyog-improves-simulation-tool-performance-with-advisor.html. 
  12. "Memory-Level Roofline Model with Intel® Advisor" (in en). https://www.intel.com/content/www/us/en/develop/articles/memory-level-roofline-model-with-advisor.html. 
  13. "CPU / Memory Roofline Insights Perspective" (in en). https://www.intel.com/content/www/us/en/develop/documentation/advisor-user-guide/top/optimize-cpu-usage/cpu-roofline-perspective.html. 
  14. "GPU Roofline Insights Perspective" (in en). https://www.intel.com/content/www/us/en/develop/documentation/advisor-user-guide/top/design-for-gpu-offload/gpu-roofline-perspective.html. 
  15. "Integer Roofline Modeling in Intel® Advisor" (in en). https://www.intel.com/content/www/us/en/develop/articles/a-brief-overview-of-integer-roofline-modeling-in-intel-advisor.html. 
  16. "How to model suitability using Advisor XE 2015?". https://software.intel.com/en-us/articles/how-to-model-scalability-using-intel-advisor-xe-2015?language=it. 
  17. "Offload Modeling Resources for Intel® Advisor Users" (in en). https://www.intel.com/content/www/us/en/develop/articles/offload-modeling-resources-for-intel-advisor-users.html. 
  18. "Identify Code Regions to Offload to GPU and Visualize GPU Usage (Beta)" (in en). https://www.intel.com/content/www/us/en/develop/documentation/advisor-cookbook/top/design-and-optimize-application-with-offload-advisor.html. 
  19. "Offload Modeling Perspective" (in en). https://www.intel.com/content/www/us/en/develop/documentation/advisor-user-guide/top/design-for-gpu-offload/offload-modeling-perspective.html. 
  20. "Schlumberger* - Parallelize Oil and Gas software with Intel Software products". http://goparallel.sourceforge.net/wp-content/uploads/2013/12/Intel_ESS_Schlumberger_Case_Study_LRs_002.pdf. 
  21. ""Leading design" company Advisor XE case study". http://download-software.intel.com/sites/default/files/advisor-xe-case-study.pdf. 
  22. "Design Code for Parallelism and Offloading with Intel® Advisor". http://software.intel.com/en-us/intel-advisor-xe/reviews. 
  23. "Computer-Aided Formulation case study: getting helping hand from the Vectorization Advisor". http://software.intel.com/articles/get-a-helping-hand-from-the-vectorization-advisor. 
  24. "Pexip Speeds Enterprise-Grade Videoconferencing". https://software.intel.com/sites/default/files/managed/77/ea/pexip-case-study.pdf. 
  25. "Supercomputing'2012 HPC educator with Slippery Rock University". http://sc12.supercomputing.org/hpceducator/NiftyParallelism/index.html. 

External links




Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/Software:Intel_Advisor
4 views | Status: cached on September 06 2024 23:36:57
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF