How to Prevent Critical VM Memory Migration to Memory Tier Device in vSphere 9.0
search cancel

How to Prevent Critical VM Memory Migration to Memory Tier Device in vSphere 9.0

book

Article ID: 439783

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

In vSphere 9.0, the Memory Tiering over NVMe feature may migrate memory pages from physical DRAM to NVMe-based storage (Tier 1).
For performance-critical workloads, customers require a method to ensure specific VMs remain exclusively within physical RAM.

Environment

VMware ESX 9.0

Cause

The default behavior of Memory Tiering over NVMe automates the movement of cold memory pages to NVMe SSD to optimize host memory capacity.

Resolution

To deactivate Memory Tiering for a specific VM, perform the following steps

  1. Power off the VM.
  2. Right-click the VM and select Edit Settings.
  3. Click the Advanced Parameters tab.
  4. Edit the Advanced Configuration Parameters.
  5. In the Attribute field enter sched.mem.enableTiering.
  6. In the Value field, enter FALSE.
  7. Power on the VM.

 

Additional Information

Memory Tiering Configuration
https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/9-0/vsphere-resource-management/memory-tiering-over-nvme/memory-tiering-configuration.html