WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
    • VMware Cloud Foundation 9
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple
You are here: Home / Nested Virtualization / Quick Tip - Configure Nested ESX Cores per CPU for Optimal Licensing

Quick Tip - Configure Nested ESX Cores per CPU for Optimal Licensing

11.11.2025 by William Lam // Leave a Comment

If you deploy Nested ESX and wish to use it beyond the default 90 day evaluation, you will need to license the ESX host, just like you would with a physical host.

Whether you create your own Nested ESX VM or simply deploy the the Nested ESX Virtual Appliance, make sure the cores per CPU configuration on the VM is correct or you may need a much larger CPU entitlement than what you had expected.

The default behavior of vSphere when you create a VM is to automatically manage the CPU topology (cores per CPU) when the VM is powered on for optimal GuestOS and Application consumption.


However, this automatic assignment or even a manual assignment could have some unexpected consequences when it comes to ESX licensing ...

Let's use a concrete example, say you want to configure your Nested ESX Host to have 32 CPU Cores, which of the following would give you that outcome?


Technically, both will give you 32 Cores ...

  • In the first screenshot, you will end up with 32 CPUs and each CPU will contain a single CPU Core
  • In the second screenshot, you will end up with 1 CPU and single CPU will contain 32 CPU Cores

However, when it comes to ESX licensing, this is where it will matter between the two scenarios.

  • In the first scenario, you will need 512 Core Licenses
  • In the second scenario, you will need 32 Core Licenses

If you want to optimize for ESX licensing, make sure that your cores per socket is equal to the total number of vCPUs (e.g. 32 vCPU = 32 cores per socket) and here are the two options to apply the setting:

  • vSphere UI - Edit VM and navigate to VM Options->CPU Topology->Cores per Socket
  • vSphere API - Using PowerCLI, ensure both -NumCpu and -CoresPerSocket is configured with the same value

Categories // Nested Virtualization Tags // Nested ESXi

Thanks for the comment!Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • VCF 9.0 Fleet Latency Diagram 12/11/2025
  • Quick Tip - Downloading VMware Cloud Foundation (VCF) Consumption CLI for Air-Gapped Environments 12/10/2025
  • Automating VCF Operations Objects & Metrics Reporting 12/08/2025
  • Quick Tip - Using VCF CLI to login to vSphere Supervisor when configured with VCF Automation 12/05/2025
  • Automating the Reporting of VCF Workload Domain Import Pre-Check Validations 12/04/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025

 

Loading Comments...