47
edits
Changes
→VTune Tutorial 2: Locks and Wait Tutorial
Note the Target Concurrency value. By default, this number is equal to the number of physical cores. Consider this number as your optimization goal.
For the sample code, the chart shows that analyze_locks is a multithreaded application running maximum 12 4 threads simultaneously on a machine with 12 4 cores. But it is not using available cores effectively.
Hover over the second bar to understand how long the application ran serially. The tooltip shows that the application ran one thread for almost 6.611 seconds, which is classified as Poor concurrency.
The CPU Usage Histogram represents the Elapsed time and usage level for the logical CPUs. Ideally, the highest bar of your chart should be within the Ok or Ideal utilization range.
[[File:8.PNG]]
== VTune Tutorial 3: Disk input Output Analysis ==