Knowledge Center

Technology Insights · Industry Trends · Product Knowledge · Application Notes · News & Updates

Home > Knowledge Center > Optical Product Knowledge > InfiniBand vs Ethernet Optics for AI Clusters

InfiniBand vs Ethernet Optics for AI Clusters

Time: 2026-10-18 08:03:50
Number of views: 1864
Writting By: Admin

Once GPU nodes are cabled at 200G or 400G per port and the fabric carries collective traffic for hundreds of accelerators, the optic stops being an accessory and becomes part of the performance budget. Buyers who pick modules by speed alone discover the problem at integration: the module links, but the switch reports errors, the fanout does not match the rail design, or the spare part number does not exist when a link fails.

This guide compares InfiniBand and Ethernet optics as they are actually bought and deployed, and shows where the two fabrics diverge in lane mapping, reach codes, coding and spares planning.

Why the fabric protocol changes the optic decision

InfiniBand and Ethernet both move bits over the same duplex or parallel fiber, but they manage the link differently. InfiniBand uses its own link layer with credit-based flow control and a subnet manager that configures paths; Ethernet at 400G and 800G relies on PAM4 signaling with Reed-Solomon forward error correction (KP4 for 400GBASE-R) and, for lossless storage or AI traffic, on PFC and ECN tuning at the switch.

Three practical consequences follow:

  • Speed per port, not speed per lane. An InfiniBand NDR port runs 400G using four 100G PAM4 lanes; an Ethernet 400G port can be built either as four 100G lanes (DR4, FR4, LR4, ER4) or as eight 50G lanes (SR8, LR8, ER8). The module you need depends on which one the switch port implements.
  • Breakout structure. AI fabrics are usually built as rails: one 400G or 800G switch port splits into four 100G or two 400G host links. The breakout harness and the optic at the far end must be ordered as a matched set, not as two independent line items.
  • Firmware and coding. A module that is physically correct can still be rejected or flagged if its EEPROM coding does not match the expectation of the switch firmware in use.

HDR, NDR and 800G: matching link speed to module type

The table below maps the common AI fabric speeds to the module classes that carry them. Reach codes follow the usual SR, DR, FR, LR conventions; the exact part number depends on the switch port and the fiber plan.

Fabric / port speedLane structureTypical module classTypical interface
100G InfiniBand EDR / 100G Ethernet4 x 25G NRZ or 4 x 25G PAM4QSFP28 SR4, DR1, FR1, LR4MPO-12 for SR4/DR1, duplex LC for FR1/LR4
200G InfiniBand HDR / 200G Ethernet4 x 50G PAM4QSFP56 SR4, FR4; QSFP-DD SR8MPO-12 for SR4, duplex LC for FR4
400G InfiniBand NDR / 400G Ethernet4 x 100G PAM4QSFP112 / QSFP-DD DR4, FR4, LR4, ER4; SR8 for 8 x 50G portsMPO-12 for SR4/DR4, MPO-16 or MPO-24 for SR8, duplex LC for FR4/LR4
800G Ethernet / next-generation AI fabric8 x 100G PAM4OSFP or QSFP-DD800 DR8, SR8, 2xFR4MPO-16 for DR8, MPO-16/MPO-24 for SR8, duplex LC for 2xFR4

Two rules save the most rework. First, confirm whether the 400G port is 4 x 100G or 8 x 50G before ordering; the two families are not interchangeable and the breakout count changes with them. Second, treat a 400G-to-4x100G rail as one bill of materials: one 400G module, one MPO trunk, one fanout harness, four 100G modules.

Reach planning inside a GPU hall

Most intra-cluster links are shorter than people expect. A one-row or two-row layout normally sits inside 50 m to 500 m, which is SR and DR territory. FR4 at 2 km and LR4 at 10 km appear when the cluster spans halls; coherent ZR or ZR+ modules appear only when the fabric leaves the building.

Design the fiber plan before the optic list. MPO-12 trunks built for 40G and 100G generations carry 400G DR4 correctly, but they cannot carry 800G DR8, which needs 16 fibers. Replacing a trunk after the fact costs more than specifying 16-fiber or 24-fiber trunks at the start and using conversion harnesses where the port count is still 400G.

Compatibility, coding and the spare-part question

In practice the failure modes that stop a deployment are rarely optical. They are:

  • Coding mismatch. The module is coded for one switch family and reports an unsupported vendor or part number to another. Firmware then refuses the port or marks it degraded.
  • Mixed firmware baselines. A module validated on one switch release can behave differently after a firmware upgrade, particularly around FEC negotiation and link training.
  • Missing spares. Clusters are usually specified with a small percentage of spare optics, and the spare must be the same part number as the installed base, not a lookalike with a different coding.

Ask for the coding requirement in writing: switch model, firmware version, and the exact port speed. A supplier that cannot state which coding the module will ship with is a supplier who has not tested it on that platform.

How APEX supports AI cluster optics

APEX supplies 100G to 800G transceivers and matching fiber assemblies for both fabric types, with three things that matter at integration:

  • Coding to the platform you name, confirmed before shipment, so the port comes up on first insert.
  • One consolidated BOM across SR, DR, FR and LR codes, fanout harnesses and spares.
  • Test and traceability per unit, so a failed link traces to a batch.

Third-party brand optics referenced on this site are sold as compatible units; they are not manufactured by APEX. For current product families, see 400G optical transceivers, 800G optical transceivers and the AI supercluster fabric solution. Short-reach and mid-reach data center codes are grouped under Data Center SR / DR / FR.

FAQ

Can I use an Ethernet 400G DR4 module in an InfiniBand NDR port?

Sometimes, if the port is 4 x 100G and the module is coded accordingly. It is not a safe default: the lane structure can match while coding, link training and management expectations differ. Confirm against the switch vendor's supported optics list before committing a rail design.

Do InfiniBand clusters need different fiber than Ethernet clusters?

No. The fiber is the same OM4/OM5 multimode or single-mode glass. What differs is the connector count per port and the reach code, which is why a 400G rail plan and an 800G rail plan need different trunk fiber counts.

Is 800G worth it for a small cluster?

Only when port count, not per-port speed, is the constraint. At small scale, 400G ports with 4 x 100G breakout usually cost less per connected GPU and keep the fiber plan simpler.

How many spare optics should we hold?

Most operators keep 3 to 5 percent of installed optics as spares, weighted toward the highest-count part number. Because coding and firmware baseline matter, spares should be the same part number as the installed base, ordered with the original batch where possible.

What information do you need to quote an AI fabric BOM?

Switch model and firmware, port speed, reach per link, fiber type and connector, breakout structure, and the quantity per part number. With those five inputs a quotation can be built without a site visit.

Next step

Send your BOM, link distances and switch model; we will confirm coding, reach code and lead time per line and flag any part that will not interoperate.