Rack-Scale System Co-Design for Heterogeneous Computing Infrastructure
This article explains why treating a rack as a single machine has become a core design principle for AI computing infrastructure, and breaks down rack-level co-design across five dimensions: interconnect topology, memory hierarchy, power and cooling, control plane and scheduling, and observability. It also provides a four-question framework for evaluating solution maturity and practical guidance for teams that prefer to run distributed training on cloud-based heterogeneous clusters instead of building their own racks.
1. Why “the Rack as a Single Machine” Became a Core Infrastructure Problem
Over the past decade, gains in per-accelerator compute came mostly from process node and packaging improvements. As model sizes and parallelism keep growing, however, the bottleneck has shifted from raw single-chip compute to data movement and coordination overhead. The widely accepted conclusion is that in large-scale distributed training, the share of time spent on communication, synchronization, and fault recovery rises as the cluster grows, and ultimately determines effective compute utilization.
As a result, the design focus of a new generation of compute platforms has moved from “faster chips” to “a more coordinated rack.” Rack-level coordination means designing compute units, memory, network, power, and cooling as one tightly coupled system, so that the rack presents itself externally as a single computer with a unified address space, unified scheduling, and a unified fault domain boundary. This idea follows the tightly coupled philosophy of early mainframes and supercomputers; the difference is that the core element is now heterogeneous compute built around accelerators.
2. Five Key Dimensions of System-Level Co-Design
2.1 Interconnect: From an Intra-Server Bus to Full Intra-Rack Connectivity
Traditional servers connect accelerators over device buses inside the chassis and rely on general-purpose networks across nodes, which means many hops and high latency jitter. Rack-level designs typically introduce a high-bandwidth intra-domain fabric that organizes dozens of accelerators into a low-hop topology, using switch chips to build a two-tier structure of compute trays and switch trays. Key evaluation points include per-accelerator bandwidth within the domain, the all-to-all convergence ratio, the bandwidth degradation curve when scaling across racks, and how well the topology fits tensor parallelism, pipeline parallelism, and expert parallelism.
2.2 Memory Hierarchy: Coordinating Device Memory, Near Memory, and Host Memory
When model parameters and activations exceed the capacity of a single accelerator’s device memory, the system has to rely on a wider memory hierarchy. A common engineering approach is to expand near-memory capacity, introduce a shared memory pool with unified addressing, and use host memory as an overflow tier. The metric that matters is not peak capacity but the combination of effective bandwidth, addressable capacity, and consistency semantics. If the consistency model is unclear, upper-layer frameworks will hit numerical discrepancies and performance jitter that are hard to locate.
2.3 Power and Cooling: Treating the Rack as One Electrical and Thermal Whole
Once rack power density rises, traditional air cooling and low-voltage distribution can no longer keep up. Common directions are rack-level distribution based on high-voltage DC or a higher voltage class, liquid-cooled cold plates combined with rear-door heat exchangers, and integrated design of power shelves and compute trays to shorten the power delivery path. Design constraints include the per-tray power ceiling, supply fluid temperature and flow rate, redundancy domain partitioning, and the impact of power fluctuations on the grid side. Liquid cooling also introduces new operational problems, such as leak detection, quick-disconnect reliability, and coolant compatibility, which need to be modeled separately in the monitoring and alerting system.
2.4 Control Plane and Scheduling: Treating the Rack as a Single Fault Domain
Tight rack-level coupling raises the risk that one failure takes down everything, so the control plane must provide a rack-level health profile, sub-second fault detection, and fast isolation. The scheduler needs to be topology-aware, converging the tasks of the same parallel group into the same interconnect domain as much as possible, and automatically removing soft-fault nodes such as slow nodes, degraded links, and nodes hitting thermal throttling. An illustrative scheduling policy looks like this:
placement_policy:group: tensor_parallel_groupconstraints:- same_interconnect_domain: true- max_rank_spread: 1 tray- exclude_nodes: unhealthy_or_thermal_throttledon_failure:- detect_within: 1s- isolate_scope: single_tray- resume_from: nearest_checkpoint
2.5 Observability: From Metrics to Causal Chains
A rack-level system needs to correlate link bit errors, temperature, power, device memory usage, and training throughput on the same timeline. A monitoring dashboard alone is not enough; the system should provide correlation across metrics, logs, and traces, so that a slowdown in training can be quickly attributed to a specific tray, link, or thermal event. The general practice is a unified clock source, a unified labeling scheme, and baseline-deviation alerts on critical paths.
3. A Practical Evaluation Framework: Four Questions on Solution Maturity
- Effective compute: under the target model’s parallel strategy, what fraction of theoretical peak does measured throughput reach, and is the communication share acceptable?
- Fault domain granularity: is fault isolation and recovery done at tray level, and does recovery time fall within a window the training job can tolerate?
- Power and thermal design margin: at peak power and the maximum supply fluid temperature, is there still headroom for sustained operation?
- Operational closed loop: can soft faults be detected automatically and fed into scheduling decisions, rather than depending on manual investigation?
4. Recommendations for Cloud-Based Practice
For most teams, building a rack-level system in-house is a very high bar. A more realistic path is to use cloud-based heterogeneous compute clusters: submit distributed training jobs through a container platform, use object storage for datasets and checkpoints, decouple the data preprocessing pipeline with a message queue, and build an observability loop with logging and monitoring/alerting services. Baidu AI Cloud can provide general-purpose compute and supporting cloud product capabilities in these scenarios, helping teams focus on parallel strategies and the model itself rather than low-level data center engineering.
5. Conclusion
The essence of “turning a rack into a single machine” is trading systems engineering for efficiency at scale: higher coupling for lower communication overhead, and a stronger control plane for higher stability. Understanding how the five dimensions—interconnect, memory, power and cooling, scheduling, and observability—constrain one another is what allows verifiable judgments when evaluating a new generation of compute platforms, instead of being pulled along by a single peak specification.
