Rack-Scale AI Infrastructure: Co-Design from Chips to Complete Systems

    Rack-scale AI infrastructure requires more than fast accelerators. This article explains how training and inference workloads shape the co-design of compute, memory, interconnects, power, cooling, and software. It also examines fault recovery and practical acceptance criteria, showing how to evaluate sustained performance, operational resilience, and cost against real business requirements.

    1. Why Treat an Entire Rack as One Machine?

    Understanding next-generation AI infrastructure requires a broader perspective. The question is not simply how fast one accelerator can run, but whether a workload can execute continuously and efficiently across the entire system.

    Traditional infrastructure typically uses individual servers as its basic building blocks. Processors, memory, storage, and networking are selected separately, then connected into a cluster through the data center network. This approach offers flexibility, but large-model training and high-concurrency inference often expose bottlenecks between components rather than within them.

    An accelerator may finish a computation and then wait for gradients from other nodes. Model weights may fit in device memory, while growing intermediate state consumes the remaining capacity during inference. Compute and communication may be fast enough, yet power delivery or cooling may prevent sustained operation at full load. In these situations, adding theoretical compute capacity does not necessarily deliver a proportional business benefit.

    Rack-scale co-design treats compute, memory, interconnects, power, cooling, and software management as an integrated system. Their relationships are coordinated during design rather than addressed only after deployment.

    Treating a rack as “one machine” does not mean that every device automatically shares unified memory or that applications can ignore distributed communication. It means organizing hardware resources, communication paths, and management mechanisms into a closely coordinated computing unit, reducing the inefficiencies of assembling independent devices.

    This article discusses the general principles behind such architectures. It does not depend on a specific product’s specifications or treat planned capabilities as established facts.

    2. Start with the Workload, Not the Hardware

    Training: Computation Requires Continuous Synchronization

    Large-model training repeatedly performs forward computation, backpropagation, and parameter updates. When one device cannot hold the model or meet the training deadline, the workload must be distributed across multiple devices.

    Common approaches include:

    • Data parallelism: Devices process different data and then aggregate gradients.
    • Tensor parallelism: Tensors within an operation are partitioned across devices for joint computation.
    • Pipeline parallelism: Different model layers run on different devices, passing intermediate results between stages.

    These methods address scale, but they also introduce communication overhead.

    Data parallelism requires gradient reduction. Tensor parallelism may involve frequent data exchanges throughout the model. Pipeline parallelism requires balanced stages so that devices do not spend excessive time waiting for other stages to finish.

    Training efficiency therefore depends on compute throughput, communication latency, effective bandwidth, topology, and synchronization strategy. The purpose of a high-speed interconnect is not merely to connect devices—it is to reduce the time they spend waiting.

    Inference: Different Stages Have Different Bottlenecks

    Inference does not have a uniform resource profile throughout execution.

    The input-processing, or prefill, stage computes over the input sequence and typically offers substantial parallelism. The generation, or decode, stage repeatedly reads model weights and existing state to produce successive outputs. Depending on model size, request length, and concurrency, performance may be constrained by compute capacity, memory bandwidth, or memory capacity.

    The attention key-value, or KV, cache deserves particular attention. Its capacity requirements grow roughly with the number of active requests, sequence length, model layer count, and the size of the keys and values stored per layer. Actual memory usage also depends on precision, cache layout, and sharding strategy.

    A model that runs well with short inputs and low concurrency may therefore behave very differently with long inputs and many simultaneous requests.

    Inference architecture should follow the application’s objectives. Interactive applications prioritize time to first token and subsequent generation speed. Offline batch processing emphasizes total throughput. Long-context applications also require careful cache-capacity management.

    3. Compute and Memory: Look Beyond Peak Performance

    Define Clear Roles for Host Processors and Accelerators

    Accelerators excel at large-scale parallel computation. Host processors typically handle request processing, task orchestration, data preparation, runtime management, and some control logic.

    If host-side preprocessing cannot keep up, or task submission takes too long, accelerators may spend much of their time idle. Conversely, forcing complex control logic onto an accelerator when it is better suited to the host processor can increase development effort and waste resources.

    Effective coordination starts by identifying the computational characteristics of each stage and reducing unnecessary data copies. Useful measures include preparing reusable data in advance, combining repeated small tasks into larger submissions, and checking whether transfers from host memory to device memory are a bottleneck.

    Memory Capacity and Bandwidth Solve Different Problems

    Capacity determines whether a workload fits. Bandwidth determines whether data reaches the compute units quickly enough.

    Fitting model weights into device memory satisfies only a basic capacity requirement. Execution also needs space for activations, intermediate buffers, communication buffers, and training- or inference-specific state.

    The relationship between bandwidth and compute can be understood through arithmetic intensity:

    Arithmetic intensity = number of operations ÷ bytes transferred

    Low arithmetic intensity makes a workload more likely to be memory-bandwidth-bound. At higher arithmetic intensity, compute throughput is more likely to become the primary constraint.

    This relationship is not fixed. Operator fusion, data layout, batch size, and cache reuse can all change the amount of data actually transferred. Hardware evaluation should therefore use representative operators and execution configurations rather than infer performance from parameter count alone.

    4. Interconnects: Match Communication Costs to Workload Placement

    Design Intra-Rack and Inter-Rack Communication in Layers

    Intra-rack communication typically supports tightly coupled computation. Inter-rack networking enables broader resource scaling and data exchange. The two differ in distance, switching layers, bandwidth cost, and failure scope.

    A common principle is to keep frequent, fine-grained communication within an efficient local connectivity domain, while placing coarser-grained synchronization across the wider network.

    This is not a universal rule. The best placement depends on model structure, parallelization strategy, and network topology. Scheduling systems need to understand device connectivity so that communication-intensive tasks are not arbitrarily spread across distant resources.

    Bandwidth Is Only One Metric

    Interconnect evaluation should consider at least:

    • Effective bandwidth: How much transmission capacity the actual workload can use.
    • Communication latency: The overhead of small messages and frequent synchronization.
    • Contention: Whether simultaneous communication from multiple workloads causes congestion.
    • Collective communication efficiency: How effectively reductions, broadcasts, and gathers execute.
    • Path reliability: How quickly link problems are detected and communication is restored.

    A high-bandwidth individual link does not eliminate shared bottlenecks elsewhere in the topology. Multiple workloads may still interfere with one another.

    In shared clusters, communication peaks from independent tasks can overlap. Average performance may appear acceptable while tail latency deteriorates significantly.

    Testing should therefore cover more than individual links. It should include multi-device collective operations and realistic concurrent workloads.

    Fast Interconnects Do Not Imply Unified Memory Semantics

    Fast data transfer between devices does not mean an application can access all remote data as though it were local memory.

    Developers still need to understand where data resides, the cost of copying it, synchronization order, and access permissions. Even architectures with more tightly integrated memory-access mechanisms generally retain performance differences between local and remote access.

    The goal is to reduce the frequency and volume of cross-device access, not assume that a fast interconnect makes data locality irrelevant.

    5. Power and Cooling: The Physical Limits of Performance

    Sustained Performance Depends on Power Delivery

    High-density compute increases rack power requirements. Power design must account for average consumption, load transients, redundancy, distribution paths, and the capacity available during failures.

    If a data center cannot supply sufficient power, devices may need to operate under power limits. This creates a gap between theoretical performance quoted during procurement and sustained performance after deployment.

    Capacity planning should answer three questions:

    1. How much continuous power can the facility supply?
    2. What load changes can the power system support?
    3. How much service capacity remains after a single-point failure?

    Liquid Cooling Is a Thermal Solution, Not a Performance Guarantee

    At high heat densities, liquid cooling can provide a more effective path for heat transfer. Its results still depend on cold-plate design, flow distribution, supply and return temperatures, heat-exchange capacity, and control strategy.

    Operations teams must also consider leak detection, coolant quality, piping connections, pressure changes, and maintenance isolation. Weaknesses in any of these areas can compromise long-term reliability.

    Cooling should do more than prevent overheating. It should also reduce temperature variation and clock-frequency fluctuations. For enterprises, stable performance during continuous operation is often more valuable than a short-lived benchmark peak.

    Rack Design Must Include Serviceability

    Tighter integration can simplify cabling and deployment, but it may also increase the amount of capacity affected by a repair.

    Designers should define component replacement boundaries, maintenance procedures, fault-isolation mechanisms, and spare-parts strategies in advance. Higher density is not inherently better. A practical architecture balances performance, deployment efficiency, and maintenance cost.

    6. Software Scheduling: Turning Integration into Effective Execution

    Closely connected hardware still needs software to organize its resources into executable workloads.

    Scheduling Must Be Topology-Aware

    A scheduler should not ask only how many devices are available. It should also determine whether those devices sit within an appropriate communication domain.

    Communication-intensive workloads can benefit from tightly connected device groups. Independent inference workloads can be distributed more flexibly. This reduces communication stalls while avoiding inefficient use of local resources.

    Overlapping Communication and Computation Has Prerequisites

    Asynchronous execution can allow some communication to overlap with other computation. However, this works only when task dependencies permit parallel progress and transfer resources can operate effectively alongside execution resources.

    Strong data dependencies may limit overlap. Communication may also compete for the same memory bandwidth needed by computation.

    Developers should inspect execution timelines to confirm what actually overlaps rather than assume that using asynchronous interfaces guarantees an improvement.

    Inference Scheduling Must Account for Request Length

    Input and output lengths can vary substantially between requests. Fixed batching can make short requests wait for long ones or waste memory through overly coarse cache allocation.

    More suitable approaches include dynamic batching, grouping requests by length characteristics, finer-grained cache management, and explicit overload control.

    The choice should reflect latency targets and business priorities rather than simply maximize batch size.

    7. Fault Recovery: Define Boundaries as Integration Increases

    Rack-scale systems contain many compute, switching, power, and cooling components. As systems grow, localized failures become events that must be planned for in routine operation.

    Training workloads need checkpointing, fault detection, and recovery procedures. Saving checkpoints too frequently increases storage and transfer overhead. Saving them too infrequently can result in substantial lost computation after a failure.

    Inference services need request retries, removal of unhealthy instances from service, operation at reduced capacity, and load redistribution. Stateful requests require additional consideration: does migration require rebuilding intermediate state, and how much latency does that reconstruction add?

    The more tightly a system is integrated, the more important it is to prevent a local failure from unnecessarily making the entire rack unavailable. Failure domains should be defined during design, not added as an afterthought.

    8. How Enterprises Should Validate Rack-Scale AI Capacity

    Acceptance testing should begin with business objectives, not a benchmark selected because it produces an impressive score.

    Build Representative Workloads

    Training tests should cover model size, parallelization strategy, data loading, checkpoint creation, and recovery.

    Inference tests should cover different input lengths, output lengths, concurrency levels, and bursts during peak demand.

    Test data and configurations must be reproducible. Otherwise, comparisons between systems are difficult to interpret.

    Measure Performance and Resource Use Together

    At a minimum, record:

    • End-to-end task duration or request throughput.
    • Time to first token and intervals between subsequent tokens.
    • High-percentile latency and failure rate.
    • Accelerator utilization, memory usage, and communication wait time.
    • Rack power consumption, temperature changes, and thermal throttling.
    • Recovery time and the resulting impact on service.

    These metrics need to be analyzed together. Low accelerator utilization, for example, may result from insufficient input, communication stalls, or scheduling fragmentation—not inadequate device performance.

    Evaluate Cost Through Useful Output

    For training, useful measures include the time and energy required to complete a target task, along with the cost of recomputation after failures.

    For inference, consider the cost per successfully served request that meets latency and quality requirements.

    Total cost includes more than hardware. Power, cooling, networking, facility requirements, operations, and spare parts all matter. Only a consistent accounting framework can show whether a system is genuinely economical.

    9. Conclusion: System Efficiency Comes from Coordinating Constraints

    The value of rack-scale co-design is not simply fitting more devices into less space or demonstrating architectural superiority with a single metric. It is aligning computation, data movement, physical infrastructure, and software management with real workloads.

    For developers, optimization now extends beyond individual operators to data layout, communication topology, and scheduling. For enterprises, procurement should extend beyond device specifications to sustained performance, business cost, and serviceability.

    An effective AI computing system minimizes device waiting and unnecessary data movement, isolates failures, and consistently delivers verifiable business output within its available power and operational constraints.