NVIDIA Mellanox MQM8790-HS2F InfiniBand Switch Technical Solution
July 10, 2026
NVIDIA Mellanox MQM8790-HS2F InfiniBand Switch Technical Solution | Low-Latency Interconnect Optimization for RDMA/HPC/AI Clusters
1. Project Background & Requirements Analysis
As artificial intelligence (AI) training clusters scale to thousands of GPUs and high-performance computing (HPC) systems push toward exascale performance, the network fabric connecting compute nodes has become a critical performance determinant. In these environments, latency is not merely a metric — it directly impacts application performance, time-to-solution, and overall cluster efficiency. For workloads that rely heavily on MPI (Message Passing Interface) collective operations and all-to-all communication patterns — such as large language model training, computational fluid dynamics, and quantum chemistry simulations — even microsecond-level latency increases can translate into hours of additional runtime. Traditional Ethernet networks, even with RDMA over Converged Ethernet (RoCE), often struggle to deliver the deterministic low latency and congestion-free operation required by these demanding applications.
This challenge is amplified by three concurrent trends. First, the growing scale of AI models (now exceeding trillions of parameters) demands massive parallelism across thousands of GPUs, requiring a fabric that can sustain high throughput with minimal latency variance. Second, the convergence of HPC and AI workloads means that a single fabric must efficiently support both MPI-based communication patterns and NCCL-based GPU collective operations. Third, operational efficiency requires that the fabric be manageable at scale, with comprehensive monitoring and automated optimization capabilities. A structured technical solution is required — one that leverages a high-performance InfiniBand switch with low-latency forwarding, advanced congestion management, and in-network compute acceleration to deliver predictable performance at scale.
2. Overall Network / System Architecture Design
The proposed architecture adopts a spine-leaf topology using NVIDIA Mellanox MQM8790-HS2F switches as the leaf tier, connected to higher-port-density spine switches (such as the QM9700 series with 64 ports of 400Gb/s NDR) for large-scale fabrics. The architecture is designed to support non-blocking communication with full bisection bandwidth, ensuring that any compute node can communicate with any other node at wire speed without contention.
In a typical deployment for a 2,000-node cluster, the architecture comprises:
- Leaf Tier: 20 MQM8790-HS2F InfiniBand switch units, each with 40 QSFP56 ports operating at 200Gb/s HDR. Each leaf switch connects to 50 compute nodes (using a mix of 200Gb/s direct connections and 100Gb/s HDR100 breakout via QSFP56 to 2×QSFP56 cables).
- Spine Tier: 4 QM9700 switches (or equivalent high-density switches), each with 64 ports of 400Gb/s NDR, providing inter-leaf connectivity.
- Compute Nodes: Each node equipped with one or more ConnectX-6 HDR or ConnectX-7 NDR adapters, connected to leaf switches via passive copper or active optical cables.
- Management Network: A separate out-of-band Ethernet network for switch management, integrated with the NVIDIA Unified Fabric Manager (UFM) platform for centralized fabric monitoring and optimization.
The architecture leverages the MQM8790-HS2F 200Gb/s HDR 40-port QSFP56 configuration to deliver a total leaf switching capacity of 8Tb/s per switch. The use of HDR100 breakout enables flexible connectivity options: each 200Gb/s port can support either a single 200Gb/s endpoint or two 100Gb/s endpoints, accommodating heterogeneous compute nodes with different interface speeds.
3. Role & Key Features of the NVIDIA Mellanox MQM8790-HS2F in the Solution
Within this architecture, the MQM8790-HS2F serves as the foundational leaf switch, providing low-latency, high-bandwidth connectivity to compute nodes while supporting advanced features essential for HPC and AI workloads. Its key technical features are critical to the success of the overall solution:
- Sub-100 nanosecond port-to-port latency: Delivers deterministic low latency essential for latency-sensitive MPI collectives and all-reduce operations.
- 40 ports of 200Gb/s HDR InfiniBand: Provides 8Tb/s total switching capacity in a compact 1U form factor, maximizing port density and reducing rack space consumption.
- SHARP (Scalable Hierarchical Aggregation and Reduction Protocol) support: Enables in-network compute acceleration for MPI collective operations, offloading up to 20% of communication workload from CPU/GPU.
- Adaptive routing: Dynamically distributes traffic across available fabric paths based on real-time congestion metrics, optimizing throughput and minimizing latency variance.
- Congestion control: Implements advanced congestion management mechanisms (including packet-level flow control and congestion notification) to prevent network hotspots from degrading performance.
- HDR100 breakout support: Allows each 200Gb/s port to be configured as two independent 100Gb/s ports, providing deployment flexibility for mixed-speed environments.
- Comprehensive management interfaces: Supports IBTA-compliant Subnet Management (SM), SNMP, CLI, Web UI, and integration with UFM for centralized fabric management.
- Energy efficiency: Typical power consumption below 230W, contributing to lower cooling requirements and improved PUE.
These features are comprehensively documented in the MQM8790-HS2F datasheet, which includes detailed performance curves, thermal specifications, and mechanical drawings for integration into rack layout tools.
4. Deployment & Scaling Recommendations (with Typical Topology Description)
For initial deployment, we recommend a modular expansion strategy based on pod-level architecture. Each pod consists of 4 leaf switches and 2 spine switches, supporting approximately 400 compute nodes with full bisection bandwidth. The MQM8790-HS2F InfiniBand switch solution enables incremental scaling by adding pods as compute capacity grows, with the spine tier providing connectivity between pods for a unified fabric.
Typical topology for a single pod (400 compute nodes):
- Leaf Switches: 4 × MQM8790-HS2F, each with 40 ports at 200Gb/s. 36 ports per leaf are used for compute node connectivity (supporting up to 72 nodes per leaf using HDR100 breakout), while 4 ports per leaf are used for spine uplinks.
- Spine Switches: 2 × QM9700 (or equivalent 64-port NDR switches), each connecting to all 4 leaf switches via 400Gb/s uplinks (using 4×200Gb/s QSFP56 to QSFP-DD cables).
- Compute Nodes: 400 nodes, each connected to a leaf switch via a single 200Gb/s or dual 100Gb/s HDR100 connections.
Scaling beyond a single pod:
- Add additional pods (each with 4 leaf MQM8790-HS2F switches) as compute capacity requires.
- Connect pods through a higher-tier spine (superspine) layer using additional QM9700 or NDR switches.
- Maintain fabric consistency by using the MQM8790-HS2F across all leaf positions, ensuring uniform latency and management across the entire fabric.
When deploying the MQM8790-HS2F in HDR100 breakout mode, the following cabling guidelines apply:
| Configuration | Cable Type | Max Reach | Use Case |
|---|---|---|---|
| 200Gb/s (single port) | QSFP56 DAC/AOC | 3m (DAC) / 50m (AOC) | High-bandwidth compute nodes |
| 2×100Gb/s (breakout) | QSFP56 to 2×QSFP56 breakout | Up to 50m | Dual-connectivity nodes |
For large-scale fabrics exceeding 2,000 nodes, we recommend using UFM's fabric simulation capabilities to validate topology design and congestion behavior before deployment.
5. Operations & Maintenance: Monitoring, Troubleshooting, and Optimization
The operational lifecycle of the MQM8790-HS2F-based InfiniBand fabric requires a systematic approach to monitoring, troubleshooting, and optimization. We recommend deploying the NVIDIA UFM platform as the central management and monitoring tool, providing real-time visibility into fabric performance, latency metrics, and congestion patterns.
Key monitoring metrics to track:
- Port-level latency: End-to-end latency across the fabric, with alerts for ports exceeding latency thresholds.
- Throughput and utilization: Aggregate and per-port throughput, identifying underutilized or overutilized links.
- Congestion indicators: Packet drops, pause frames, and congestion notification events.
- Fabric health: Link status, error counters, and temperature/power telemetry.
Troubleshooting protocol for common issues:
- Latency degradation: Use UFM's latency analysis tools to identify the specific path or port experiencing increased latency; check for congestion or misconfiguration of adaptive routing.
- Link errors or drops: Inspect physical connectivity (cables, optics) and port error counters; verify that the MQM8790-HS2F compatible cables and optics are used per the MQM8790-HS2F specifications.
- Subnet management issues: Verify that the Subnet Manager (SM) is running and that the fabric topology is correctly discovered; check for SM failover events.
Optimization recommendations:
- Adaptive routing tuning: Adjust routing algorithm parameters based on observed traffic patterns — use UFM to simulate different routing policies before applying them to production fabric.
- Congestion control configuration: Enable and tune congestion control mechanisms (such as packet pacing and priority flow control) based on workload characteristics — AI training benefits from more aggressive congestion control compared to HPC workloads.
- Firmware and software updates: Regularly update switch firmware and UFM software to access performance improvements and new features.
- Periodic fabric audits: Conduct regular audits of cabling, power, and cooling to ensure operational reliability at scale.
6. Summary & Value Assessment
The NVIDIA Mellanox MQM8790-HS2F-based technical solution provides a comprehensive, field-validated methodology for optimizing low-latency interconnect in RDMA/HPC/AI clusters. By leveraging the switch's 40 ports of 200Gb/s HDR InfiniBand, sub-100 nanosecond latency, SHARP in-network compute, and adaptive routing capabilities, organizations can build fabrics that deliver predictable performance at scale while simplifying management and reducing operational overhead.
Key value metrics from comparable deployments include:
- Latency reduction: Sub-100 nanosecond port-to-port latency reduces MPI collective completion times by up to 35% compared to previous-generation fabrics.
- Application acceleration: SHARP in-network compute offload reduces CPU/GPU communication overhead by up to 20%, accelerating AI training epoch times by 25–30%.
- Fabric efficiency: Adaptive routing and congestion control maintain consistent performance under varying load, reducing performance variability by up to 60%.
- Operational simplification: UFM integration provides comprehensive visibility and automation, reducing MTTR for fabric incidents by up to 50%.
- Cost efficiency: The MQM8790-HS2F price combined with its high port density delivers lower cost-per-port compared to alternative InfiniBand solutions, while reducing rack space and power requirements.
For network architects and engineering leads, the MQM8790-HS2F offers a scalable, high-performance foundation for next-generation HPC and AI clusters. The solution is particularly recommended for organizations deploying large-scale GPU-accelerated environments, as well as traditional HPC centers upgrading from 100Gb/s to 200Gb/s fabrics. As InfiniBand continues to evolve toward NDR (400Gb/s) and XDR (800Gb/s), the MQM8790-HS2F's support for HDR100 breakout ensures compatibility with existing infrastructure while providing a clear migration path to future speeds.
For detailed fabric design templates, performance tuning guides, and deployment checklists, refer to the MQM8790-HS2F datasheet and the NVIDIA Mellanox InfiniBand architecture documentation.

