Analyze Threading Performance with Intel® VTune™ Profiler | Intel Software

991
47.2
Intel Software258 тыс
Опубликовано 9 мая 2023, 13:00
This video demonstrates how to use Intel VTune Profiler to configure a threading analysis to analyze locks and waits. The hands-on example we use consists of an application creating over 30 threads writing to a mutex protected file. As a result there are a large number of threads competing for mutex ownership and generating disk I/O. VTune Profiler allows you to understand, analyze and resolve these kinds of threading issues.

Intel VTune Profiler performs threading analysis to analyze locks and waits. It is aided by Intel Instrumentation and Tracing Technologies APIs to identify what code blocks the threads are executing when examining the timeline. VTune Profiler can pinpoint exactly which thread is waiting on which synchronization object and for how long. Drilling down further we see where synchronization object contention occurred during execution. Synchronization object examples include semaphores, mutexes, and I/O waits. We also see the source file and line number where transitions occur.

Zooming in on the associated timeline, we then identify where the task begin and task end were called for each thread so we better understand what that thread was executing during this portion of the timeline.

This level of detailed understanding of the thread timing in an application and the role locks, waits and mutexes play in orchestrating best possible synchronization between threads then allows us to consider performance improvement strategies.

Intel® VTune™ Profiler: intel.com/content/www/us/en/de...

Intel Distribution for Python*: intel.com/content/www/us/en/de...

Intel® oneAPI: intel.com/content/www/us/en/de...

oneAPI Code Samples Library: intel.com/content/www/us/en/de...

oneAPI Code Samples Catalog: oneapi-src.github.io/oneAPI-sa...

About Intel Software:
Intel® Developer Zone is committed to empowering and assisting software developers in creating applications for Intel hardware and software products. The Intel Software YouTube channel is an excellent resource for those seeking to enhance their knowledge. Our channel provides the latest news, helpful tips, and engaging product demos from Intel and our numerous industry partners. Our videos cover various topics; you can explore them further by following the links.

Connect with Intel Software:
INTEL SOFTWARE WEBSITE: intel.ly/2KeP1hD
INTEL SOFTWARE on FACEBOOK: bit.ly/2z8MPFF
INTEL SOFTWARE on TWITTER: bit.ly/2zahGSn
INTEL SOFTWARE GITHUB: bit.ly/2zaih6z
INTEL DEVELOPER ZONE LINKEDIN: bit.ly/2z979qs
INTEL DEVELOPER ZONE INSTAGRAM: bit.ly/2z9Xsby
INTEL GAME DEV TWITCH: bit.ly/2BkNshu

#intel #intelsoftware #oneapi

Analyze Threading Performance with Intel® VTune™ Profiler | Intel Software
Случайные видео
152 дня – 20 8670:13
It's all about perpectives
06.10.20 – 19 29438:20
Level1 News October 6 2020: HuaWoes
автотехномузыкадетское