The Application Configuration File

The configuration file mvmalloc.yml controls how the TMS library interacts with the system.

An example of the YAML-formatted file is shown here:

DpmeSocketName: /tmp/dpme_daemon.0
MallocCapture: true
MMapCapture: true
LogNamePrefix: /var/memverge/mvmalloc.log 
LogTrace: false
CommPort: 5678
DramTierGB: 16
HugePageDram: true

Two flags in mvmalloc.yml control which groups of glibc.so functions are intercepted by TMS:

MallocCapture
controls intercept of dynamic memory allocation functions.
MMapCapture
controls intercept of memory-mapped file I/O functions.

Setting either MallocCapture or MMapCapture to true causes all functions grouped within the setting to be intercepted and routed to TMS. See Intercepted Memory Functions.

If LogName is specified, Memory Machine writes to the named file. This means that multiple processes can write to the same file. To write to a separate log file for an application, use LogNamePrefix instead. With LogNamePrefix, Memory Machine appends the process ID and a unique identifier to the LogNamePrefix file path.

DramTierGB sets the application tier size. See Setting Volatile Tier Memory.

HugePageDram defines whether you are using HugePages for DRAM tier. See Configuring HugePages.