Intel® Parallel Studio

Avoiding Heap Contention Among Threads

Avoiding Heap Contention Among Threads (PDF 256KB)

Abstract

Allocating memory from the system heap can be an expensive operation due to a lock used by system runtime libraries to synchronize access to the heap. Contention on this lock can limit the performance benefits from multithreading. To solve this problem, apply an allocation strategy that avoids using shared locks, or use third party heap managers.

  • Developers
  • Microsoft Windows* 8.x
  • Server
  • Intermediate
  • Intel® Parallel Studio
  • Intel® Parallel Amplifier
  • synchronization
  • heap contention
  • dynamic memory allocation
  • lock contention
  • stack allocation
  • Parallel Computing
  • Threading
  • Using Intel® AVX without Writing AVX

    Intel® AVX is a new 256-bit instruction set extension to Intel® Streaming SIMD Extensions and is designed for applications that are floating point intensive. This paper discusses options to integrate Intel® AVX into an application via use of intrinsics.
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • Apple OS X*
  • Advanced
  • Intel® C++ Compiler
  • Intel® Fortran Compiler
  • Intel® Parallel Composer
  • Intel® Parallel Studio
  • Intel® Parallel Studio XE
  • Emberson beta program
  • Intel® Advanced Vector Extensions
  • Parallel Computing
  • Subscribe to Intel® Parallel Studio