Cockroach Labs Estate economics What idle nodes, provisioned bytes and peak-sized bills cost, worked out from your estate.

Estate summary

  1. Nodes 177 baseline
  2. Avg CPU utilization 15.0% idle hardware
  3. Storage provisioned 1.5 TB 250 GB of data
  4. Est. monthly saving 0%

Step 1 of 8 - Virtualization

You're running an estate, not a cluster

Every cluster below was sized for its own peak, so every one of them idles.

25 standalone clusters, 177 nodes in totalcluster-0110% CPU9 nodescluster-025% CPU7 nodescluster-0322% CPU5 nodescluster-0417% CPU5 nodescluster-059% CPU7 nodescluster-0614% CPU9 nodescluster-0710% CPU5 nodescluster-0818% CPU7 nodescluster-0915% CPU7 nodescluster-1012% CPU7 nodescluster-1110% CPU9 nodescluster-1219% CPU5 nodescluster-1319% CPU5 nodescluster-1425% CPU7 nodescluster-1512% CPU7 nodescluster-1614% CPU7 nodescluster-1717% CPU7 nodescluster-1824% CPU7 nodescluster-1914% CPU9 nodescluster-2015% CPU7 nodescluster-2112% CPU9 nodescluster-2217% CPU7 nodescluster-2320% CPU9 nodescluster-2415% CPU9 nodescluster-2518% CPU5 nodesEstate before consolidation25 separate clusters of around 7 nodes each, 177 nodes in total, averaging 15.0% CPU utilization.
15%Average CPUAverage CPU CPU utilization15.0% of provisioned CPU is in use.

177 nodes running 212 vCPU of actual work.

The arithmetic, in full
StepWorkingResult
Provisioned today25 clusters totalling 177 nodes (drawn around 7, 5 to 9) x 8 vCPU1416 vCPU
Mean demand1416 vCPU x 15.0% estate average utilization (per-cluster 5.5% to 24.8%, sd 4.6%)212 vCPU
Aggregate peak212.4 vCPU x (1 + (2.23 - 1) / sqrt(25)), a pooled peak-to-mean of 1.246265 vCPU
Consolidated, sized once for the peakmax(3, ceil(264.6 vCPU / (8 vCPU x 37.5% target))) = max(3, ceil(88.19)); the mean sits well under that peak89 nodes, averaging 29.8%
Auto-scaled through the daythe pool follows the pooled curve in whole nodes, 30 minutes behind it, holding its size for 2 hours before shrinking74 nodes on average, at 35.9% CPU
Utilization across the day30.3% to 39.3% against a 37.5% setpoint: the pool runs hot while it's a bucket behind a rise, and cool while the cooldown is still holding capacity after a peak30.3%-39.3%

Assumptions

  • 8 vCPU per node. Standalone clusters are drawn around 7 nodes, snapped to an odd number for quorum and held between 3 and 15; in this estate they run 5 to 9, a 1.4-node standard deviation, for 177 nodes in total.
  • Each standalone cluster's CPU is a draw from a normal distribution centred on 15.0% and held between 0% and 100%; in this estate they run 5.5% to 24.8%, a 4.6-point standard deviation. The published band is 10-15% today against a 30-45% auto-scaled target, and this Private Host Cluster is set to 37.5%.
  • The Private Host Cluster floors at 3 nodes and must reach 89 at peak.
  • The auto-scaler sizes for what it saw 30 minutes ago and waits 2 hours before shrinking, so the pool averages 35.9% rather than sitting on its 37.5% setpoint.
  • Workloads are independent; consolidation moves where work runs, not how much there is.
What a virtual cluster gives an app team

Its own connection string, databases, schemas, users, roles and backups, and no visibility into the Private Host Cluster or any other virtual cluster.