top of page
  • Brock Peterson

VM vCPU and Memory Recommendations from VMware Aria Operations

Rightsizing VMs is a core capability of VMware Aria Operations and has been detailed nicely here by VMware Senior Product Line Manager Brandon Gordon. The Aria Operations rightsizing engine tells us how many vCPU and how much Memory to add or remove to VMs based on past performance and consumption. This can be explored from Optimize - Rightsize.

We show Allocated vCPU and Memory and Recommended vCPU and Memory Reductions/Increases, but not the Recommended vCPU or Memory. If you look into VM metric details, you'll find that we provide CPU and Memory Recommendations designed to keep those metrics in a time remaining green state. But, we don't provide the actual number of vCPU being recommended or the amount of Memory being recommended. For those, we need Super Metrics: we'll take the Allocated Amount and add/subtract the Recommended Increase/Reduction.

Let's create four Super Metrics, one for each situation:

  • vCPU Recommended (oversized VMs)

  • vCPU Recommended (undersized VMs)

  • Memory Recommended (oversized VMs)

  • Memory Recommended (undersized VMs)

Go to Configure - Super Metrics - ADD - give your Super Metric a name and assign an Object Type (Virtual Machines in this case).

Next define the Formula: in this case we'll take Allocated vCPU and subtract Oversized vCPU from it. Then activate it in the desired Policy/s.

You can VALIDATE and/or PREVIEW in the Formula tab, but let's have a look at the Super Metric in the wild. Back on the Optimize - Rightsize page, find an Oversized VM.

Let's explore the VM called The Aria Operations rightsizing engine is recommending we reduce the number of vCPU from 24 to 12. Our Super Metric should reflect this, let's look.

Number of Allocated vCPU is at the top (24) and the number of Recommended vCPU is the Super Metric at the bottom (12), which is what we expected.

The three other Super Metrics are similar, they look like this.

Give them a minute to calculate and you'll see them against your VMs. Let's explore a VM that needs more Memory.

This VM has 16GB Memory, but Aria Operations is recommending 2GB additional, which is reflected by our Super Metric here.

You'll notice I've assigned KB as the Memory unit, but you can convert that to GB in Metric Charts and Views.

Go to VMware {code} to download these Super Metrics! Once imported, you can start using them in Metric Charts, Views, Reports, and more...enjoy.

bottom of page