Local Deployment of Large Language Models on a 4-Node GB10 Cluster: Benchmark Results

    This article reports on a hands-on benchmark of running large language models on a local cluster built from four desktop-class GB10 compute nodes. It breaks down the reference architecture, covering hardware and RDMA interconnect topology as well as a four-layer software stack, then walks through key deployment engineering points such as mixed-precision weights, layered loading with NVMe offload, and the real cost of million-token context windows. It also defines the metrics that matter beyond tokens/s, summarizes behavior across common workloads, outlines a practical bottleneck troubleshooting order, and offers selection guidance for teams weighing local inference for compliance-sensitive, hundred-billion-parameter MoE models.

    1. Why Local Multi-Node Clusters Matter for LLM Deployment

    The priority in private LLM deployment is shifting from “can it run at all” to “can it run business workloads reliably.” Three factors—keeping data within your own perimeter, controlling the inference path end to end, and making per-call cost predictable—are pushing more enterprises to bring inference workloads back into their own data centers. A single node is constrained by memory capacity and bandwidth ceilings. When facing models with hundreds of billions of parameters, especially those built on a Mixture-of-Experts (MoE) architecture, a single machine often can only stay runnable through heavy offloading, at the cost of severe latency jitter.

    This is where multi-node clusters add value: multiple nodes with high-bandwidth unified memory are connected over a high-speed switching network into a logically continuous compute pool, so model weights can be spread out rather than crammed into one machine. This article uses a cluster of four desktop-class compute nodes as the test bed to discuss how this architecture is implemented in engineering practice and how it behaves under real business loads.

    2. Reference Deployment Architecture

    2.1 Hardware and Interconnect Topology

    The test environment consists of four compute nodes and one high-speed switch. Each node integrates a multi-core processor and a new-generation GPU architecture. Across the four nodes, aggregate shared memory reaches the 512GB level, theoretical peak compute is in the PFLOPS range (measured by low-precision sparse throughput), local storage is an 8TB-class NVMe SSD, and each node has a single-port 200Gbps-class NIC. Inter-node traffic is carried by 400G-class switching equipment handling RDMA.

    For the topology, a non-blocking single-tier fat-tree is recommended, with an identical number of uplinks per node to avoid a “slow path” where a node has to communicate across multiple hops. One detail that is easy to overlook: the bottleneck in multi-node inference is usually not compute but the efficiency of collective communication such as AllReduce and AllGather. When switch buffers are insufficient or flow control is misconfigured, it shows up as normal throughput but abnormal time-to-first-token (TTFT) on long inputs.

    2.2 Software Stack Layers

    From the bottom up, the stack divides into four layers:

    • Resource layer: unified memory management plus local NVMe, forming a tiered storage pool;
    • Orchestration layer: containerized packaging of the inference runtime, with unified management of model versions and service instances;
    • Service layer: a high-throughput inference engine responsible for batch scheduling, KV Cache management, and tensor parallelism;
    • Gateway layer: a unified entry point handling authentication, rate limiting, routing, canary release, and usage metering.

    This “hyper-converged-like” organization essentially converges compute, model serving, and upper-layer applications onto a single operations plane, reducing configuration drift across multiple systems.

    3. Key Engineering Points for Model Deployment

    3.1 Precision Choice: Mixed Precision as a Trade-off Between Capacity and Quality

    The tested model uses mixed-precision weights in FP8 and FP4. Low precision is not applied uniformly: sensitive layers such as attention and normalization typically retain higher precision, while the largest components, such as expert matrices, use lower bit widths. In practice, you need to confirm whether the inference engine truly supports per-layer precision mapping; otherwise the nominal precision and actual memory footprint will not match.

    3.2 Layered Loading: Moving Lookup Data Out of Memory

    The memory pressure of an MoE model comes not only from weights but also from additional lookup structures. A workable strategy is to keep weights evenly split across nodes and resident in unified memory, offload lookup data to local NVMe, and read it on demand only on a cache hit. Illustrative startup parameter logic is shown below (pseudocode, expressing configuration intent only):

    1. parallel = { strategy: "tensor", world_size: 4, backend: "rdma" }
    2. kv_cache = { dtype: "bfloat16", max_seq_len: 1048576, block_size: 16 }
    3. offload = { target: "nvme", path: "/data/mmap", pin_memory: true }
    4. scheduler = { max_num_seqs: 64, chunked_prefill: true }

    Here, chunked_prefill splits the prefill of an extra-long prompt into chunks and interleaves it with the decode phase, preventing a long request from blocking the entire queue.

    3.3 The Real Cost of Context Windows

    A million-token context is a capability ceiling, not an everyday configuration. KV Cache grows linearly with sequence length, so running at full window with concurrency quickly turns memory into a hard constraint. The practical recommendation is to make context length a configurable tier and expose it according to business tiers.

    4. Benchmark Methodology and Scenario-Based Results

    4.1 Metric Definitions

    Do not look only at “tokens/s.” Distinguish at least four metrics: time to first token (TTFT), per-request output rate (TPOT), total system throughput, and performance degradation under long context.

    4.2 Scenario-Based Conclusions

    • Everyday Q&A: short input and short output; the bottleneck is scheduling and batching; the cluster sustains high concurrency with stable TTFT;
    • Document processing: long input and short output, a typical prefill-intensive case; TTFT rises noticeably with input length, and chunked prefill delivers the largest gains;
    • Complex reasoning: long output with multi-turn chains; TPOT and KV Cache capacity set the experience ceiling;
    • Coding and agent tasks: fragmented requests and frequent tool calls; routing and rate limiting at the gateway matter more than peak compute.

    4.3 Common Bottleneck Troubleshooting Order

    A recommended order is “network → memory → precision → batch strategy”: first confirm the RDMA links have no packet loss or link degradation, then check memory watermarks and offload hit rate, then verify the actual precision mapping, and finally tune max_num_seqs and the batch window size.

    5. Selection Guidance

    A four-node desktop-class cluster suits scenarios with moderate concurrency, sensitivity to data compliance, and model specs in the hundred-billion-parameter MoE range. If concurrency demands exceed hundreds of streams, or you need multiple models served in parallel, prioritize a solution with higher memory capacity and more complete interconnect bandwidth, backed by monitoring, alerting, and logging services to establish a capacity baseline. The overall criterion is simple: whether you can push both TTFT and TPOT into a business-acceptable range under the target concurrency, rather than looking at peak compute numbers alone.