OpenOptics: Enabling Open Research and Implementation of Optical Data Center Networks

Yiming Lei (Max Planck Institute for Informatics), Federico De Marchi (Max Planck Institute for Informatics), Jialong Li (Shenzhen University of Advanced Technology), Raj Joshi (Harvard University), Shu-Ting Wang (UC San Diego), Xiaoqi Chen (Purdue University), Balakrishnan Chandrasekaran (Vrije Universiteit Amsterdam), Yiting Xia (Max Planck Institute for Informatics)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 2 · From Silicon to Networked Systems

Overview

Modern data center traffic growth has reached critical levels, propelled aggressively by the massive scaling of artificial intelligence and machine learning workloads. At the same time, traditional electrical packet switching fabrics are hitting fundamental scaling walls driven by the deceleration of Moore's Law and prohibitive power and cost economics at hyperscale. To address these challenges, researchers and industry leaders have increasingly turned to optical data center networks (ODCNs), which integrate optical circuit switches (OCSs) directly into the network fabric to achieve high switching capacity, low power consumption, and high bandwidth density.

Watch on YouTube · Slides

Visual summary for OpenOptics: Enabling Open Research and Implementation of Optical Data Center Networks by Yiming Lei, Federico De Marchi, Jialong Li, Raj Joshi, Shu-Ting Wang, Xiaoqi Chen, Balakrishnan Chandrasekaran, Yiting Xia
Visual summary for OpenOptics: Enabling Open Research and Implementation of Optical Data Center Networks by Yiming Lei, Federico De Marchi, Jialong Li, Raj Joshi, Shu-Ting Wang, Xiaoqi Chen, Balakrishnan Chandrasekaran, Yiting Xia

Key moments

  1. 0:00 Introduction and motivation for optical data center networks
  2. 2:00 Challenges and high barrier of entry in optical research
  3. 4:00 Overview of OpenOptics framework and backend support
  4. 5:30 Time-based routing and the time flow table abstraction
  5. 8:00 Rearchitecting the queuing system for time-based packet scheduling
  6. 10:00 High-level user APIs and overall system architecture
  7. 12:00 Testbed evaluation, architecture comparison, and validation
  8. 14:00 Evaluating upper layer protocols and open source availability

OpenOptics: Enabling Open Research and Implementation of Optical Data Center Networks

Speakers: Yiming Lei (Max Planck Institute for Informatics); Federico De Marchi (Max Planck Institute for Informatics); Jialong Li (Shenzhen University of Advanced Technology); Raj Joshi (Harvard University); Shu-Ting Wang (UC San Diego); Xiaoqi Chen (Purdue University); Balakrishnan Chandrasekaran (Vrije Universiteit Amsterdam); Yiting Xia (Max Planck Institute for Informatics)

Conference: USENIX NSDI

YouTube: https://www.youtube.com/watch?v=DJ33HHI8xnw

Overview

Modern data center traffic growth has reached critical levels, propelled aggressively by the massive scaling of artificial intelligence and machine learning workloads. At the same time, traditional electrical packet switching fabrics are hitting fundamental scaling walls driven by the deceleration of Moore's Law and prohibitive power and cost economics at hyperscale. To address these challenges, researchers and industry leaders have increasingly turned to optical data center networks (ODCNs), which integrate optical circuit switches (OCSs) directly into the network fabric to achieve high switching capacity, low power consumption, and high bandwidth density.

However, despite over a decade of active academic proposals and industrial prototyping, research in optical networking remains heavily siloed. Optical architectures have historically functioned as closed ecosystems, coupling specialized optical hardware with custom, homegrown software stacks. This high barrier to entry has restricted end-to-end evaluation to small, isolated test beds and bespoke simulations, making cross-architecture comparisons nearly impossible.

In response, a multi-institutional research team developed OpenOptics, an open-source research and development framework designed to decouple software systems from optical hardware, allowing them to evolve independently. Presented at USENIX NSDI, OpenOptics introduces unified abstractions, time-based queue management, and multi-backend support ranging from physical test beds to single-laptop emulation and simulation, fundamentally lowering the barrier to entry for optical network research and education.

Background

▶ Watch: Introduction and motivation for optical data center networks (0:00)

The systems and networking community has long recognized the potential of optical switching to bypass the electrical bottleneck in hyperscale data centers. Unlike electrical switches that buffer, process, and forward packets on a per-packet basis, OCSs are physical-layer circuit switches. They configure physical mirrors or waveguides to establish direct, dedicated point-to-point circuits between pairs of nodes according to scheduled traffic demands or dynamic routing configurations.

Over the past fifteen years, numerous proposals have emerged exploring how to integrate optical switching into data center fabrics. Projects like Rotonoet and industry implementations by major cloud providers—such as Google’s Jupiter network utilizing slow optical switches alongside co-designed topologies, and Microsoft’s exploration of ultrafast optical switches paired with oblivious network fabrics—illustrate the breadth of design choices. However, each of these efforts relied on vertically integrated, proprietary development cycles that spanned nearly a decade.

The core bottleneck in this research space has been the lack of a shared software and systems foundation. Because OCSs lack internal packet buffers, data must be buffered externally at host nodes or electrical top-of-rack (ToR) switches. Routing packets across time-varying, circuit-switched topologies requires orchestrating circuit schedules, packet hold times, and multi-hop paths. Without a unified framework to express time-varying routes, implement packet scheduling across dynamic topologies, and test systems across consistent simulation, emulation, and hardware backends, researchers have been forced to reinvent the entire stack for every new optical hardware proposal.

Key Findings

▶ Watch: Overview of OpenOptics framework and backend support (4:00)

The primary contribution of OpenOptics is establishing a unified software architecture that successfully abstracts away the hardware-specific quirks of diverse optical switching technologies. Through its core abstractions and modular services, the framework enables researchers to implement, test, and cross-compare disparate optical architectures—ranging from microsecond-scale OCSs to millisecond-to-second scale MEMS (Micro-Electro-Mechanical Systems) optical switches—using identical workloads and test environments.

Key discoveries and findings demonstrated through the OpenOptics framework include:

  • Feasibility of Cross-Architecture Comparisons: By running multiple optical architecture implementations on a shared physical test bed consisting of Tofino 2 programmable switches and MEMS optical switches, the authors demonstrated that different routing strategies (such as traffic-oblivious spray routing versus traffic-aware circuit scheduling) exhibit profound performance divergence under identical workloads.
  • Transport Protocol Sensitivity: Evaluations incorporating upper-layer protocols revealed that certain architecture styles, such as volume-based spraying (VBS) that heavily distributes packets across temporal paths, induce extreme packet reordering. This reordering severely disrupts standard TCP congestion control stacks, demonstrating that traffic-oblivious optical designs require dedicated transport protocols rather than drop-in kernel TCP support.
  • Implementation Fidelity: When benchmarking OpenOptics implementations of prior architectures (such as Rotonet) against published results, the framework accurately replicated expected latency trends over time, validating that abstraction layers do not distort fundamental protocol or routing dynamics.

Technical Deep Dive

▶ Watch: Rearchitecting the queuing system for time-based packet scheduling (8:00)

The architectural engine behind OpenOptics rests on a novel network abstraction called the time flow table, which extends traditional Software-Defined Networking (SDN) flow tables by introducing a critical missing dimension: time.

The Time Flow Table Abstraction

In static data centers, routing decisions depend solely on packet headers and destination addresses. In optical data centers, network topologies change across discrete temporal intervals known as time slices. A packet arriving at a ToR switch may need to traverse a multi-hop path immediately, or it may need to be held at an intermediate switch until a direct circuit to its destination opens up in a future time slice.

The time flow table augments conventional flow table entries with two temporal parameters:

  1. Arrival Time Slice: The interval during which the packet arrives at the switch.
  2. Departure Time Slice: The interval during which the packet is scheduled to depart the switch via an active optical circuit.

For example, to implement a multi-hop route where a packet from ToR 0 is forwarded immediately in time slice 0 to an intermediate node (ToR 1), held there for one time slice, and then transmitted to its final destination (ToR 3) in time slice 2 when a direct circuit becomes available, the time flow table expresses this declaratively:

  • At ToR 0: Arrival = 0, Departure = 0 (immediate forwarding).
  • At ToR 1: Arrival = 1, Departure = 2 (buffered for one time slice, departing when the circuit opens).

The abstraction also supports wildcard entries for backward compatibility with static networks and extended action fields to support end-to-end source routing required by specific optical fabrics.

Time-Based Queue Management

To realize time flow tables in hardware and software, OpenOptics rearchitects the switch queuing system. Traditional switches use FIFO or priority queues drained continuously. At every switch port, OpenOptics implements time-based packet scheduling using an array of queues where each queue sequentially corresponds to a specific time slice.

A queue is strictly active only during its corresponding time slice. Packets scheduled for delayed departure are enqueued into the specific queue matching their target departure time slice rather than the currently active queue. This prevents premature transmission across inactive circuits while avoiding head-of-line blocking.

Software Stack and APIs

The framework exposes a high-level Python front end with three primary API groups:

  • Routing APIs: Allowing users to register explicit paths between source-destination pairs or implement custom routing algorithms that automatically generate entries across all time slices.
  • Topology APIs: Enabling the programmatic generation of time-varying network topologies and traffic matrices.
  • Telemetry APIs: Providing built-in measurement instruments for real-time observability.

Under the hood, the control plane processes Python scripts to generate topologies and time flow tables, initializing the selected data-plane backend.

Experimental Setup & Results

▶ Watch: High-level user APIs and overall system architecture (10:00)

To validate the framework, the authors deployed OpenOptics across a comprehensive evaluation test bed combining physical hardware, emulation, and simulation backends.

Hardware and Software Test Bed

  • Physical Switches: Four Tofino 2 programmable packet switches. Two switches were partitioned to emulate four separate ToR switches each, one switch emulated a microsecond-switching OCS, and another served as a node for the electrical fabric.
  • Optical Hardware: A MEMS optical switch to support millisecond-to-second scale switching architectures.
  • Alternative Backends: Software emulation via Mininet and discrete-event simulation via NS-3 for single-laptop exploration, classroom education, and large-scale architectural scaling studies.

Headline Results

  • Latency Distribution on Microbenchmarks: Using the Mincra benchmark, evaluations tracking short-flow latencies demonstrated how cumulative hop counts dictate the cumulative distribution function (CDF) of latency across different optical configurations.
  • Throughput on Collective Communication: Benchmarking All-Reduce operations via the NCCL (NVIDIA Collective Communications Library) library highlighted that architectures relying purely on static or direct routing (such as Rotonet and Opera) suffered reduced throughput when circuits were available only fractionally (e.g., 50% duty cycles), whereas traffic-aware scheduling adapted topology configurations to match communication patterns.
  • Code Efficiency: The framework enables complex optical network experiments to be instantiated in as little as 10 lines of high-level Python code.

Practical Implications

▶ Watch: Evaluating upper layer protocols and open source availability (14:00)

For systems architects, network engineers, and ML infrastructure teams deploying large-scale AI training clusters, OpenOptics lowers the formidable barrier to experimenting with optical switching technologies. As GPU clusters scale into tens of thousands of accelerators, electrical packet switch fabrics incur compounding power densities and cabling complexities. Optical data center networks offer a viable path forward, but adopting them has historically required committing to a proprietary, closed hardware-software co-design path.

OpenOptics changes this dynamic by offering a vendor-agnostic test bed and evaluation methodology. Infrastructure teams can prototype custom circuit scheduling algorithms and routing policies in NS-3 or Mininet before migrating them to physical Tofino and OCS hardware test beds.

However, practitioners must note key limitations identified in the evaluation: drop-in integration of optical fabrics with legacy transport protocols like TCP can lead to severe performance degradation due to packet reordering induced by temporal path switching. Deploying optical networks at scale will necessitate co-designing transport layers alongside the OpenOptics routing and scheduling stack.

Key Takeaways

  • Decoupling Hardware and Software: OpenOptics separates optical hardware from control and data plane software, eliminating the vertically integrated silos that historically slowed optical network research.
  • Time Flow Tables: The framework introduces time flow tables, augmenting traditional SDN flow tables with arrival and departure time slices to natively manage time-varying, circuit-switched paths.
  • Time-Based Queuing: Switch queuing architectures are rearchitected with time-slice-specific queues to prevent premature packet transmission and head-of-line blocking.
  • Multi-Backend Support: The framework supports physical test beds (Tofino 2 switches, MEMS optical switches) alongside emulation (Mininet) and simulation (NS-3).
  • Transport Protocol Warnings: Evaluations show that traffic-oblivious routing in optical networks causes extreme packet reordering, breaking standard kernel TCP stacks and highlighting the need for specialized transport protocols.
  • Open Source Availability: The entire OpenOptics framework, including source code, installation scripts, and an integrated visualization dashboard, is fully open-sourced for the community.

About the Speaker(s)

Federico De Marchi presented the work on behalf of the primary author, Yiming Lei, and an extensive collaborative team spanning the Max Planck Institute for Informatics, Shenzhen University of Advanced Technology, Harvard University, UC San Diego, Purdue University, and Vrije Universiteit Amsterdam. Yiming Lei served as the primary contributor and maintainer of the OpenOptics project.

Reviews

→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)

All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)