The model inside the server: Network design for inference on a few GPU nodes Running a Llama 3.3 70B model on 4 servers × 8 GPUs with vLLM for internal applications makes session count, not bandwidth, the network bottleneck, according to an analysis of small-scale inference network design. The 141 GB model file is split across the GPUs within each server, so GPU-to-GPU traffic stays on NVLink or PCIe inside the chassis; only front-end HTTPS streams cross the NIC, at roughly 300 bytes per message and 120 kbit/s per stream, or 120 Mbit/s for a thousand streams. The analysis notes each open stream holds 1 to 10 GB of GPU memory for as long as it runs, and that vLLM recommends pipeline parallelism over tensor parallelism for cards without NVLink, such as the L40S. Artificial Intelligence AI has become increasingly pervasive in the data centre. While many documented architectures cover large-scale inference and training, there is something to be said for what happens when you need only a few Graphics Processing Unit GPU nodes. This smaller scale can be the right fit when each request is served by one replica, the user count is internal, and the priority is latency or privacy rather than training throughput. A few examples of when a few nodes are enough there are others beyond these three : 1. Internal Knowledge Assistant/KB article — Can easily be used by tens to a few hundred employees, with long prompts and low concurrency. Think about a model with about 8B to 14B parameters. The search index does most of the work, and the model writes the answer. 2. Coding help for a private codebase. Usually leveraged by one engineering group with tens to a few hundred developers. 7B to 14B model for line completion, and a 32B model if they want a chat window over a repository. Chat is a handful of long requests, not a crowd. 3. Staff chatbot. One function, such as IT, HR, or a service desk. Hundreds of staff, tens active at peak. Use an 8B to 32B model if it answers from an internal knowledge base. Use a 70B model only for messy, multi-step questions. Now, this is where designing for some of these models gets tricky. The network problem is not how the GPUs talk to each other. It is how requests, long-lived streams, and occasional bulk transfers behave on the network that’s already in place. Consider a basic setup of 4 servers × 8 GPUs, running a Llama 3.3 70B model with vLLM https://vllm.ai/ for an internal application like those described above. The model file is about 141 GB, too large for a single 48 GB or 80 GB GPU, so each server spreads that file across the GPUs in its own chassis. One server holds the whole model and can answer a request without help from the others. GPUs in the same server talk over NVLink or Peripheral Component Interconnect Express PCIe , and none of that traffic needs to leave the chassis. What crosses a Network Interface Card NIC is ordinary traffic. Requests come in, and token streams go out. Weights and container images move when a node is built, a process starts cold, or a model version changes. Metrics, logs, and the Baseboard Management Controller BMC talk to systems that are already present in the infrastructure. Traffic that never leaves the chassis What happens when a model is too large for one GPU? This one’s easy — it gets split across the GPUs in the same server. vLLM, a widely used open-source inference server, documents two ways to do that: Option 1: Tensor parallelism - Every GPU holds a slice of every layer, so the GPUs exchange partial results at every layer for every token. - That volume of exchange is what NVLink exists for. With NVLink, the GPUs behave close to one large GPU. - Without NVLink, the same exchanges go over PCIe, and the link becomes the bottleneck. Option 2: Pipeline parallelism - Each GPU holds a block of whole layers, so data crosses between GPUs only at the handoff from one block to the next. - That is a handful of transfers per token, which PCIe handles without trouble. - vLLM recommends this option for cards without NVLink, such as the L40S, because it gives higher throughput with less communication overhead on those cards. But this is all local to the server. What actually leaves your NIC is the front-end flow, where the application sends a prompt and the server responds over Hypertext Transfer Protocol Secure HTTPS . For a chatbot, think about the answers being streamed back to the client. That stream is tiny. At about 300 bytes per message and 50 messages a second, one stream is 120 kbit/s, and a thousand of them is 120 Mbit/s. Bandwidth at this stage is not the problem; session count is. Every open stream holds GPU memory for as long as it runs, between 1 and 10 GB depending on the length of the conversation. A server has a few hundred GBs to spare after loading the model, so it carries tens to a few hundred streams at once and no more. The next problem will be to size the proxy, the firewall state table, and the timeouts for that number. Order hardware now or hold for the expansion? If you’re only going to be operating a few GPU nodes for the foreseeable future, large AI cluster reference designs simply don’t make sense. The traffic isn’t there to justify the investment. However, there is every reason to believe these deployments will scale. So how do you design for what you need today while leaving room to grow, without burning through the budget? Then there’s the backend fabric. Once a model can no longer fit on one server, or you start doing things like fine-tuning, GPUs across different servers need to exchange data. A training cluster gives you a second, dedicated network for that traffic. That network comes with its own NICs and network gear, ideally running Remote Direct Memory Access RDMA so the adapters can read and write GPU memory directly. For pure inference, though, you might not need it. Build this too early, and you risk paying for switches and optics that carry very little traffic. You also take on the operational complexity of running RDMA over Converged Ethernet RoCEv2 , including managing queues, Priority Flow Control PFC , and Explicit Congestion Notification ECN . The 400G ports go with the fabric, because east-west traffic is what they are built for. Without it, the network carries a response stream of about 120 kbit/s and a model load of 141 GB per server, which takes 45 seconds at 25 Gigabit Ethernet GbE line rate and happens only at install and on a version change. All of this quickly turns expensive. Server ports are rarely the problem. At 10 GbE, a 141 GB model loads in about two minutes at line rate. At 1 GbE it takes 19 minutes, which is too slow, and that’s really when you want to consider upgrading most of your data centre fabric. But in most cases, it’s the uplinks that will provide the biggest challenges — a model transfer tends to go through the same uplink. On a Top-of-Rack ToR switch with 10 GbE uplinks, one transfer can fill an uplink for as long as it runs, and it delays all other traffic in the rack that uses that uplink. Before deciding that nothing needs buying, check three things: - Uplink speed and current use — in addition to that, investigate the oversubscription ratio on the ToR. - Quality of Service QoS support at the access and uplink layer. You want to ensure Differentiated Services Code Point DSCP or Class of Service CoS support and potentially a dedicated egress queue. - Port capacity. What to do instead — an architecture that works today Assuming the investment in the fabric is held back at this time, each server connects to the network that is already in place and existing top-of-rack pairs. The image above shows the whole design. The four GPU servers are the only new hardware, or potentially a small expansion from an existing GPU cluster. These attach to a leaf pair in the existing spine-and-leaf fabric. The reverse proxies and the model store sit on another leaf pair in some designs this is called a Service leaf, although other designs no longer follow this advisory . The idea is that traffic between the GPU servers and the rest of the network is likely to pass through the spines. A few other things to consider: 1. Server connectivity — Each server is dual-homed to the GPU leaf pair using a two-member Link Aggregation Group LAG , typically negotiated with Link Aggregation Control Protocol LACP . Leverage 10 or 25 GbE links to each leaf, so one leaf failure or upgrade does not impact the cluster. If you’re using Ethernet Virtual Private Network EVPN , Ethernet Segment Identifier Link Aggregation Group ESI-LAG is the way to go. Cisco Virtual Port Channel vPC or other similar technologies also fit the bill. 2. The frontend segment — This segment is designed to carry the inference Application Programming Interface API traffic between the reverse proxies and the servers. It is low-bandwidth and delay-sensitive. The API port must be reachable only from the proxies: Use a dedicated Virtual Routing and Forwarding VRF , or a Virtual Local Area Network VLAN or VXLAN Network Identifier VNI in an existing VRF. This is also when we start introducing QoS. Ideally, you would mark the traffic with DSCP and map it to a priority queue on every hop. Important note on Maximum Transmission Unit MTU — jumbo frames are encouraged, but for compatibility reasons, use the existing fabric MTU. 3. The storage segment — This carries model files and container images from the model store. It is infrequent and bulk; a transfer uses all the bandwidth available, and it crosses the same uplinks as the API traffic. From a QoS perspective, it’s best in the scavenger class, with a rate limit at the source, and isolate it the same way as the front end. Especially for this segment, enforce the use of jumbo frames end to end, including the Virtual Extensible LAN VXLAN overhead in the underlay. 4. Reverse proxy pair. The front-end traffic is HTTP, but it does not have the shape of the HTTP traffic that you’re used to. While web applications usually return a quick response in one go, a model starts late, goes quiet and then produces a few hundred bytes at a time for minutes. Requests differ in cost by orders of magnitude, and many of them can share one long-lived HTTP/2 connection. Equal-Cost Multi-Path ECMP or a Layer 4 load balancer will struggle, because both place connections and see nothing of the requests inside them. That is why a reverse proxy pair sits in front of the servers. The return of the reverse proxy Much like QoS, reverse proxies were still in high demand in data centres but only in specific use cases. In the context of AI and HTTP traffic, there are a few key settings to keep in mind and tune depending on your choice of reverse proxy — below you can see it in the context of nginx : 1. Buffering. A recommendation is to turn response buffering off, or the user receives text in clumps. In nginx, proxy buffering is on by default. 2. Idle timers. nginx closes a connection after 60 seconds without a read from the server, and stateful firewalls and Network Address Translation NAT devices on the path have idle timers too. Set all of them to the longest silence you accept. 3. Balancing. Balance per request, with least connections in place of round robin, since one request can cost a hundred times the next. 4. Affinity. Each server caches its work on a conversation, and a conversation that moves servers is recomputed from the start. Use a consistent hash on a session identifier. 5. Health checks. A server is ready when the model is loaded, not when the port opens. On vLLM, probe /v1/models ; /health is documented by the llm-d project as a process check. Outside of all these items, there are still some other typical considerations: Firewalling traffic, Internet access and designing and adjusting your failure domains in line with the rest of your data centre design. Model loading Loading the model is the only time these servers move a large amount of data. At line rate, with no protocol or storage overhead, 141 GB takes about 19 minutes at 1 GbE, 113 seconds at 10 GbE, and 45 seconds at 25 GbE. The following three steps make model loading a bit easier on the infrastructure: - Fetch the weights from the Internet once, into a store on your own network. Keep the container images in the same store. - Keep a copy on local Non-Volatile Memory Express NVMe in each server, so that a process restart reads from disk and does not need to go over the network again. - Roll out a new model version one server at a time. Serving capacity will force you to anyway, and it limits the transfer to reasonable throughputs. With a local copy on each server, the model files cross the network only at first install and when the model version changes. At line rate, that transfer takes 45 seconds over 25 GbE and about two minutes over 10 GbE, so either port speed is sufficient. The return of Quality of Service Nobody’s best friend — QoS in the data centre makes a necessary comeback. Inference API traffic and model transfers use the same leaf uplinks and spine ports. A model transfer is a bulk flow that takes all the bandwidth on its path. API responses are a few hundred bytes at a time, and any queueing delay appears on the user’s screen as text that stalls. Without a QoS policy, both sit in the default queue, and the responses wait behind the transfer. The solution is two traffic classes: One that protects the API traffic and one that deprioritizes model transfers. This is ordinary Differentiated Services DiffServ on a lossy fabric. The lossless configuration that RDMA requires, PFC and ECN, is not part of it, because this design carries no RDMA traffic. - Classification and marking. Classify at the ingress leaf, by segment or by Access Control List ACL , and set DSCP there. Trust markings from the servers and the model store only if you control those hosts. Put the front-end traffic in a class the fabric already uses for interactive traffic, and the storage traffic in a scavenger class such as CS1 or Lower-Effort Per-Hop Behavior LE PHB . On a VXLAN fabric, confirm that the inner DSCP is copied to the outer header at encapsulation. If it is not, the spines see every packet as default class. - Queueing. Apply the queueing policy on the shared links: leaf uplinks and spine ports. Give the front-end class a queue with a guaranteed minimum, or strict priority with a rate cap. It needs little bandwidth, since a thousand streams come to about 120 Mbit/s. Keep it out of the queue that carries network control. Give the scavenger class the lowest weight. - Rate limiting. Limit model transfers at the source, with a shaper on the model store where one is available. A shaper holds a Transmission Control Protocol TCP flow at a steady rate, while a policer makes it oscillate. Keep a policer for the scavenger class on the leaf as the backstop, so that a rollout cannot fill an uplink even if the source limit is missing. When this design stops working Everything above rests on one condition: the model fits in one server, so no GPU exchanges data with a GPU in another chassis. While that is passable in the infrastructure, the work is configuration on a fabric that already exists. Two events will bring about a bigger change in the design. The first is when a model outgrows one server. vLLM then runs across servers, and its documentation recommends InfiniBand-class adapters for the traffic between them, while warning that this traffic is unencrypted and can be exploited to run code. The second is when fine-tuning starts and spans more than one server. There is also another case: splitting a single request across servers. vLLM has an experimental mode that passes cached state from one instance to another, moving GPU data over the network even when the model itself fits on one server. Ultimately, these deployments are likely to scale up and out. But for some infrastructures, that could still be 3 to 5 years away, if not longer. Sabina Anja is Chief Technologist at Broadcom, with 20 years of experience in ASIC design, distributed systems, and cloud infrastructure. She focuses on sovereign cloud platforms, digital infrastructure resilience, and AI-ready architectures that support security, sovereignty, and long-term operational control. The views expressed by the authors of this blog are their own and do not necessarily reflect the views of APNIC. Please note a Code of Conduct https://blog.apnic.net/?p=395 applies to this blog.