Resizing Volatile Tier Memory
Resize the DRAM tier memory during runtime to balance performance with memory resource cost using the mvmcli dram resize command.
About this task
The starting DRAM tier memory is set in the application configuration file, but Memory Machine can also adjust the DRAM tier size dynamically on individual running workloads to optimize performance vs. DRAM consumption. You can effectively tune the performance of applications while they are running.
Procedure
- Optional: If you plan to allocate HugePages, you must first configure HugePages on your host OS. See Configuring HugePages for instructions.
-
Change the DRAM tier size as follows.
# mvmcli dram resize -s new-size -p pid -g true|false
where- new-size
- Is the new DRAM tier size in MB.
- pid
- Is the process ID of the application.
- -g
- Is used to turn HugePages on and off. Defaults to false.