User Guide

Contents

reduce-lock-contention

Examine specified annotated sites for opportunities to reduce lock contention or find deadlocks in a Suitability report.

Syntax

--reduce-lock-contention
=
<string>
Arguments
<string>
is a comma-separated list of annotated sites (no spaces).
Default
No default argument
Actions Modified
report
=suitability
Usage
Lock contention is the time one thread spends waiting for a lock to be released while another thread holds that lock (as opposed to lock overhead, which is the time spent creating, destroying, acquiring, and releasing locks). You can reduce lock contention by using different locks for unrelated data when you convert to a parallel framework.
Usage of this option simulates parallel execution with the assumption that lock contention is zero for a specified site.
Generate a Suitability report. Examine the annotated sites
myAnnotatedSiteJ
and
myAnnotatedSiteX
for opportunities to reduce lock contention. Write the report to
stdout
.
$ advixe-cl --report=suitability --project-dir=./advi --reduce-lock-contention=myAnnotatedSiteJ,myAnnotatedSiteX

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804