Optimizing vSAN cache tier configuration for real workloads
vSAN cache tiering adds fast, SSD-backed read capacity in front of the capacity tier. It works best when the active working set is reusable, local and smaller than the usable cache. A larger cache will not rescue excessive latency, poor host placement or an overloaded replication path.
Administrators in Sydney and Melbourne often combine on-premises vSAN estates with public-cloud services in Australian regions. Hybrid work also creates sharp boot, logon and backup bursts even when remote access continues after business hours. Cache decisions must therefore reflect peak demand rather than a quiet overnight average.
The practical approach is to establish a baseline, confirm where reads are missing the read cache, and change one variable at a time. Storage policy, disk-group balance, host resources and maintenance windows all influence the result, so cache tier configuration should be treated as an operational control, not a single capacity slider.
Map the cache path before changing settings
Start by separating the cache tier from the write path. Cache tiering mainly accelerates reads by retaining hot data on SSD, while write buffering, replica acknowledgement and capacity-tier latency still determine write performance. This distinction matters on vSAN Direct Attached, while vSAN ESA makes the separation of cache and capacity roles explicit.
Record the cluster version, disk-group layout, cache allocation, effective storage policies and recent vSAN health events before making changes. The vSphere configuration guide is useful for checking host, networking and virtualization settings that form the baseline. Local cloud contracts and migration plans also matter when workloads move between Australian regions; cache efficiency can determine how much hot data remains cache-resident and whether the workload needs redesigning.
A practical cache sizing and validation checklist
Size the cache from measured working-set demand. Useful signals include the read-cache hit ratio, virtual disk read latency and the amount of repeatedly accessed data during normal peak hours.
Sizing and workload signals
- vSAN Performance Service cache-hit metrics by virtual disk
- p99 read and write latency during peak load
- SSD bandwidth, queue depth and device latency
- vSAN disk-group headroom and rebuild impact
Treat a falling hit ratio as a workload signal, not automatic proof that more SSD is required. Compressing working sets, improving data locality or changing a virtual machine placement may deliver a larger gain than filling the cache.
Change controls and safeguards
- Change one cache allocation at a time
- Save before-and-after storage policies and metrics
- Include boot storms and backup periods in tests
- Keep a tested rollback and capacity reserve
Use the cache sizing evidence to set a reversible target, then rehearse that target during a normal operating window. Avoid sizing from averages or promoting a synthetic benchmark as proof that production workloads will benefit. The best configuration balances hit ratio, latency consistency, SSD endurance and headroom for recovery traffic.
Separate read gains from write pressure
Read-cache gains can hide write contention. Databases, virtual desktops and logging platforms create different patterns: sequential reads may stream cleanly to capacity media, while random writes can queue behind vSAN replication and host I/O scheduling. Review IOPS, throughput and p99 latency separately so one favourable metric does not conceal an SLA breach.
On stretched clusters, the replication path adds another constraint. A link between Sydney and Melbourne introduces real network latency, and synchronous replica acknowledgement can raise write response time even when local SSD bandwidth looks healthy. Validate stretched designs with latency and packet-loss testing instead of relying on throughput alone.
Where the platform supports it, use storage-policy cache allocation or reservation to protect latency-sensitive virtual disks from noisy neighbours. Keep the reservation modest until measured, and watch for displaced I/O elsewhere. Capacity-tier write performance, memory pressure and replica rebuild traffic must remain within limits after the policy takes effect.
Automate measurement and change control
Measurement should be repeatable enough to survive a handover. A custom PowerCLI module can collect vSAN health, disk-group membership, effective policies and cache counters into scheduled snapshots. Pair those snapshots with vRealize Operations Manager trends and an application-level latency source, since vSAN averages cannot explain a slow transaction by themselves.
Use automation to propose and record changes before applying them. Export the intended state, approval, test result and rollback command together, then compare equivalent peak windows. This creates audit evidence and reduces the chance that an unrelated firmware, storage-policy or virtual-machine update will be blamed on cache tuning.
Protect performance during rebuilds and failures
Rebuilds, rebalances and device failures can erase the value of a carefully sized cache. Reconstruction traffic can compete for the same media and network paths, so a sudden reduction in read hit ratio can be a symptom of congestion rather than a changed workload. Reserve capacity and observe vSAN object repair, resynchronisation and rebalance progress during tests.
Include node and storage failures alongside clean shutdowns. Check cache and capacity failover, SSD endurance, thermal headroom and time synchronisation, then repeat the same workload after recovery. Also verify that maintenance, rebalance throttling and reconstruction priority settings match the expected service levels rather than relying on automatic policy defaults.
Validate changes and put them into service
Validate with a representative virtual machine and its real data profile. The VM deployment walkthrough can support staging a controlled test, after which you should compare cache-hit ratio, read latency, write latency, CPU ready time and application response before and after the change. Keep the test long enough to include a normal working day and a backup window.
Australian organizations subject to the Privacy Act 1988 and the Notifiable Data Breaches scheme should also review exported telemetry for hostnames, guest identifiers or user information, restrict access and align retention with client contracts. Start with a read-only inventory today, then approve the first cache adjustment only when the baseline demonstrates a working-set bottleneck and the rollback path has been tested.