Mellanox (NVIDIA Mellanox) MQM9790-NS2F InfiniBand Switch Technical Solution
July 13, 2026
Mellanox (NVIDIA Mellanox) MQM9790-NS2F InfiniBand Switch Technical Solution – Low‑Latency Interconnect Optimization for RDMA/HPC/AI Clusters
This technical white paper presents a comprehensive solution architecture centered on the Mellanox (NVIDIA Mellanox) MQM9790-NS2F InfiniBand switch. Aimed at network architects, pre‑sales engineers, and operations leads, the document details how the MQM9790-NS2F delivers deterministic ultra‑low latency, lossless RDMA, and scalable bandwidth for next‑generation HPC and AI infrastructures. We cover design principles, deployment topologies, operational best practices, and performance validation.
1. Project Background & Requirements Analysis
Modern AI training and scientific simulation workloads demand network fabrics that can sustain massive all‑reduce, all‑gather, and point‑to‑point communication patterns with sub‑microsecond jitter. Traditional Ethernet‑based solutions, even with RoCEv2, introduce complexity in congestion management, PFC tuning, and tail‑latency control, often leading to inefficient GPU utilization and unpredictable job completion times.
Key requirements identified across typical HPC/AI projects include:
- End‑to‑end latency < 1 μs (switch port‑to‑port) under full load
- Lossless fabric with zero packet drops due to congestion
- Scalability from 64 to over 2,000 GPU nodes without architectural changes
- Simplified operations with rich telemetry and automated fault recovery
The NVIDIA Mellanox MQM9790-NS2F directly addresses these demands by integrating NDR 400 Gb/s technology, adaptive routing, and in‑network computing into a 1U, 64‑port OSFP platform.
2. Overall Network / System Architecture Design
The recommended architecture adopts a two‑tier leaf‑spine (or fat‑tree) topology to provide full bisection bandwidth and high resilience. Each leaf block comprises multiple racks, with each rack housing two MQM9790-NS2F InfiniBand switches for redundancy. The spine layer aggregates traffic from all leaf switches, ensuring non‑blocking communication between any two endpoints.
The MQM9790-NS2F 400Gb/s NDR 64-port OSFP switch serves as both leaf and spine, offering uniform hardware across the fabric – simplifying sparing and maintenance. For a 1,024‑GPU cluster, a typical design uses 16 leaf switches (each connecting 64 GPUs) and 8 spine switches, all interconnected via 400G optical or DAC cables. The fabric supports both fat‑tree and Dragonfly+ topologies, with adaptive routing dynamically balancing traffic across multiple paths.
3. Role & Key Features of the Mellanox (NVIDIA Mellanox) MQM9790-NS2F in the Solution
The NVIDIA Mellanox MQM9790-NS2F is the cornerstone of this solution, providing:
- 64 OSFP ports each operating at 400 Gb/s (NDR) – aggregate switching capacity of 25.6 Tb/s, with a cut‑through latency below 600 ns.
- Adaptive Routing – dynamically selects the least‑congested path per packet, avoiding hotspot links and maintaining consistent latency even under asymmetric traffic patterns.
- SHARPv3 (Scalable Hierarchical Aggregation and Reduction Protocol) – offloads collective communication (all‑reduce, broadcast) from host CPUs, reducing network chatter and accelerating AI training by up to 20–30%.
- In‑network computing – supports data reduction, segmentation, and even small‑scale MPI operations directly on the switch, freeing valuable GPU resources for computation.
- Telemetry & Congestion Management – built‑in advanced monitoring including per‑flow counters, buffer occupancy histograms, and path‑level latency metrics, all exportable via UFM or REST APIs.
These capabilities enable the MQM9790-NS2F InfiniBand switch solution to deliver deterministic performance at scale, as validated by internal benchmarks and customer deployments. The MQM9790-NS2F specifications also include support for both passive copper DACs and active optical modules, providing flexibility for distances up to 100 m (with 400G SR4 optics) and beyond.
4. Deployment & Scaling Recommendations (Typical Topology)
For a greenfield deployment, we recommend the following phased approach:
- Phase 1 – Pilot: Deploy 2 leaf switches (each MQM9790-NS2F) and 2 spine switches, connecting 128 GPUs. Validate performance against the MQM9790-NS2F datasheet parameters.
- Phase 2 – Scale‑out: Add leaf switches in increments of 2 per rack, and spine switches as needed to maintain oversubscription ≤ 1:1. The 64‑port density allows a single switch to host a full rack of 64 GPU nodes (if each node has a single 400G uplink).
- Phase 3 – Multi‑plane: For clusters exceeding 2,000 nodes, implement multiple independent fabrics (e.g., 2× or 4× planes) with route‑based load balancing, leveraging the switch’s support for virtual lanes and partition keys.
Typical cabling uses OSFP‑to‑OSFP DACs for intra‑rack connections (≤3 m) and OSFP‑to‑400G SR4 optical modules for spine‑leaf distances up to 100 m. The MQM9790-NS2F compatible transceivers are validated with NVIDIA’s optical vendor ecosystem, ensuring seamless interoperability.
5. Operations, Monitoring, Fault Diagnosis & Optimization
Effective operations are critical for maintaining low latency in production. The solution integrates with NVIDIA UFM (Unified Fabric Manager), which provides:
- Real‑time dashboard – per‑port bandwidth, error counters, and congestion heatmaps.
- Automated path re‑optimization – when a link degrades or fails, UFM recalculates routes and re‑configures adaptive routing tables without operator intervention.
- Historical telemetry – stores latency and flow data for post‑mortem analysis and capacity planning.
Recommended troubleshooting workflow:
- Monitor per‑port pause frames and discards – zero discard is expected; any discards indicate misconfiguration or faulty optics.
- Validate SHARPv3 operation via UFM’s collective statistics – ensure reduction operations are offloaded.
- Use built‑in diagnostic tools (e.g.,
ibdiagnet,ibstatus) to check link integrity and signal integrity.
For optimization, adjust the adaptive routing algorithm threshold (e.g., load‑sensing interval) based on workload patterns – the MQM9790-NS2F InfiniBand switch allows fine‑tuning via management interfaces. Regular firmware updates (available via NVIDIA’s support portal) include performance enhancements and security patches.
6. Summary & Value Assessment
The Mellanox (NVIDIA Mellanox) MQM9790-NS2F offers a future‑proof, high‑performance foundation for RDMA/HPC/AI clusters. By combining 400 Gb/s NDR speed, 64‑port density, and intelligent in‑network computing, it eliminates traditional bottlenecks and provides linear scalability up to exascale class. The solution reduces total cost of ownership through lower power per port (≈1.5 W), simplified cabling, and reduced CPU overhead from SHARP offloads.
For organizations evaluating the MQM9790-NS2F price, the investment is justified by measurable gains in GPU utilization (often exceeding 90% in production) and up to 40% reduction in job completion times compared to RoCEv2 fabrics. The MQM9790-NS2F datasheet and MQM9790-NS2F specifications provide comprehensive details, and units are readily available (MQM9790-NS2F for sale via authorized channels). Moreover, the switch’s compatibility with existing NVIDIA adapters ensures a smooth migration path for users already invested in the Mellanox ecosystem.
In summary, this technical solution based on the MQM9790-NS2F InfiniBand switch delivers a robust, operationally efficient fabric that meets the most demanding low‑latency interconnect requirements – a cornerstone for the next generation of AI supercomputing.

