Deploying a Four-Node GB10 Cluster for Distributed LLM Inference

    This article presents a practical reference architecture for deploying large language models (LLMs) in a fully privatized environment using a four-node cluster built on GB10 superchip-based hardware. It covers the cluster's hardware topology powered by RDMA networking, the mixed-precision and memory pooling strategy that enables running a large-scale MoE model, and the use of the vLLM inference engine with hybrid tensor and expert parallelism. The post also includes real-world performance metrics across typical enterprise workloads, key tuning insights, and operational practices for stable long-term running and model updates. It is intended for engineers and technical decision-makers evaluating private AI infrastructure options that balance capability, cost, and manageability.

    Background: The Cost and Compute Challenge of Private LLM Deployment

    As large language models are increasingly adopted for intelligent Q&A, document understanding, and code generation, enterprises in finance, healthcare, and government face strict data privacy and compliance requirements. Private deployment has become a necessity. However, model weights ranging from tens to hundreds of gigabytes, along with the massive memory demands of inference, put enterprises in a difficult position when balancing hardware costs against deployment viability.

    Traditional single-GPU or dual-GPU inference setups struggle with models exceeding ten billion parameters, often hitting memory capacity limits and suffering from low concurrent throughput. Distributed inference clusters offer a practical path forward by interconnecting multiple compute nodes via high-speed networking, pooling memory resources, and enabling parallel computation. This article examines a cluster built from four GB10 nodes, detailing its architecture, model deployment strategy, and measured performance.

    1. Hardware Architecture: Breaking Single-Node Bottlenecks with High-Speed Interconnect

    1.1 Node Configuration and Cluster Topology

    The test cluster consists of four independent compute nodes, each powered by a single heterogeneous computing chip that integrates an ARM-based CPU with a Blackwell-architecture GPU. Each node provides a 20-core CPU and 128GB of unified memory. Combined, the four nodes deliver 80 CPU cores, a 512GB unified memory pool, and up to 4 PFLOPS of sparse compute performance (FP4 precision). All nodes are interconnected through a 400G-class high-speed switch using RDMA (Remote Direct Memory Access), with each node supporting up to 200Gbps of network bandwidth.

    The key advantages of this topology include:

    • Memory Pooling: The unified memories of the four nodes are linked via high-speed networking, forming a logical “super memory” of 512GB. This is sufficient to hold the weights and intermediate activations of current mainstream open-source LLMs.
    • Low-Latency Communication: RDMA bypasses the operating system kernel, achieving microsecond-level data exchange between nodes. This meets the high-frequency communication demands of expert parallelism in MoE (Mixture of Experts) architectures.
    • Scalability: The switch has spare port capacity, allowing smooth future expansion to eight or more nodes as model sizes grow.

    1.2 Storage Hierarchy: Coordinating Memory and NVMe

    During inference, model weights remain resident in memory, while KV Cache (key-value cache) and certain sparse lookup tables (such as the Engram tables in MoE models) grow dynamically. This solution employs a tiered storage strategy combining unified memory with NVMe SSDs. The primary model weights are evenly distributed across each node’s memory, while Engram lookup data is offloaded to NVMe SSDs. Through preloading and on-demand paging mechanisms, this approach maximizes available memory for KV Cache allocation, supporting longer context windows on the available hardware.

    2. Model Deployment and Inference Engine Selection

    2.1 Model Characteristics and Precision Strategy

    The target model for this deployment uses a large-scale MoE architecture. While its total parameter count is substantial, each forward pass only activates a subset of expert networks, providing a natural parallel granularity for distributed inference. Model weights use the officially released mixed FP8 and FP4 precision formats, reducing memory footprint by approximately 50-75% compared to conventional FP16/FP32 formats. This compression makes it possible to load the full model into the cluster’s unified memory.

    Mixed precision is not merely a simple bit-width reduction. FP8 is primarily applied to the attention mechanism and certain linear layers to maintain numerical stability. FP4 is used for the FFN (feed-forward network) layers, where precision sensitivity is lower, balancing model size against output quality.

    2.2 Inference Engine and Distributed Runtime

    The vLLM inference engine was selected as the underlying runtime. Its core advantages include:

    • PagedAttention Mechanism: Manages KV Cache in pages, eliminating memory fragmentation and pushing memory utilization close to theoretical limits.
    • Continuous Batching: Dynamically schedules requests, significantly improving GPU utilization and throughput.
    • Tensor and Expert Parallelism: Flexibly partitions model layers and expert networks across nodes, overlapping data transfer with computation.

    For the distributed strategy, the cluster simultaneously runs Tensor Parallelism (TP) and Expert Parallelism (EP). In the attention layers, tensors are split along the attention-head dimension and distributed across the four nodes. In the MoE layers, different expert networks are placed on different nodes, with results aggregated through All-to-All communication. This hybrid parallel strategy takes full advantage of the high-speed interconnect bandwidth between the four nodes, keeping communication overhead within acceptable bounds.

    3. Testing Methodology and Measured Performance

    3.1 Test Scenarios and Tooling

    Testing covered four typical workload categories: general Q&A, document processing, complex reasoning, and AI-assisted coding/agent tasks. The load testing tool was developed on top of an open-source performance testing framework, simulating multi-user concurrent requests and recording metrics such as time-to-first-token (TTFT), token generation rate, and request throughput. The context window was set to 1 million tokens to validate stability under long-document scenarios.

    3.2 Performance Data and Analysis

    Evaluation Category Concurrency Avg. Time-to-First-Token Avg. Generation Rate Success Rate
    General Q&A 16 0.8s 210 tokens/s 99.5%
    Long-document summarization 8 2.1s 145 tokens/s 99.2%
    Complex task planning 4 1.5s 180 tokens/s 98.7%
    AI coding / Agent 8 1.2s 195 tokens/s 99.0%

    Observations:

    • Latency: Under 16-way concurrency, time-to-first-token stayed under one second, indicating that model weights were fully resident in unified memory with efficient routing, and no frequent blocking occurred due to SSD paging.
    • Throughput: The average generation rate per node exceeded 50 tokens/s, with the four-node aggregate reaching up to 210 tokens/s. This is sufficient for daily interactive needs of a small-to-medium team (50-100 users).
    • Long-context stability: No out-of-memory errors occurred when processing documents exceeding 500K tokens, confirming the effectiveness of the KV Cache paging and SSD offloading strategy.

    3.3 Key Tuning Insights

    • Kernel and environmental parameters: Adjusted RDMA receive queue depth and memory lock limits to reduce network stack overhead.
    • vLLM scheduling parameters: Set max-num-seqs to 32 and enabled enable-prefix-caching, reducing reuse latency for repeated prefixes (e.g., system prompts) by approximately 40%.
    • Load balancing: Configured weighted round-robin with least-connections at the AI gateway layer to avoid tail latency degradation caused by single-node overload.

    4. Operational Stability and Maintenance Practices

    4.1 Sustained Load Testing

    During a continuous 72-hour mixed-load stress test, the cluster ran without any restarts or core dumps. Only two minor network micro-bursts were observed, each lasting slightly over 500ms. Monitoring dashboards from the management platform showed compute utilization curves across all four nodes remaining closely aligned, at roughly 70%-85%, confirming the effectiveness of the load-balancing strategy.

    4.2 Model Hot Updates and Rollback

    Using the management platform, three hot updates of model weights were completed (e.g., from v1 to v2) without any perceptible service interruption. The process is based on a blue-green deployment strategy: new weights are first loaded on standby nodes, consistency checks are performed, and then traffic is switched over. The entire operation completes within five minutes, providing a reliable path for model iteration in production environments.

    5. Summary and Deployment Recommendations

    The four-node GB10 cluster achieves a balanced trade-off across performance, cost, and maintainability. It offers clear value in the following scenarios:

    1. Data-sensitive enterprises: Model weights and business data remain 100% on-premises, avoiding the overhead associated with API-based sanitization.
    2. Medium-scale concurrency needs: Peak concurrency under 50 concurrent requests, with average request rates within 200 tokens/s, is well within the cluster’s capacity.
    3. Multi-model management: Through a unified AI gateway, different models can be routed by business line, with fine-grained cost accounting based on token usage.

    The solution does have its limitations. The absolute compute capacity of the cluster (4 PFLOPS FP4) falls short of eight-GPU flagship server setups, which may constrain performance in internet-scale applications demanding extreme throughput (e.g., over 1000 tokens/s). However, for the vast majority of enterprise private deployment scenarios, this cluster represents a worthwhile reference model, offering sufficient performance, operational simplicity, and manageable costs.