IsvaraIsvara
The Guide
Part 1/Performance vs Capacity
Weekly

Weekly or longer is suitable for different types of tasks. As you have more time and are working on longer time horizon, you should look at both the big picture and look ahead.

The end of the week is a good time to document the changes and lesson learned from the week, and plan ahead for the next week.

CapacityCapacity monitoring and planning. Check actual growth vs projection (plan).
Reclamation Process. VM rightsizing, Idle VM, etc. This can be done weekly as you need to deal with the VM owners.
ComplianceRoot cause for non-compliance is documented, and preventive measurement is put in place so it does not happen again.
Configuration

Minor updates. For example, from vSphere 7.0 U1 to U2. This is typically part of standard IT tech stack hygiene, where you keep up with the update from all your vendors while making sure they are compatible. This protects you from security non-compliant and emergency patching during business hours.

Review does not mean immediate implementation. For example, there is a newer version of VMware Tools. You may decide to start implementation in 2 months, as you have 15K VM and you need to prioritize and batch them.

Major upgrade. For example, from vSphere 6.5 to 8.0. This is typically a one-off project, as opposed to regular maintenance. The implementation is typically executed within a green zone, so other regular maintenance may be deferred to make space.
OverallWeekly Management Report. Focus on reviewing the operations of the week, and plan for next week.
Review of ad-hoc events. What are the lessons learned, and can they be turned into an SOP and alerts set up?
Monthly

The month serve as logical time period as human and business relate well with calendar months. There are different activities at the end of the month or the start of the month.

AvailabilityRestore test of backup. Make sure it can be restored and the data is readable.
ConfigurationLess urgent update. Review new versions and ensure you do not fall too far behind.
Longer Cadence

You complement the above frequent SOPs with a regular cadence with a longer time horizon. Naturally, the focus is on the big picture, major projects, and strategy.

QuarterlyOverallQuarterly Management Report. Focus on longer term items such budgeting.
CostBudgeting. Review actual versus plan.
AvailabilityDR Test (Production is still running). Isolate the network. To ensure users are comfortable with the procedure when actual DR strikes.
Half-yearlyAvailabilityHA Test. Actual test that your HA works as intended. Covers vSphere, physical switches, storage array, etc.
YearlyAvailabilityActual DR Failover (Production not running) and Failback to primary DC
CapacityInventory Stock Take. To discover unused VMs and physical items in data center
Ad-hocCapacityUnexpected demand. This is why it’s important for capacity teams to stay close with the business, especially the ones working on major initiatives.
VM Life Cycle

This should be supported with an approval system, so all Change Requests and associated actions are properly recorded. This eliminates finger-pointing in the future. It will also support audit: who is keen on “who did what change to which object on when”?

StageNotes
Request

If a VM is free (price is basically $0), then rely on business justification and IT policy. Policy states the criteria for the different class of services.

VM size is requested by the application team, approved by their management. For size or quantity above certain thresholds, IT should review.

Creation

The actual deployment of the VM in vCenter. This is ideally automated.

This stage generates the actual VM name, create folders if necessary, and places the VM into the correct folder.

Once the VM object is registered in VCF Operations, create the custom group is necessary, and set the custom property.

ChangesChanges in VM size need to be approved as it impacts capacity and performance. If you have to use shares and reservation, ensure they are updated accordingly.
RetireDelete the VM and remove it from inventory.

Performance vs Capacity

Think of it as Quantity vs Quality. Or Space vs Speed.

They are heavily intertwined.

  • Rightsizing belongs under capacity, but it uses performance as the primary consideration. For mission critical, the metric is highly granural (1 – 20 second), not 5 minutes average.

  • Infrastructure capacity is about maximizing utilization, but it gets overridden by performance.

Performance is more time sensitive and important than capacity. Manage performance first, capacity second. Using the restaurant analogy, you focus on the dining area first, then the kitchen.

In larger organizations, they are typically managed by two different teams. The capacity team does not get involved in the day-to-day operations as they focus on longer-term resource availability. They also consider latent workload and future demand, which performance does not consider.

The capacity team may not have the technical skills to troubleshoot performance. On the other hand, the day-to-day operations deals with “what’s on the floor” of the data center. Their primary focus is meeting the demand from applications on that day.

Capacity involves factors like HA, Buffer, Overhead and Reservation. None of these are relevant to performance monitoring. In Performance, you don’t care about them as performance is about reality (what actually happens). Those factors may cause performance problems, but they are not considered in the performance metric.

Capacity uses a smaller subset of the resource than performance. One main concept is Usable Capacity, which is unique to capacity. There is no usable performance, usable compliance and usable availability.

The relationship between capacity and performance varies depending on the object.

  • Consumer objects (e.g. VM, K8S Pod) have different natures than provider objects (e.g. vSphere Cluster, vSAN Cluster).

  • For provider objects, performance is always bottom up. You start with the VM running inside in the provider object, and then aggregate the metrics. Capacity is always top down. You look at the big picture first, then drill down. For example, you start with the vSphere cluster, then drill down to ESXi.

For an IaaS provider, the following tables explains how performance and capacity differ.

A screenshot of a computer AI-generated content may be incorrect.

Utilization vs Demand

Utilization is not something you manage. It is just an input to what you actually care, which is capacity and performance. The nuance is both use utilization differently. In addition, capacity uses demand metrics, which takes the highest of utilization & reservation.

Performance will be absolute (real value), Capacity will be relative (it depends on settings). Unlike performance, Capacity is measured against usable capacity, not absolute capacity. There is no such thing as usable performance.

A screenshot of a computer screen Description automatically generated

Now that we’ve looked at purpose, now let’s look at object.

Take a 16-node vSphere cluster, for example:

  • For performance, taking the average utilization of 16 hosts is too late. It’s also not practical, as you don’t typically wait until all 16 have a problem. In this case, you want to take the highest among the host as your primary counter for cluster utilization. If the counters show no issue, then there is no need to look at the remaining hosts.

  • From capacity, taking the average makes sense, as you do capacity at cluster level. You will continue adding until either you run out of capacity or you hit performance problems.

Contention vs Consumption

Previous
SP5 Framework: Process
Home
Next
Performance Management