Local Deployment of Large Models on a Four-Node GB10 Cluster: Benchmarking and Analysis
This article presents a practical benchmarking analysis of running large models locally on a four-node Grace Blackwell (GB10) cluster connected by a high-speed switch. It covers the reference architecture and hardware profile, why a switched star topology with RoCE outperforms direct connections, tiered capacity planning across unified memory and NVMe, layered performance testing methodology and observability metrics, and tuning recommendations for short Q&A, long-document, and AI Agent workloads. Readers will find configuration examples, capacity estimation formulas, and a deployment sequence for building a private on-premises inference platform.
1. Why Local Multi-Node Inference Is Back in Focus
Once large models move inside an enterprise network, the real challenge shifts from “can it run” to “can it run stably and predictably.” Three requirements—keeping data within the domain, controlling inference latency, and making the cost per token measurable—are pushing enterprises to move inference workloads back from public APIs to their own data centers. A single node, however, is limited by memory capacity and often struggles with trillion-parameter-class Mixture-of-Experts (MoE) models. Multi-node distributed inference has therefore become a necessity.
Multi-node deployment must solve five problems at once: where model weights are stored, inter-node communication bandwidth, runtime environment consistency, parallel adaptation in the inference engine, and orchestration and observability of the distributed service. A weakness in any of these areas shows up as either “throughput that won’t scale” or “long contexts that break.” This article uses a cluster of four Grace Blackwell compute nodes plus one high-speed switch as a sample to discuss the benchmarking method and findings.
2. Reference Architecture and Hardware Profile
The hardware and software profile of the test system is as follows (described with generic categories to allow side-by-side comparison):
- Compute nodes: 4 Grace Blackwell architecture SoCs
- CPU: 20-core ARM processor per node, 80 cores total
- GPU architecture: Blackwell
- Shared memory: 512GB of unified LPDDR5X memory in total
- Peak compute: up to roughly 4 PFLOPS of sparse NVFP4 compute
- Storage: 8TB of NVMe SSD in total
- Network: up to 200Gbps smart NIC per node, 400G-class switch with RDMA networking
- Model: an open-source large-scale MoE text model (1017 version), native FP8+FP4 mixed precision, 1M token context
- Inference engine: a mainstream open-source high-throughput inference framework
- Management plane: a unified operations console with a built-in model gateway
It is worth stressing that the point of a unified memory architecture is that the CPU and GPU share the same address space. Capacity is no longer bounded by the hard limit of “VRAM,” so the scheduling logic for model loading and offloading changes fundamentally.
3. Networking: Why a Switched Star Topology Beats Direct Connections
The design uses a star topology built around a single high-speed switch, with RoCE lossless Ethernet enabled. Compared with connecting nodes pairwise, the star topology offers three advantages:
- A clear topology where cabling grows linearly with the number of nodes rather than quadratically;
- No node has to forward traffic for others, so every communication path is a fixed single hop;
- A contained fault domain, where switch-side counters can quickly localize problems during troubleshooting.
Tensor parallelism is extremely sensitive to the communication pattern. Taking a single layer of attention and expert routing as an example, the latency of AllReduce/AllGather adds directly onto the decode path of every token. Illustrative startup parameters (showing only the relationship between parallel dimensions and the communication backend):
# Tensor parallelism across 4 nodes, expert parallelism split by node--tensor-parallel-size 16 \--expert-parallel-size 4 \--distributed-backend nccl \--enable-expert-parallel \--max-model-len 262144
In practice, you must enable RDMA and GPUDirect-class capabilities and verify the MTU and PFC/ECN configuration; otherwise RoCE drops packets under congestion and throughput falls off a cliff.
4. Capacity Planning: A Tiered Strategy Across Unified Memory and NVMe
The weight footprint of a MoE model beyond a hundred billion parameters far exceeds a single node’s memory. The common engineering approach is tiered storage: hot weights and the KV Cache stay resident in unified memory, while cold data (such as lookup-style memory/embedding structures) is offloaded to local NVMe, with the inference engine prefetching based on access locality.
Capacity can be estimated roughly along these lines:
Required memory ≈ weight bytes + KV Cache + activations and temporary buffers + runtime overhead (20%~30%)KV Cache ≈ 2 × num_layers × num_KV_heads × head_dim × sequence_length × batch_size × bytes_per_precision
The 1M token context is the focus of stress testing: the KV Cache grows linearly with sequence length, and without paged management and prefix reuse, long-document scenarios hit the ceiling quickly. In testing, it is recommended to enable PagedAttention-style paging and prefix caching, and to route extra-long requests to a separate queue so they do not block short requests.
5. Performance Testing Method and Observability Metrics
Testing should proceed in layers: first calibrate a single-node baseline, then scale up to four nodes and observe the parallel-efficiency decay curve. Core metrics include:
- Throughput: input/output tokens per second, separating prefill from decode;
- Latency: TTFT (time to first token) and TPOT (time per output token), tracked at P50/P95/P99;
- Scaling efficiency: N-node throughput ÷ (N × single-node throughput);
- Resource utilization: memory usage, NVMe read bandwidth, and network RDMA retransmission rate.
The typical workload matrix should cover four scenarios: everyday Q&A (short input, short output, watch P95 latency), document processing (long input, watch prefill and KV pressure), complex reasoning (multi-turn long chains, watch stability), and coding/Agent tasks (tool-call intensive, watch concurrency and tail latency).
6. Measured Results and Tuning Priorities
On the four-node configuration, short Q&A is mainly constrained by decode bandwidth, and increasing batch concurrency significantly improves total throughput. For long documents, the bottleneck moves forward to prefill and the KV Cache, which must be eased with chunked prefill and sequence parallelism. Agent workloads generate bursts of many short requests due to tool calls, so request prioritization and rate limiting should be configured to keep tail latency from degrading.
A common tuning checklist:
- Match precision and parallel strategy: keep the model’s native mixed precision and avoid precision loss from a second round of quantization;
- Overlap communication and computation: raise micro-batch size and pipeline parallelism to hide AllReduce overhead;
- Storage tier hit rate: monitor NVMe read amplification; a low hit rate means the prefetch strategy needs adjustment;
- Service governance: use the model gateway for multi-model routing, canary releases, and quotas, with unified authentication and auditing.
7. Deployment Recommendations
If an enterprise plans to build a private inference platform on-premises, it can follow the order “capacity first, then parallelism, then tuning”: first compute memory and KV requirements from the target context length and concurrency, then decide how to split tensor parallelism and expert parallelism, and finally drive iteration with observability metrics. Baidu AI Cloud’s experience with common capabilities such as container platforms, object storage, logging services, and monitoring and alerting shows that bringing compute, model serving, and applications under unified management is an effective path to reducing the operational complexity of multi-node inference.
