Local Deployment of Large Models on a Four-Node GB10-Class Cluster: Benchmarking and Tuning

    This article examines how to deploy and stress-test a large MoE model with million-token context support on a local four-node high-memory compute cluster. It covers a reproducible reference topology, the key constraints of capacity tiering, communication overhead and parallelism partitioning, a four-part benchmarking methodology, observed performance and a practical tuning checklist, plus selection guidance for small teams with data-sensitive workloads.

    1. Why Local Multi-Node Clusters Are a Practical Option for Private LLM Deployment

    The core tension in private large model deployment has long been between insufficient GPU memory capacity and the requirement that data never leaves the premises. Traditional approaches either rely on high-density accelerator servers, which carry a high entry cost, or place inference in the public cloud, which struggles to meet compliance and data sovereignty requirements. The desktop-class and edge-class high-memory compute nodes that have appeared over the past two years combine large unified memory with relatively high low-precision compute in a compact chassis. This makes it feasible to build a cluster from several small nodes and run large models inside a server room or lab.

    This article uses a typical topology of four high-memory compute nodes plus one high-speed switch as a sample, and discusses how to deploy and stress-test a large-scale Mixture-of-Experts (MoE) model that supports a million-level context window locally. No specific vendor models are involved; configuration parameters are drawn from the publicly available general specification ranges for this class of device, and are used to illustrate resource planning methods.

    2. Reference Hardware and Network Topology

    A reproducible reference configuration is as follows:

    • Compute nodes: 4 units, each integrating a 20-core-class ARM CPU and a Blackwell-architecture GPU, with 128GB-class LPDDR5X unified memory per node, for roughly 512GB of shared memory pool across the four nodes
    • Theoretical compute: about 1 PFLOPS-class NVFP4 sparse compute per node, on the order of 4 PFLOPS for the cluster
    • Local storage: 2TB NVMe SSD per node, 8TB in total, used for tiered offloading of weights and lookup data
    • Network: dual-port 200Gbps-class RDMA NICs per node, forming a star topology through one 400G-class switch, supporting RoCE
    • Software stack: a containerized inference engine (typically a vLLM-class implementation supporting tensor parallelism and paged attention caching) plus a unified model gateway and a management panel

    For topology selection, a switched star structure has clear engineering advantages over pairwise direct connections between nodes: cabling drops from O(n²) to O(n), a failure in any single node does not sever the links of the remaining nodes, and scaling out only requires adding ports and nodes. The cost is that it places demands on switch backplane bandwidth and on PFC/ECN flow control configuration. If a lossless RoCE network is configured improperly, packet loss and retransmission can cause throughput to collapse.

    3. Key Deployment Constraints: Capacity, Bandwidth and Parallelism Partitioning

    Models of this class are typically non-dense MoE structures, with weights released in mixed FP8 and FP4 precision, plus a larger lookup-style memory structure (known in the industry as an Engram-class structure). The real difficulty in deployment is not “fitting it in,” but three things:

    1. Capacity tiering. Partition the resident weights across each node’s unified memory, and place the large but infrequently accessed lookup data on NVMe, paging it in on demand when memory runs short. This frees up 20%~30% of memory for the KV Cache, which directly determines the concurrency ceiling.
    2. Communication overhead. Tensor parallelism (TP) performs an AllReduce at every layer, and the All-to-All of expert parallelism (EP) is even more bandwidth-hungry. In a four-node setup, TP should be confined within a single node (using high inter-chip/intra-memory bandwidth), with pipeline parallelism (PP) or expert parallelism across nodes, avoiding stretching TP across machines.
    3. Context expansion. A 1M context is a theoretical limit; actual KV Cache usage grows linearly with the number of rows, so paged caching, prefix reuse and KV quantization are required to compress it.

    A typical startup configuration approach (illustrative, not a specific product command):

    1. # Keep tensor parallelism within the node; use pipeline parallelism across nodes
    2. python -m vllm.entrypoints.openai.api_server \
    3. --model /models/large-moe-fp8 \
    4. --tensor-parallel-size 4 \
    5. --pipeline-parallel-size 4 \
    6. --max-model-len 262144 \
    7. --gpu-memory-utilization 0.88 \
    8. --kv-cache-dtype fp8 \
    9. --enable-prefix-caching \
    10. --swap-space 16

    4. Benchmarking Method and Metrics to Observe

    Effective benchmarking must separate two goals: single-request latency and cluster throughput. Four groups of test cases are recommended:

    • Everyday Q&A: 500 input tokens and 300 output tokens, at concurrency of 1/8/32, observing time to first token (TTFT) and end-to-end latency
    • Long document processing: 32K~128K input tokens and 1K output, focusing on prefill phase time and peak memory usage
    • Complex tasks/agents: multi-turn tool calls with interleaved input and output, focusing on prefix cache hit rate and scheduling fairness
    • AI coding: repository-level completion over long context, focusing on output throughput (tokens/s) and interruption recovery

    For observation, four categories of data must be collected at the same time: GPU/memory utilization, RDMA NIC bandwidth and retransmission counts, NVMe read IOPS, and the inference engine’s queue depth and cache hit rate. In practice, the bottleneck for long-text scenarios is memory bandwidth and the KV Cache; for high-concurrency short text it is scheduling and communication; once NVMe read IOPS are saturated, it means lookup data is being paged in too frequently and the resident/offload ratio needs adjustment.

    5. Measured Performance and Tuning Checklist

    On a cluster of this scale, prefill for contexts in the hundreds of thousands can be kept to seconds up to tens of seconds, and output speed at low-to-medium concurrency is sufficient for interactive use. Once the context is pushed to the million level, TTFT rises significantly, making it better suited to offline batch processing than real-time conversation. Actionable tuning steps include:

    1. Keep TP within a single machine and use PP/EP across machines; in testing this is usually more stable than full cross-machine TP.
    2. Enable prefix caching, which yields the greatest benefit in multi-turn and code completion scenarios.
    3. Quantize the KV Cache and cap the maximum length per request to prevent individual long requests from dragging down the whole system.
    4. Configure PFC and ECN on the switch side, monitor retransmissions, and guarantee a lossless RoCE network.
    5. Use a unified gateway for multi-model routing, offloading lightweight requests to smaller models to reduce cluster load.

    6. Selection Guidance

    A four-node high-memory cluster suits private inference, R&D testing and data-sensitive scenarios for teams of up to 50 people. Its advantages are controllable investment, flexible deployment and fully local data; its limitation is that extreme throughput and very large-scale concurrency still fall short of high-density accelerator clusters. If an organization already has a container platform, object storage and a monitoring and alerting system, the cluster can be brought under unified management as part of a compute pool, achieving elastic scheduling of model services and a closed observability loop.