
VCF9 has production-ready Memory Tiering
Memory Tiering improves VM density and total cost of ownership (TCO) while maintaining equivalent performance to systems just using DRAM.
Introduced as a tech-preview feature in vSphere 8.0 Update 3, Memory Tiering leverages two different types of memory devices. After the initial shake down period, and with the improvements received in view of VMware Cloud Foundation 9, the feature has now reached production-grade support.
Memory Tiering intelligently observes VMs behavior and keeps frequently accessed memory in the more performing DRAM-based tier. Instead, infrequently accessed memory content is safely destaged to the relatively slower, yet chapter, NVMe-based tier.
This new feature can also be beneficial to the many home labbers, who very often rely on consumer-grade hardware. As such, budget and scalability constraints may not easily enable them to meet the minimum required resources in their kits.
During thorough testings run at VMware’s, Memory Tiering has proved to be able to provide:
- Up to 40% TCO savings for most workloads.
- Increased CPU utilization of up to 25% – 30% more cores (that is, more/larger running workloads per host).
- A loss in performances of less than 10% across various enterprise workloads.
The Memory Tiering Performance study for VMware Cloud Foundation 9 can be downloaded here.
Index
- Technology background
- How does it work?
- Hardware prerequisites
- Planning and preparation
- Virtual machines settings compatibility
- Configuration
- Additional features
- Lab environment notes
Technology background
One key component of Memory Tiering is represented by non-volatile memory express (NVMe) devices.
NVMe is a protocol designed to deliver high bandwidth and low latency storage access over PCIe sockets. With mainstream PCIe Gen 5 x16 (that is, 16 parallel lanes) busses, we have a maximum available throughput of 64GB/s. Gen 5 SSDs can reach a theoretical maximum sequential read speed up to 14,900MB/s, a write speed up to 14,000MB/s, and up to 2,300,000 IOPS in random access.
The NVMe driver communicates directly with the system CPU, not requiring an intermediate controller on the bus, and its commands utilize little CPU cycles with a latency of 2.8 microseconds. Additionally, NVMe has 64K command queues and can send 64K commands per queue.
The actual performances depend on several factors, including the PCIe bus configuration, the NVMe device characteristics, and the current system workload. The NVM Express consortium publishes the NVMe roadmap which can be used as a reference for protocol capabilities.

How does it work?
Memory Tiering is designed to present Tier 0 (DRAM) and Tier 1 (NVMe) memory to VMs as a single logical memory space. Nevertheless, behind the scenes, a new kernel module periodically scans (allegedly, every minute) guests memory and classifies it based on several parameters. The classification outcomes, together with pages history, are then taken into account by the memory scheduler to place data in the best fitting tier:
- The DRAM-backed Tier 0 is used for active “hot” memory, which takes advantage of the blazing-fast system RAM to achieve required performances.
- The NVMe-backed Tier 1 is used for inactive “cold” memory, which relies on the cheaper – yet fastest solid-state storage – hardware to optimize utilization.
In summary, Memory Tiering keeps monitoring and updating pages classification. It then identifies those pages that, due to changes in memory access, qualify for a tier migration. Over time, it contributes keeping the host DRAM utilization optimized.
Hardware prerequisites
As usual, in production use cases, ensure you are using supported hardware by checking the Broadcom’s Compatibility Guide. To this end, verify the following filters are applied:
- Compatibility Guide: vSAN SSD
- Device Type: NVMe
- Endurance Class: Class D >= 7300 TBW
- Performance Class: Class F: 100,000-349,999 Writes Per Second or Class G: 350,000+ Writes Per Second
NVMe prerequisites
- NVMe devices must be installed locally on the ESX host. Hence, they cannot be remotely connected over fabric or ethernet.
- Use the best PCIe slot on the host motherboard. Check PCIe generation (4.0, 5.0. or 6.0) and number of data slots available (x1, x4, x8, x16). In case of doubts, check vendor documentation.
- Ensure there is no partition on the NVMe device. Additionally, the unit cannot be used by a datastore (e.g. VMFS or vSAN).
- A brand new Tier Partition, not larger than 4TB, must be created before using the device for Memory Tiering.
- Hot-plug and Prepare to remove features are not supported. Hence, before removing or replacing NVMe devices, Memory Tiering must be disabled on the host.
- Memory Tiering supports RAID-based improved hardware failure resiliency. If desired, it can be implemented with the following supported configurations:
Host prerequisites
- Host must be running ESX 9.0 and later. Consequently, host must be managed by vCenter Server 9.0 and later.
- The ESX host must be placed in Maintenance Mode very time Memory Tiering is activated, deactivated, or reconfigured.
- Starting with vSphere 9.0, Intel Optane Persistent Memory is no more supported and must be deactivated.
- The ESX host cannot have Dell NVDIMM-N Persistent Memory and must be deactivated.
- vSphere Lifecycle Manager’s Suspend Virtual Machines to Memory option for faster host remediation is not supported when using Memory Tiering.
Planning and preparation
First thing to remember: the default ratio between DRAM and NVMe is 1:1. In essence, it represents a trade-off between optimization requirements and performance expectations that must be equally satisfied. Hence, we must estimate our optimal DRAM:NVMe ratio to correctly balance the two ingredients.
Define your optimal DRAM:NVMe ratio
To achieve the best performances, ensure that a virtual machine average amount of active memory fits in the allocated DRAM.
First, you can monitor the virtual machine active memory by using the esxtop utility in the host shell. Hit the “m” key for memory, then “V” (shift+v) for viewing the VMs only. The TCHD column represents “the amount of guest physical memory recently used by the VM, which is estimated by VMKernel statical sampling” (ref. KB375894).

Next, ensure that the host active memory usage doesn’t trespass the 50% threshold of the total DRAM available capacity. For this purpose, monitor the host active memory using one of the two following methods:
- VCF Operations: look for the host in the Inventory section, then select the Metrics tab. Select Metrics > Memory > Guest Active (KB).

- vSphere Client: select the host in the Hosts and Clusters view, click the Monitor tab, and navigate to Performance > Overview. In the Memory chart, identify the Active metric.

Size your hardware
Another key point is to design your infrastructure resources by:
- Defining the amount of DRAM required to back all the VMs active memory.
- Configuring the amount of NVMe capacity needed, based on the desired DRAM:NVMe ratio and planned workloads sizing requirements.
- Calculating the number of required hosts based on the usual criteria (e.g. scalability, high availability, etc.). Include the requirements for the NVMe devices needed (e.g. devices size, whether to use RAID for additional resiliency, etc.).
- Optionally, you may also want to consider having part of the infrastructure designed to run workloads without Memory Tiering.
Virtual machines settings compatibility
Advanced parameters enable administrators to configure niche virtual machine options to address specialized requirements or fix documented issues. When using Memory Tiering, though, some of these settings may not fully compatible.
Incompatible advanced parameters
Virtual machines with the following settings cannot be powered on when the Memory Tiering is enabled:
- Latency sensitivity:
sched.cpu.latencySensitivity = "high" - Security:
- AMD Secure Encrypted Virtualization (SEV):
sev.enable = "True" - Intel Software Guard eXtensions (SGX) Enclave Page Cache (EPC):
sgxInfo.epcSize is non-zero - Intel Trust Domain Extension (TDX):
tdx.enable = "True"
- AMD Secure Encrypted Virtualization (SEV):
- Fault Tolerance:
ftcpt.enabled = "True" - Nested virtualization:
vhv.enable = "True" - Additionally, virtual machines configured with more than 1 TB Memory and 128 vCPUs are not compatible.
Partially compatible parameters (only Tier 0 DRAM is supported)
Virtual machines with the following settings require all their memory resources to be backed by Tier 0 DRAM. To clarify, this is transparently enforced: Memory Tiering will automatically allocate only DRAM to these VMs. Nevertheless, for infrastructure sizing purposes, you may want to remember these VMs require 100% DRAM memory.
- Guest vRAM with 1GB Pages:
sched.mem.lpage.enable1GPage = "True" - VM memory optimization (e.g.: required for 1GB pages, Fault Tolerance, Passthrough, vGPU, etc.):
- Memory pre-allocation:
sched.mem.prealloc = "True" - VM swap disabled:
sched.swap.vmxSwapEnabled = "False"
- Memory pre-allocation:
- PCI Passthrough:
- PCI Passthrough enabled:
pciPassthru.present = "True" - VMs with a VMXNET3 vNIC using Unified Pass Through (UPT) on a Data Processing Unit (DPU)-backed distributed switch:
vmxnet3.enableUPT = "True"ethernet0.upt = "True"
- PCI Passthrough enabled:
- Intel QuickAssist Technology:
qat.present = "True"
Configuration
Must be remembered that, by default in VCF9 Memory Tiering is disabled. The configuration can be applied by using either the vSphere Client UI, the ESXCLI command line or PowerCLI scripts.
Process overview
In order to enable Memory Tiering, the process requires the following:
- Check your infrastructure meets all the discussed requirements. See:
- Ensure the NVMe devices are ready to be used
- Create a Tier Partition
- Activate Memory Tiering at the vSphere Cluster level or the ESX host level.
- [Optional] Modify the DRAM:NVMe ratio.
- Monitor tiered memory capacity.
- Monitor tiered memory usage.
Ensure the NVMe devices are ready to be used
Once the NVMe devices have been installed, boot the host, identify them, and ensure there is no partition configured:
- Connect to the host and use one of the following tools:
- vSphere Client: log in to the HTML UI.
- Host shell: log in to the host on either the local or the remote shell (via SSH).
- PowerCLI:
Connect-VIserver -Server <vCenterServer_fqdn> -User <username> -Password <password>
- As no changes to the NVMe partitions used by Memory Tiering shall be made while VMs are running, place the host in Maintenance Mode:
- vSphere Client: in the Hosts and Clusters view, right-click the desired host, and select Maintenance Mode > Enter Maintenance Mode
- Host shell:
esxcli system maintenanceMode set --enable true - PowerCLI:
Set-VMHost -Host <ESXhost_fqdn> -State Maintenance
- Retrieve the list of the NVMe devices:
- vSphere Client: in the Hosts and Clusters view, select the desired host, and click the Configure tab. Navigate to the Storage section > Storage Adapters. Select a NVMe adapter from the list and click the Devices tab.
- Host shell:
esxcli storage core adapter device list - PowerCLI:
Get-VMHostDisk -VMHost <ESXhost_fqdn>
- Identify the NVMe device to use with Memory Tiering and write down device path. For example,
/vmfs/devices/disks/<nvme_device_uid> - Look for existing partitions on the device and delete them, if any:
- vSphere Client: select a NVMe device, then click “ERASE PARTITIONS” to review the existing partitions and eventually delete them.
- Host shell:
- List partitions:
partedUtil getptbl /vmfs/devices/disks/<nvme_device_uid> - Delete partitions:
partedUtil delete /vmfs/devices/disks/<nvme_device_uid> <partition_number>
- List partitions:
- PowerCLI: N/A
Create a Tier Partition
This step can be achieved by using the ESXCLI. At the present time, there is definitively no equivalent in the vSphere Client. Additionally, I could not locate a PowerCLI commandlet nor create an easy script to achieve the goal. Hence, let’s assume the easiest way to achieve this is via the host shell.
- Create the Tier Partition:
esxcli system tierdevice create -d /vmfs/devices/disks/<nvme_device_uid> - Verify the Tier Partition:
esxcli system tierdevice list
Activate Memory Tiering at the vSphere Cluster level
Activating Memory Tiering at the vSphere Cluster level requires configuring a vSphere Configuration Profile, a mechanism to collectively manage the configuration of all the hosts in a cluster. Introduced in vSphere 8, vSphere Configuration Profiles enable administrators to define a desired configuration that can be applied to all hosts in a single operation.

This is achieved by using the vSphere Client as follows:
- In the Host and Cluster view, identify the cluster, select it, and click the Configure tab.
- Navigate to the Desired State section > Configuration.
- [Optional] Click CREATE CONFIGURATION and click IMPORT FROM REFERENCE HOST to import its configuration. Proceed to Validate configuration then, if it succeeds, move to Pre-check and apply, and click FINISH AND APPLY. This step completes the procedure to enable cluster-level configuration management.
- In the Configuration page, click the Draft tab, and click CREATE DRAFT to create an editable copy of the configuration.
- Navigate to the esx section > vmkernel. Click options.
- Under the COMMON SETTINGS sub-tab, click CONFIGURE SETTINGS. If there is any other setting already configured, then click EDIT instead.
- Scroll until you locate the memory_tiering setting and click TRUE to enable it. Click SAVE.
- Click APPLY CHANGES. Follow the wizard to complete the Pre-check, configure the Remediation settings, and verify the configuration in Review Impact.
- Click APPLY to confirm the updated vSphere Configuration Profile.
Activate Memory Tiering at the ESX host level
Memory Tiering can also be activated at the single ESX host level. This enables vSphere administrators to have a subset of their hosts designed for this two-tier memory approach. At the same time, another subset of their compute resources can support workloads with low latency, scalability, or passthrough requirements.

In order to enable Memory Tiering on a single ESX host, configure the following:
- In the Host and Cluster view, identify the host, select it, and click the Configure tab.
- Navigate to the System section > Advanced System Settings.
- Click EDIT to modify the advanced system settings.
- Search for
VMKernel.Boot.memoryTieringand set its value equal totrue. - Click OK to save the setting.
- With the host selected, click the ACTIONS menu > Power > Reboot to apply the configuration change.
Alternatively, Memory Tiering can be also enabled using the command line:
- Host shell:
esxcli system settings kernel set -s MemoryTiering -v TRUE
[Optional] Modify the DRAM:NVMe ratio
As I have noted in the Planning and preparation paragraph, the default ratio between DRAM and NVMe is 1:1. The ratio can be controlled with a parameter whose percentage value can range from 1 to 400, with a default of 100.
The parameter can be configured:
- At the vSphere Cluster level: by using a vSphere Configuration Profile and setting the value in esx > advanced_options > mem > tier_nvme_pct.
- At the host level:
- vSphere Client: by navigating to Configure > System > Advanced System Settings > Mem.TierNvmePct.
- Host shell:
esxcli system settings advanced set -o /Mem/TierNvmePct -i <value>
At any rate, after changing the value, the ESX host(s) must be rebooted to enforce the new setting.
Monitor tiered memory capacity
Once Memory Tiering has been activated on the host(s), the system reports the new total memory capacity. This includes the existing DRAM and the newly added NVMe capacity.

The details can be easily verified in the vSphere Client as follows:
- In the Host and Cluster view, identify the host, select it, and click the Configure tab.
- Navigate to the Hardware section > Overview.
- In the Memory table, Memory Tiering is shown as Software configured, and the amounts of Tier 0 DRAM and Tier 1 NVMe memory are listed.
Alternatively, the command line utilities can be used to verify the new host memory capacity as follows:
- Host shell:
esxcli hardware memory get - PowerCLI:
- Total Host memory:
(Get-VMHost "<ESXhost_fqdn>").ExtensionData.Hardware.MemorySize - Tier 0 DRAM memory:
((Get-VMHost "<ESXhost_fqdn>").ExtensionData.Hardware.MemoryTierInfo | where {$_.Type -eq "DRAM"}).Size - Tier 1 NVMe memory:
((Get-VMHost "<ESXhost_fqdn>").ExtensionData.Hardware.MemoryTierInfo | where {$_.Type -eq "NVMe"}).Size - Backing NVMe device:
((Get-View (Get-vmhost "<ESXhost_fqdn>").ExtensionData.ConfigManager.StorageSystem).StorageDeviceInfo.ScsiLun | where {$_.UsedByMemoryTiering -eq $true}).CanonicalName - DRAM:NVMe ratio:
(Get-vmhost "<ESXhost_fqdn>" | Get-AdvancedSetting -Name Mem.TierNvmePct).Value - Moreover, there is a little PowerCLI script that creates a summary for all ESXi hosts in a specific Sphere Cluster. The author, William Lam, is a Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom.
- Total Host memory:
Monitor tiered memory usage
Equally important, we can monitor how much Tier 0 and Tier 1 memory is consumed by each VM on a host. In order to do this, we can use the ESX memstats tool from the host shell. It can generate several memory usage report types, among which the tiered memory usage report.
The simplest report lists VMs by Cartel ID or Leader World ID (LWID), a unique identifier for a VM:
memstats -r vmtier-stats -u mb -s name:memSize:active:tier0Consumed:tier1Consumed
Compared to the above, a more advanced formatting includes the VMs actual names. It is achieved by creating a file that maps VM names with Cartel IDs. Next, it uses the file to replace the Cartel IDs with the VM names in the memstats report.
esxcli --formatter csv vm process list | awk -F ',' '{print $2,$5}' > /tmp/vmsmemstats -r vmtier-stats -u mb -s name:memSize:active:tier0Consumed:tier1Consumed | sed "$(while read -r name id; do echo "s/vm.$id/$name/g"; done < /tmp/vms)"
Additional features
Lastly, there are two more complementary capabilities that make Memory Tiering a very brilliant feature, especially in a production environment.
RAID protection
Memory Tiering supports relying on a Tier 1 NVMe logical unit backed by a RAID controller. As a result, vSphere administrators can benefit from improved resiliency against hardware failures. If desired, RAID protection can be implemented with the following supported controllers:
- Intel Virtual RAID on CPU (VROC) RAID 1
- Broadcom MegaRAID8 Tri-Mode technology RAID controllers
- Microchip Technologies 24G NVMe® Tri-mode RAID and HBA Storage Adapters
As a matter of fact, enabling RAID-protected Memory Tiering obviously requires a procedure – with the exception of the RAID configuration – that is akin to what we have already discussed above:
- Leverage the the RAID controller to create a single logical unit, backed by multiple physical devices.
- Create a Tier Partition on the NVMe (logical) devices in each ESX host.
- Activate Memory Tiering at the vSphere Cluster or ESX host level.
- Reboot the host(s).
Tier 1 encryption
In normal conditions, neither VMs nor their memory being stored on the Tier 1 NVMe devices are encrypted. Hence, if an administrator needs to protect a sensitive workload, they may want to enable vSphere Virtual Machine Encryption.
IMPORTANT
vSphere Virtual Machine Encryption does not automatically enable encryption on the Tier 1 NVMe devices. Therefore, if a higher level of data security is required, administrators must activate NVMe device encryption.
NVMe device encryption can be activated for all the VMs on a host:
- At the vSphere Cluster level: by using a vSphere Configuration Profile and setting the value in esx > advanced_options > mem > encrypt_tier_nvme.
- At the host level: by navigating to Configure > System > Advanced System Settings > Mem.EncryptTierNvme.
Additionally, it is possible to enable NVMe device encryption at the VM level:
- Power off the VM.
- Right-click the VM, or click the ACTIONS menu, and select Edit Settings…
- In the Advanced Parameters tab, add
sched.mem.EncryptTierNVMe = true. - Power on the VM.
Lab environment notes
Running a lab environment is something that enables us to push ourselves beyond the boundaries of what is officially supported. In the end, it’s not a production environment and all we are doing is experimenting, practicing, and learning technologies. As a result, though, we sometimes run into niche situations that require thinking out of the box.
Labs (and more often, home labs) are, in my head, completely different from running a Proof-of-Concept (POC) environment. In a POC, the objective is to prove a customer that a solution is a great option for them. Consequently, to run on a reliable test bed, VMware POCs very often use hardware listed in the Broadcom Compatibility Guide. Hence, POCs typically stay within the boundaries of what is officially supported. The only exception – when used – is Nested Virtualization, which is NOT officially supported by VMware.
All things considered, running lab environments forces administrators to discover expedients to achieve their goals in the most efficient way.
Here is a growing collection of articles about Memory Tiering I have put together, crediting the author(s):
- Nested virtualization support
- AMD Ryzen CPUs: Memory Tiering requires a workaround
- Sharing a single NVMe device with NVMe Tiering, ESXi-OSDATA & VMFS Datastore
# Nested virtualization support
Before giving you too much hope, the most important thing you have to note is the following:
HEADS UP!
As of VCF 9.0, Memory Tiering does not support running a VM with Virtual Hardware-Assisted Virtualization (VHV). As a result, attempting to power on a Nested ESX VM – or any other nested hypervisor – fails with the following error message:
The operation is not supported on the obiect. Placing or Powering on a VM <vm_name> that does not support user level monitor on a host <host_name> with Software Memory Tiering enabled is not allowed.
[Source: https://williamlam.com/2025/06/nvme-tiering-with-nested-virtualization-in-vcf-9-0.html]
# AMD Ryzen CPUs: Memory Tiering requires a workaround
AMD Ryzen CPUs are consumer-grade CPUs, often used in small form factor desktop computers that represent a convenient option for home labbers. As a matter of fact, these machines are convenient budget-wise and for the little space they need.
With Memory Tiering enabled, when powering on a VM, the operating system may not fully boot and cause the VM console to become unresponsive.
AMD Ryzen CPUs are not yet listed in the Broadcom Compatibility Guide for Systems/Servers. Nevertheless, VMware has already allegedly implemented a fix. It simply did not make through the release cycle at GA and will be made available in a future release.
In the meantime, there is a workaround: an advanced parameter to be configured on each VM running on such ESX hosts. And, of course, it can be configured at either the VM or the ESX host level:
- At the VM level: right-click the VM, or click the ACTIONS menu, and select Edit Settings… In the Advanced Parameters tab, add
monitor_control.disable_apichv = true. - At the ESX host level: to apply the workaround to all VMs at once, type the following command in the host shell
echo 'monitor_control.disable_apichv ="TRUE"' >> /etc/vmware/config
[Source: https://williamlam.com/2025/06/nvme-tiering-with-amd-ryzen-cpu-workaround-for-vcf-9-0.html]
# Sharing a single NVMe device with NVMe Tiering, ESXi-OSDATA & VMFS Datastore
A home lab kit is typically characterized by limited resources, including the number of NVMe devices that we can install. As a matter of fact, this gets even worse with small form factor systems that have one or two, maximum three NVMe slots.
Given that, how can we make a single NVMe device support multiple functionalities in our ESX host(s)? Luckily, William Lam has created a script to help us in the configuration process.
In summary, the script enables us to create three partitions:
- A Tier Partition, used by Memory Tiering.
- An ESX-OS Data partition, that acts as the unified location to store additional modules. It Consolidates the following legacy partitions:
- scratch, used to store system logs, which you need when you create a support bundle.
- locker, used to store the VMware Tools ISOs.
- core dump, used to capture the output of a purple diagnostic screen in the event of an ESX host failure.
- A VMFS local datastore.
In particular, the script requires just 4 parameters to run:
- SSD_DEVICE – Name of the NVMe device identified with the
vdq -qcommand in the host shell. - NVME_TIERING_SIZE_IN_GB – Amount storage (GB) that you wish to use for Memory Tiering.
- OSDATA_SIZE_IN_GB – Amount storage (GB) that you wish to use for ESXi-OSData.
- VMFS_DATASTORE_NAME – Name of the VMFS datastore to create on NVMe device.
Lastly, once the script has completed the NVMe device configuration, we’ll just have to activate Memory Tiering. Again, this can be done at the vSphere Cluster level or the ESX host level, and reboot the host(s).
Conclusions
Software Memory Tiering via NVMe Tiering – as opposed to Hardware Memory Tiering via Intel Optane – is a brilliant technology. Whether in a production environment or in a lab or POC deployment, it enables administrators to optimize hardware resources utilization. Therefore, it helps them improving the total cost of ownership (TCO) while maintaining equivalent performance to systems just using DRAM.
Memory Tiering, especially now with VMware Cloud Foundation 9 being just released, is the ideal approach for everyone. It enables administrators to deploy resource-demanding VCF9 environments at a fraction of the hardware cost. When in conjunction with VCF/VVF Home Lab Licenses, it enables enthusiasts and professionals to learn and practice VMware technologies.
