← All guides

This guide applies to small data centers (tens to hundreds of racks) offering AI inference hosting, including light fine-tuning. It reaches three conclusions: first, at up to about 128 GPUs, well-tuned RoCEv2 lossless Ethernet is the cost-optimal choice; second, four traffic classes must be separated; third, per-row power and cooling must be accounted for before signing a customer.

1. Scope and prerequisites

Scope: small data centers (tens to hundreds of racks); workload: AI inference hosting, including light fine-tuning.

Out of scope: large multi-node training clusters; fabric selection for training requires separate evaluation.

Prerequisites: an operations team capable of tuning Ethernet; per-row electrical and cooling accounting data for the facility.

2. Design principles

  • Ethernet first: inference traffic mostly stays inside the node (NVLink); across nodes, high-speed Ethernet is sufficient. Tune the stack the team already runs; do not adopt a new stack for an unverified scenario.
  • Traffic isolation: four traffic classes must not share a congested link.
  • Power and cooling first: power and cooling are hard constraints; accounting comes before signing.

3. Selection criteria: RoCEv2 vs. InfiniBand

  • Applicable scale: RoCEv2 up to about 128 GPUs; InfiniBand for large multi-node training.
  • Cost structure: RoCEv2 reuses Ethernet operations capability at low incremental cost; InfiniBand requires dedicated hardware and operations capability at a high premium.
  • Adoption condition: adopt InfiniBand only when training time directly drives revenue and measurements verify a latency bottleneck that tuned RoCEv2 cannot close; use RoCEv2 for all other inference hosting scenarios.

4. Implementation steps

4.1 Separate the fabrics

Four traffic classes: front-end requests, back-end GPU synchronization, storage (checkpoint and dataset reads), and management. Requirement: keep the back-end GPU fabric, storage, front-end, and management physically or logically separate; adopt a leaf-spine topology; complete structured fiber and optics deployment once to avoid later rebuilds.

4.2 Configure lossless Ethernet

RoCEv2 lossless operation requires the following parameter set: PFC (Priority Flow Control), ECN, DCQCN congestion control, 9000-byte MTU, deep-buffer switches. Without tuning, RoCE performs no better than plain TCP. NVIDIA Spectrum-X follows the same Ethernet path, integrating per-packet adaptive routing and congestion control into the switch and NIC, which validates the Ethernet approach provided congestion control is implemented.

4.3 Account for per-row power and cooling

Power and cooling are the first hard constraints for a small facility and must be calculated for one row before signing a customer. Per Uptime Institute's 2025 survey (786 operators): most respondents consider direct liquid cooling necessary above 20 kW per rack; the largest group placed air cooling's limit at 40–49 kW; the typical rack drew under 9 kW. NVIDIA's GB200 NVL72 rack requires about 120 kW, liquid-cooled — more than 13 times the typical rack. The International Energy Agency's 2026 report states AI server power density rose 11-fold between 2020 and 2025.

  • Under 20 kW per rack: contained hot/cold aisles with air cooling remain viable.
  • 20–75 kW: rear-door heat exchangers as the transitional tier (Motivair rates its ChilledDoor at up to 75 kW per rack).
  • 120 kW-class full GPU racks: direct-to-chip cold plates; air cooling is not applicable.

Market confirmation: Dell'Oro Group's January 2026 report found the liquid cooling market nearly doubled in 2025 to almost $3 billion, forecast to reach approximately $7 billion by 2029.

4.4 Establish baselines and acceptance criteria

Inference hosting carries bursty, multi-tenant load; the binding risk is tail latency, not average latency. One tenant's burst must not degrade neighboring tenants. Incast from many senders to one receiver can only be resolved by senders reducing rate; no switch creates bandwidth.

Before go-live, record baselines for four metrics: queue depth, PFC pause count, retransmission rate, and per-port error rate.

Acceptance criteria: lossless parameters verified item by item; all four baselines recorded under real load; post-launch deviation from baseline triggers investigation; a successful ping is not an acceptance criterion.

5. Pre-launch checklist

  • Classify the workload: inference or fine-tuning, versus large multi-node training. Ethernet for the former; evaluate InfiniBand separately for the latter.
  • Size by GPU count: under about 128 GPUs, start with tuned RoCEv2. Do not pre-purchase for a thousand-GPU future.
  • Confirm fabric separation: back-end, storage, front-end, and management do not share a congested link.
  • Verify lossless parameters item by item — PFC, ECN, DCQCN, MTU 9000, buffer depth — under real load.
  • Complete per-row power and cooling accounting: electrical headroom, cooling headroom, tier selection (rear-door exchanger or cold plate). Upgrade by row, not the entire hall at once.
  • Record the four baseline metrics and include them in routine inspection: queue depth, PFC pauses, retransmissions, port errors.

6. Constraints and exceptions

  • Large multi-node training is out of scope; fabric selection for training requires separate evaluation.
  • This guide does not cover migration paths for facilities with existing InfiniBand deployments.
  • A team that cannot yet tune Ethernet should build that capability or bring in external support before taking on inference hosting business.

7. Conclusion

Implementation priority for small-facility AI infrastructure is, in order: Ethernet tuning, traffic isolation, and per-row power and cooling accounting. After one row is implemented and baselined, expand to the next row.

References