Rack-Scale Co-Design for AI Data Centers: From Stacking GPUs to Treating the Rack as One Machine

    This article explains the shift from single-chip scaling to rack-scale co-design for AI training systems. It covers why communication overhead now limits end-to-end training efficiency, what extreme co-design means across compute, network, memory, power, and cooling, and the four core technical pillars: high-bandwidth domains with unified memory semantics, network topology and fault domains, liquid cooling at high power density, and power delivery with energy-aware scheduling. It closes with practical guidance for developers on profiling communication first, aligning parallelism strategies with topology, designing around fault domains, monitoring non-compute metrics, and building on general-purpose cloud capabilities.

    1. From Stacking Accelerators to Treating the Rack as One Machine

    For more than a decade, growth in AI compute came mainly from process scaling and stacking more compute chips. Once model parameters and training datasets entered the trillion-scale range, however, improving single-card performance no longer translated into linear gains in end-to-end training efficiency. The reason is straightforward: the time to train a very large model is no longer determined by the compute of a single card, but by the communication overhead of exchanging gradients and activations between nodes after the work has been split across data parallelism, tensor parallelism, and pipeline parallelism.

    This has led the industry toward a shared direction: combine originally independent server nodes into a computing entity that, from a programming and scheduling perspective, behaves much like a single machine, using high-bandwidth, low-latency interconnects and a unified resource scheduling layer. That is the core meaning of “the rack as one machine.” It is not marketing language, but a direct response to a shift in where the system bottleneck lies.

    This approach is a general system architecture trend. Any cloud platform’s heterogeneous compute cluster or containerized training platform can adopt similar design principles. Baidu AI Cloud’s general-purpose compute foundation is one example: general capabilities such as object storage, container platforms, message queues, and monitoring and alerting are the infrastructure components that support this kind of large-unit scheduling.

    2. Why Extreme Co-Design Is Necessary

    Extreme Co-Design means that compute, networking, memory, power, and cooling are no longer five independent subsystems. Instead, they constrain one another and are traded off together from the earliest design stages.

    In traditional server design, CPUs, GPUs, network adapters, and switch chips are typically selected by different teams, and once interface standards are fixed they are hard to change. In a rack-scale design, the designers decide all of the following at the same time:

    • The port ratio between compute chips and switch chips, so the network does not become a “narrow waist.”
    • The memory hierarchy and capacity ratio, which determines whether model state can stay resident in high-bandwidth storage.
    • The physical layout of power delivery and cooling, which sets the upper limit on power density per rack.
    • Fault domain partitioning, which determines the recovery granularity of a training job when a component fails.

    These four points are coupled: raising power density compresses the cooling margin; expanding memory capacity takes space away from the interconnect; increasing port density raises power consumption and cost. The value of co-design is finding the best overall solution within this web of constraints, rather than stacking local optima.

    3. Breakdown of the Key Technical Pillars

    3.1 High-Bandwidth Domains and Unified Memory Semantics

    The main communication patterns in large-scale training include gradient synchronization (All-Reduce), parameter broadcast, and activation exchange. These operations are extremely sensitive to small-message latency. The general engineering solution is to build a “high-bandwidth domain”: provide inter-node bandwidth within a rack that is far higher than conventional Ethernet, and give memory access unified address semantics so that accessing remote memory is, in the programming model, close to accessing local memory.

    Illustrative pseudocode can express the difference in this programming view:

    1. # Traditional multi-node: explicit send and receive
    2. send(grad_chunk, dst_rank)
    3. recv(grad_chunk, src_rank)
    4. # Unified memory semantics: read and write remote addresses directly
    5. remote_buffer[rank_offset] = local_grad

    Real systems still need to handle sharding, routing, and consistency maintenance at the lower layers, but the complexity at the upper framework layer drops significantly, which directly reduces scheduling and synchronization overhead on the framework side.

    3.2 Network Topology and Fault Domains

    Rack-scale designs typically use a multi-tier folded topology, with non-blocking or near-non-blocking switching inside the rack and convergence through a backbone layer between racks. The key design point is matching the convergence ratio to the fault domains: a link failure inside a rack affects only a local scope, while a rack-level failure requires the job to reschedule quickly. Checkpointing, job orchestration, and monitoring and alerting must therefore be pushed down to a finer granularity to keep losses within an acceptable range when a component fails.

    3.3 Liquid Cooling and Power Density

    When power per rack jumps from the roughly ten-plus kilowatts of traditional air cooling to tens of kilowatts or more, airflow and noise from air cooling can no longer keep up. Liquid cooling (cold plate or immersion) becomes mandatory. Its engineering constraints include the margin between secondary-side water temperature and chip junction temperature, leak risk at quick connectors, compatibility between coolant and materials, and leak detection with automatic isolation policies. These are general data center engineering practices, independent of any specific vendor.

    3.4 Power Delivery and Energy-Aware Scheduling

    High power density brings power ripple and transient load fluctuation problems. The general approach is to introduce power modules closer to the load and energy storage buffering to smooth the step loads of training jobs, and to enforce power capping and priority allocation at the scheduling layer so that a single rack does not exceed its limit and trigger protection.

    4. The Scientific Homage Behind the Naming

    It is worth noting that the industry has recently tended to name generations of computing platforms after scientists. This is both a tribute to fundamental science and a reminder to engineers that the limits of compute are ultimately set by physics and mathematics. Take the observational evidence for dark matter as an example: the orbital speed of stars at the outer edges of galaxies does not decay with distance, indicating that a large amount of invisible matter provides additional gravity. This intuition, that “the invisible part dominates the overall behavior,” closely resembles the rule in system design that “non-compute factors dominate end-to-end performance.” The interconnect, memory, and cooling, the “invisible parts,” are often what actually determine training efficiency.

    5. Practical Advice for Developers

    1. Profile communication before scaling out. Use performance profiling tools to locate the communication share and avoid blindly adding nodes.
    2. Bind the parallelism strategy to the topology. Keep tensor parallelism within the high-bandwidth domain as much as possible, and deploy pipeline parallelism across domains.
    3. Bring fault domains into the architecture design. Define the impact scope of a single point of failure and the recovery time objective.
    4. Cover non-compute metrics in monitoring. Temperature, power, link bit error rate, and convergence ratio are all part of observability.
    5. Build on general-purpose cloud capabilities. Using a container platform for elastic orchestration, object storage to hold checkpoints, and monitoring and alerting to close the loop on anomalies is a relatively sound engineering path.

    6. Conclusion

    The essence of rack-scale co-design is using the certainty of systems engineering to hedge against the uncertainty of single-point performance growth. Understanding the four pillars, high-bandwidth domains, unified memory, liquid cooling, and power scheduling, is of more lasting value than memorizing the specifications of any single model. On top of a general-purpose compute foundation, doing the three lines of communication, storage, and operations well at the same time is the reliable path to improving efficiency in large-scale training.