Benchmarking a 4-Node GB10 Cluster for Local LLM Deployment

    This article examines how a 4-node desktop-class cluster with unified memory can run trillion-parameter MoE models locally. It covers the three-layer deployment architecture, mixed-precision and tiered storage strategies, a four-scenario performance testing framework with metric definitions, and practical tuning techniques for throughput and latency. Readers will learn how to evaluate whether a local cluster is the right choice based on data residency, predictable concurrency, and capacity-versus-latency trade-offs.

    1. Why Local Deployment of Massive MoE Models Suddenly Became Feasible

    Over the past two years, enterprise demand for on-premises LLM deployment has centered on three requirements: keeping data inside the internal network, predictable inference costs, and controllable latency. However, the real bottleneck has never been access to model weights—it is memory capacity and inter-node bandwidth. For a model built on a large-scale Mixture of Experts (MoE) architecture, even with a total parameter count in the hundreds of billions, the subset of experts activated per token remains limited. This means peak compute is no longer the only constraint; memory capacity and interconnect bandwidth become the deciding factors.

    Consider a desktop-form-factor multi-node unified memory system: 4 nodes, roughly 512GB of shared memory in total, an 80-core-class ARM CPU, up to 4 PFLOPS of sparse NVFP4 compute, 8TB of local NVMe, 200Gbps-class NICs per node, and 400G-class switch networking. The significance of this configuration is that it compresses models that would otherwise require rack-scale equipment into a power and size budget that fits on a desk. This article uses a common combination—“4-node cluster + 1M context MoE model + FP8/FP4 mixed precision + distributed inference engine”—as a sample to discuss engineering implementation and benchmarking methods.

    2. Deployment Architecture: Three-Layer Decoupling with a Hyper-Converged Approach

    The recommended approach is to split the system into three layers, decoupled through standard interfaces to allow independent evolution and fault isolation.

    1. Compute layer: N homogeneous nodes, each providing CPU, unified memory, NVMe, and a high-speed NIC. Homogeneity is a prerequisite for simplified scheduling; heterogeneous nodes degrade parallel partitioning strategies into a “weakest link” effect.
    2. Network layer: A switched star topology, with a single high-speed switch connecting all nodes and supporting RDMA/RoCE. Compared to point-to-point connections between nodes, a star topology offers simple cabling, a fixed hop count of 2, and no need for intermediate nodes to forward traffic. This is a hard requirement for the AllReduce/AllGather operations in tensor parallelism.
    3. Service layer: A unified model repository, inference engine, AI gateway, and application orchestration. The gateway handles authentication, rate limiting, routing, multi-model canary releases, and usage metering—the key to taking a local cluster from “it runs” to “operationally viable.”

    A schematic topology and parallel configuration (pseudocode, expressing partitioning logic only):

    1. # Logical view
    2. Client -> Gateway(auth/rate-limit/routing) -> InferenceEngine(TP=4, PP=1)
    3. |-- node0 (GPU0, memory shard 0)
    4. |-- node1 (GPU1, memory shard 1)
    5. |-- node2 (GPU2, memory shard 2)
    6. |-- node3 (GPU3, memory shard 3)
    7. \--> NVMe Tier(Engram/lookup data)
    8. # Startup parameters (illustrative)
    9. --tensor-parallel-size 4
    10. --dtype auto # native FP8/FP4 mixed precision path
    11. --max-model-len 1048576
    12. --enable-chunked-prefill
    13. --kv-cache-dtype fp8

    It is worth emphasizing that the tensor parallel degree is typically an integer multiple of the node/GPU count. Cross-node TP is extremely sensitive to network latency, so RDMA link health, consistent MTU, and correct PFC/ECN configuration must be ensured; otherwise, the typical phenomenon of “compute sitting idle waiting on the network” will occur.

    3. Model and Precision: Mixed Precision Plus Tiered Storage Offloading

    For a MoE model with a 1M context window, weights and KV Cache are two entirely different memory consumers. The more robust engineering approach is to tier them:

    • Hot tier (unified memory): Attention-related weights and the current session’s KV Cache, kept resident;
    • Warm tier (local NVMe): The lower-frequency portion of expert weights, plus lookup-style (Engram-type) structural data;
    • Cold tier (optional object storage): Historical model versions, evaluation sets, and archived logs.

    On the precision strategy, using native FP8 with FP4 on select layers can compress weight size to 1/2–1/4 of the original with almost no loss in usable quality. Note that mixed precision is not a case of “the more aggressive, the better”: normalization layers and output layers that are numerically sensitive should retain higher precision, otherwise quality collapse can occur under long contexts.

    4. Performance Benchmarking: Four Scenarios and Metric Definitions

    Benchmarking should not look at tokens/s alone. It is recommended to fix four scenarios and define metrics for each:

    Scenario Input Characteristics Core Metrics
    Everyday Q&A Short input, low concurrency TTFT, single-request latency
    Document processing Long input (tens of thousands to hundreds of thousands of tokens) Prefill throughput, memory peak
    Complex tasks Multi-turn + long output Output throughput, context stability
    Coding/Agent High-frequency short requests, tool calls P99 latency, concurrency capacity, error rate

    Key metric definitions: TTFT is time to first token, TPOT is time per output token, and end-to-end latency ≈ TTFT + output length × TPOT. During benchmarking, four curves should be collected simultaneously—node memory usage, NVMe read bandwidth, NIC throughput, and GPU utilization—to determine whether the bottleneck lies in compute, memory, or network.

    A reusable benchmarking loop:

    1. # Pseudocode: stepped concurrency benchmark
    2. for conc in [1, 4, 8, 16, 32]:
    3. metrics = run_bench(prompts=dataset, concurrency=conc,
    4. max_tokens=512, measure=["ttft","tpot","err_rate"])
    5. record(conc, metrics) # the P99 degradation inflection point is the recommended concurrency ceiling

    5. Observed Performance and Tuning Essentials

    On a configuration of 4 nodes, 512GB unified memory, and 400G switched networking, the time to first token for short Q&A is typically sub-second. The Prefill phase for long documents is the main source of latency and can be significantly improved via chunked prefill and KV Cache quantization. For high-concurrency coding requests, the bottleneck often falls on scheduling and P99 jitter, requiring limits on maximum output length per request and a request queue cap.

    Four proven tuning techniques:

    1. Enable chunked prefill to prevent long requests from blocking short ones;
    2. Use low-precision KV Cache representation to enable larger concurrency batches;
    3. Offload lookup-style data to NVMe to free memory for inference;
    4. Apply model-tier routing at the gateway layer, sending simple requests to smaller-parameter models.

    6. Selection Conclusion

    To decide whether this kind of local cluster is needed, just answer three questions: must the data stay inside the internal network, is peak concurrency predictable, and is the “capacity-for-latency” trade-off acceptable? If all three are yes, a multi-node unified memory system + high-speed switched networking + tiered storage is the most pragmatic private inference path today; otherwise, elastic cloud inference remains the more economical choice.