Four-Node On-Premises Cluster for Large MoE Model Deployment: Benchmarks and Selection Considerations

    This article examines a four-node on-premises cluster design for serving a large MoE model. It covers unified memory and NVMe capacity planning, RDMA-based networking, vLLM deployment with tiered weight storage and KV cache management, workload benchmark interpretation, risks such as SSD wear and node failures, and pre-purchase validation. Readers will learn how to verify hardware specifications, interpret benchmark results critically, and run a business-specific PoC before choosing a cluster size.

    Four-Node On-Premises Cluster for Large MoE Model Deployment: Benchmarks and Selection Considerations

    1. Why Enterprises Consider On-Premises Deployment

    More enterprises are using generative AI for office work, R&D, and production tasks. Public cloud APIs are simple to deploy, but enterprise data must be sent outside the premises, network latency can be unstable, and long-term usage costs can be high. For sensitive data such as contracts, source code, and customer records, many enterprises want models to run in their own data centers.

    On-premises deployment is not simply a matter of placing model weights on a server. In practice, three types of issues usually arise.

    The first is GPU memory and system memory capacity. Models based on a mixture-of-experts (MoE) architecture can have hundreds of billions of parameters, and weight files often exceed 1 TB. Even if only a subset of experts is activated during each inference, all weights still need to be stored in accessible storage. A single conventional GPU usually cannot hold them.

    The second is multi-node communication. When a model is distributed across multiple servers, nodes must exchange data frequently. In expert parallelism, every generated token may trigger cross-node data exchange. If communication latency and bandwidth are insufficient, compute resources end up waiting for data.

    The third is the trade-off between precision and throughput. Quantization can reduce memory usage and improve throughput, but the accuracy loss must be confirmed through business testing. Overly aggressive scheduling parameters can also noticeably worsen response times for long requests.

    To address these issues, a common industry approach is to build a small cluster from a few nodes and rely on high-speed interconnect and large unified memory to host large models. The design discussed in this article follows this approach. It does not rely on data-center-grade specialized accelerator cards. Instead, it uses multiple integrated processor servers connected by a high-speed network to form an inference cluster.

    2. Hardware and Networking: Verify Capacity Specifications First

    The base hardware consists of four compute nodes and one high-speed switch. Each node uses an integrated processor that combines a multi-core ARM CPU and a GPU module on the same chip, with unified memory allowing both to share the same physical memory. Each node is equipped with NVMe SSDs for storing model weights and cached data.

    Capacity figures are one of the easiest places to make mistakes during selection. If each node is planned with 128 GB of unified memory, four nodes provide a total memory pool of 512 GB. If the purchased configuration is 256 GB per node, four nodes provide 1,024 GB. These two configurations lead to very different judgments about the model scale that can be supported. Before purchasing, buyers must rely on the actual configuration sheet provided by the vendor and verify every number in the table.

    For networking, each node provides a 200 Gbps high-speed network interface. A 400G-class switch connects the nodes in a fully interconnected Fat-Tree topology. Nodes use RDMA (Remote Direct Memory Access) to transfer data, allowing data to pass directly between nodes without going through the operating system kernel. This is especially important for expert parallelism, because when expert modules are distributed across different nodes, cross-node data exchange is frequent.

    Note that a switch’s nominal bandwidth does not equal actual usable bandwidth. During deployment, measure real throughput between nodes, latency jitter, and switch port utilization, and record the RDMA protocol version and congestion control configuration. These data points show whether the network is truly the bottleneck.

    The inference engine uses the mainstream open-source framework vLLM. For production deployment, pin the specific version and patch version, and record the corresponding dependency environment. Otherwise, the same test results will be difficult for others to reproduce.

    3. Model Deployment: Tiered Storage and KV Cache

    The test used a very large MoE model. Because the original test report did not disclose the model’s full name and version, this article does not cite a specific model. When evaluating such a design, readers should obtain the total parameter count, activated parameter count per inference, weight precision, and weight size from the model publisher’s documentation. These details determine the required memory and storage capacity.

    The deployment follows a “unified memory plus SSD tiered storage” approach, mainly divided into three parts.

    First, frequently used weights remain resident in memory. Shared experts and attention-layer weights are called frequently, so they are suitable for unified memory and should be distributed as evenly as possible across the four nodes. The advantage of unified memory is that the CPU and GPU do not need to explicitly copy data between two memory spaces, which shortens model loading and initialization time.

    Second, low-frequency experts are read on demand. The many fine-grained expert weights that are called less often can be stored on NVMe SSDs. The inference engine determines which experts to read based on the routing result for each token and uses prefetching to load them ahead of time. This approach can expand usable model capacity, but read latency is higher than memory access and SSD read/write volume increases.

    Third, KV cache is managed in blocks. The KV cache stores attention intermediate results for historical tokens, and its footprint grows with context length. vLLM uses PagedAttention to divide the KV cache into fixed-size blocks, reducing memory fragmentation. In this design, KV cache swapping in and out mainly relies on the memory hierarchy management already supported by the engine. Using SSDs as a second-level KV cache usually requires additional development or customization, and read/write latency and endurance must be evaluated separately.

    Core deployment parameters include the model name, tensor parallelism scale, maximum context length, GPU memory utilization cap, prefix caching toggle, and scheduling steps. The tensor parallelism scale is set to 4, meaning the model’s tensors are split across four nodes. This configuration significantly increases inter-node communication, so network measurement results directly affect whether the configuration is reasonable. If the design also uses expert parallelism or data parallelism, the documentation should clearly distinguish them to avoid misleading readers about the parallel strategy.

    4. Workload Testing: How to Interpret Benchmark Results

    The original tests covered three types of workloads: high-frequency interactive Q&A, large-scale document processing, and intelligent coding assistance. Each workload used matching input lengths, output lengths, and concurrency levels.

    The interactive Q&A workload simulates customer service and knowledge-base retrieval. Each input was about 500 tokens, each output about 200 tokens, and concurrency levels were set to 8, 16, 32, and 64. The results showed that throughput rose as concurrency increased and then leveled off, while time to first token increased with concurrency. This suggests that in the medium-concurrency range, the system’s batching capability can improve utilization effectively, but as concurrency continues to rise, user waiting time increases.

    The document processing workload simulates contract review and research report interpretation. Each input was about 8,000 tokens, each output was at least 1,500 tokens, and 32 tasks were submitted at the same time. In the original test, about two hours of continuous operation produced no out-of-memory errors or inference interruptions, and per-document processing time remained in a similar range. This result indicates a degree of long-running stability, but ambient temperature, node status, and task distribution during the test can affect the conclusion, so it cannot be directly generalized to all scenarios.

    The coding and agent workload included code completion, repository-level code Q&A, and multi-step tasks such as “fix a bug and add unit tests.” Repository-level Q&A used about 12,000 input tokens and about 3,000 output tokens. In multi-turn agent tasks, overhead such as context switching accounted for a limited share of total time. This type of workload places the highest demands on GPU memory and context management, and it best exposes the real behavior of long-context processing.

    When reading these results, readers should pay attention to the following: how the test’s concurrency model was designed; whether throughput counts input plus output or only output; whether time to first token is an average or a percentile; how long the test ran; and whether a warm-up phase was included. If a report lacks this information, the numbers can only indicate trends and cannot be used directly for capacity planning.

    5. Risks and Limitations

    This design has several risks that should be evaluated in advance.

    First, SSD offloading brings endurance and latency jitter issues. Frequent reads of expert weights increase the read load on SSDs, while large volumes of writes, such as cache eviction, accelerate wear. Before deployment, confirm the drive’s endurance rating and monitor write volume and tail latency.

    Second, a single-node failure or frequency reduction can affect overall performance. The original test noted that overall throughput declined when a single node was throttled due to rising temperature. In multi-node tensor parallelism, however, an abnormality on any node can interrupt the entire inference task. Teams therefore need failure degradation and restart plans rather than assuming the cluster will always run normally.

    Third, power, cooling, and data center conditions are hard constraints. When multiple high-performance servers run at the same time, power consumption and heat output are significant. Whether an ordinary data center can support them depends on power capacity, cooling capacity, and rack space. These conditions should be confirmed by data center operations staff before purchase.

    Fourth, the conclusions have a limited scope. The tests targeted a specific model, a specific engine version, and a specific workload. If an enterprise needs to deploy a dense model or a model with another architecture, the effects of dynamic batching and memory allocation may differ and must be validated separately.

    6. Selection Recommendations and Pre-Launch Validation

    The number of nodes should be determined by actual concurrency requirements. If the main use is internal office assistance, with a small number of users and low concurrency, a single-node or two-node cluster may be sufficient. If the service will be offered to external users and short response times must be maintained at higher concurrency, starting with four nodes is more prudent. The final count should be based on the business’s own peak concurrency and response-time requirements.

    Before purchasing, complete a one-week proof of concept (PoC). Use the enterprise’s own business data and prompt set rather than a generic test set. Focus on the following:

    1. Tail latency, meaning response times at the 95th and 99th percentiles, not just the average.
    2. Memory fragmentation and GPU memory usage trends after long-running operation.
    3. SSD read/write volume and temperature changes.
    4. Service recovery when a single node fails.
    5. Model output quality, especially performance on business samples after quantization.

    Common questions can also be confirmed during validation. The difference between a single node and four nodes is mainly the supported concurrency and model scale, not the speed of a single request. Long-context GPU memory requirements can be estimated from context length, layer count, attention head configuration, and cache precision, with specific values taken from the model configuration file. The main risks of SSD offloading include endurance consumption, higher tail latency, and longer failure recovery time, and these should be listed separately in the design evaluation.

    Overall, this four-node design demonstrates that a medium-scale cluster can host inference services for a large MoE model. However, its capacity, performance, and stability depend on the specific configuration and operating conditions. Before purchasing, enterprises should base their decisions on actual configurations, reproducible tests, and validation results from their own business workloads.