AI Compute Clusters: Balancing Scale Expansion and Utilization

    This article explains how to plan capacity for large AI compute clusters while keeping utilization high. It covers demand forecasting, hardware sizing, how to define and measure utilization, how to share resources between training and inference, how to estimate unit cost including depreciation and power, and a step-by-step rollout plan.

    1. Compute Has Become a Strategic Asset

    Over the past few years, GPU clusters have shifted from auxiliary equipment in experimental environments to core assets for many organizations. A single cluster often includes tens of thousands of accelerator cards. Building one takes months, and the investment in procurement, data center facilities, power supply, and cooling runs into hundreds of millions of yuan. As clusters grow, technical and financial decisions become intertwined. Questions such as how many cards to buy, when to bring them online, which teams get access, and how long it takes to recover the investment no longer belong only to the operations team.

    This shift has two direct consequences. First, capacity planning must serve training, inference, and experimentation at the same time, and each workload follows a different load pattern. Second, idle resources cause real losses, because hardware depreciation and electricity costs continue whether or not anyone uses the cluster.

    2. Three Basic Questions in Capacity Planning

    Capacity planning usually revolves around three questions.

    1. Where does demand come from? Count recent task submissions, queue wait times, and peak concurrency by business line, then project forward using the product roadmap for the next six months. Do not base purchases only on optimistic forecasts.
    2. How much hardware is needed? Estimate peak demand as “cards required per task × average task runtime × peak number of concurrent tasks,” and add a redundancy margin. The redundancy ratio depends on the hardware failure rate and the length of maintenance windows.
    3. When will the hardware be ready? Procurement cycles, data center delivery, and network commissioning typically take several months. Planning should treat delivery delays as a risk.

    Of the three questions, the first is the easiest to overlook. Many teams buy hardware first and look for use cases afterward. When that happens, demand fails to catch up after the cluster is built.

    3. Utilization: The Metric Worth Monitoring Continuously

    Utilization is the share of available time during which the cluster performs effective computation. It reflects actual resource usage better than the number of allocated cards does. When the gap between the two is large, the following problems are usually present:

    • Queuing policies are poorly designed, so large jobs occupy entire blocks of resources but use only part of them;
    • Data loading or inter-device communication becomes a bottleneck, leaving accelerator cards idle for long periods;
    • Resources are reserved for certain teams that submit no tasks for long stretches;
    • The scheduler cannot reclaim resources promptly from tasks that have finished or failed.

    Before calculating utilization, align on definitions. It helps to distinguish three levels: allocation rate, availability rate, and effective utilization. The pseudocode below shows how to aggregate effective cluster utilization from device sampling data.

    1. class UtilSample:
    2. device_id # Device ID
    3. busy_seconds # Time the device spent in a compute state (seconds)
    4. window_seconds # Total length of the measurement window (seconds)
    5. function cluster_effective_utilization(sample_list):
    6. busy_total = sum of busy_seconds across all samples
    7. window_total = sum of window_seconds across all samples
    8. if window_total is 0, return 0
    9. return busy_total / window_total # Result ranges from 0 to 1
    10. function find_low_utilization_devices(sample_list, threshold):
    11. result = empty list
    12. for each sample s:
    13. ratio = s.busy_seconds / s.window_seconds
    14. if ratio < threshold, add (s.device_id, ratio) to result
    15. return result

    When using this method, note that busy_seconds should come from device-level compute activity time, not from the time a task was launched. If a task waits for data for a long time after launch, measuring by task duration overstates utilization. The threshold in the example is only illustrative. Set the actual value based on the workload type and historical baselines.

    4. Resource Allocation Between Training and Inference

    Training jobs usually occupy large blocks of resources for long periods and place high demands on network bandwidth and fault tolerance. Inference jobs focus on latency and stability, and their load rises and falls clearly with request volume. Running both types in the same resource pool can raise overall utilization, but it can also cause training jobs to be preempted frequently or cause latency jitter in inference services.

    Three common approaches are used:

    1. Partition isolation. Assign separate resource pools to training and inference. This structure is simple, but idle time tends to build up during off-peak hours.
    2. Elastic sharing. Inference services scale up and down with demand, and idle resources are temporarily lent to training jobs. A preemptible low-priority queue handles this sharing.
    3. Time-based scheduling. Switch resources between uses by time of day. This suits teams whose workloads follow a clear schedule.

    The right choice depends on how much latency the business can tolerate and whether training jobs can be interrupted. If a training job does not support resuming from checkpoints, it should not be placed in a preemptible queue. Checkpoint frequency must also match the preemption policy. Otherwise, the loss from one interruption can exceed the benefit of preemption.

    5. Cost Estimation: Include Depreciation and Power

    Returns on compute investment should be evaluated within a complete cost framework. Unit cost usually includes the following components:

    • Hardware depreciation: amortized over the purchase price and expected service life;
    • Power and cooling: directly tied to device power consumption and data center energy efficiency;
    • Networking and storage: investment in cluster interconnect and data storage is often underestimated;
    • Staff and operations: including fault handling, version upgrades, and capacity expansion;
    • Idle cost: when utilization is low, fixed costs are spread across fewer effective tasks, so unit cost rises quickly.

    A simple metric for this is “cost per effective compute unit,” calculated as total cost divided by effective compute time. This metric rises as utilization falls. When utilization drops from a high level to a low one, the change in unit cost is often much larger than expected. Utilization is therefore both an operational metric and a financial metric.

    Cost estimates also need to account for how depreciation periods relate to technology iteration. Hardware performance can fall noticeably behind next-generation products within two or three years. If the depreciation period is set too long, the book cost will be lower than the actual investment needed to remain competitive.

    6. The Relationship Between Model Capability and Infrastructure Value

    There is no simple linear relationship between compute scale and model performance. Larger scale raises the ceiling for training, but data quality, training methods, evaluation systems, and engineering efficiency also determine the final results. When evaluating infrastructure, consider these dimensions together:

    • Training throughput: the number of effective training steps completed per unit of time;
    • Convergence efficiency: the total compute needed to reach a target metric;
    • Inference cost: the average resource consumption per request;
    • Developer experience: the average time from task submission to result.

    Looking only at peak scale or hardware counts easily leads to one-sided conclusions. A reproducible internal evaluation benchmark is more useful than figures published in marketing materials.

    7. Implementation Steps

    Proceed in the following order:

    1. Standardize metric definitions, clearly specifying utilization, queue time, and unit cost;
    2. Collect device-level and task-level data, and align timestamps to enable cross-analysis;
    3. Produce a utilization report weekly or monthly, and run root-cause analysis on resource pools that fall below baseline;
    4. Adjust procurement timing based on demand forecasts, and verify demand before buying;
    5. Configure checkpoints and resumable training for training jobs, and design reclamation logic for preemptible queues;
    6. Review unit cost and delivery quality each quarter, then decide whether to expand, maintain, or scale back.

    8. Conclusion

    Large-scale compute is a long-term investment. The competitiveness that scale provides can only be sustained with high utilization and a sound cost structure. Technical teams should manage utilization, cost, and demand forecasts in one view, so that hardware does not come online ahead of demand.