library for fast memory allocation provides a C-level interface for memory allocation that is optimized for performance.
You can link the
library as a shared library only on Linux* platforms for Intel® 64 architecture. This library provides optimized implementation of standard allocation routines
, and is C99 standard compliant.
This library is limited to work only on Intel® processors and will redirect to standard C routines at runtime if used on non-Intel® processors.
Use Intel's Custom Memory Allocator Library
You can use the libqkmalloc library by linking directly to it or by using the
To ensure the application will override the standard library allocation routines with
, set the environment variable LD_PRELOAD in the command line before the application execution. This environment variable allows you to set the path of the library that will be loaded before any other library (including the C runtime library), and the application will use symbols from this specified library instead of the symbols from the standard library.
This library does not support threaded code
such as OpenMP*
and is not thread-safe. It should not be used simultaneously from multiple threads. For the best results this library should be used with large throughput workloads.