Lune

NSDI2022Top-tier venue

Unlocking the Power of Inline Floating-Point Operations on Programmable Switches

Yifan Yuan, Omar Alama, Jiawei Fei, Jacob Nelson, Dan R. K. Ports, Amedeo Sapio, Marco Canini, Nam Sung Kim

Abstract

The advent of switches with programmable dataplanes has enabled the rapid development of new network functionality, as well as providing a platform for acceleration of a broad range of application-level functionality. However, existing switch hardware was not designed with application acceleration in mind, and thus applications requiring operations or datatypes not used in traditional network protocols must resort to expensive workarounds. Applications involving floating point data, including distributed training for machine learning and distributed query processing, are key examples.

In this paper, we propose FPISA, a floating point representation designed to work efficiently in programmable switches. We first implement FPISA on an Intel Tofino switch, but find that it has limitations that impact throughput and accuracy. We then propose hardware changes to address these limitations based on the open-source Banzai switch architecture, and synthesize them in a 15-nm standard-cell library to demonstrate their feasibility. Finally, we use FPISA to implement accelerators for training for machine learning and for query processing, and evaluate their performance on a switch implementing our changes using emulation. We find that FPISA allows distributed training to use 25-75% fewer CPU cores and provide up to 85.9% better throughput in a CPU-constrained environment than SwitchML. For distributed query processing with floating point data, FPISA enables up to 2.7× better throughput than Spark.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Generic Service to Provide In-Network Aggregation for Key-Value Streams cites Using trio: juniper networks' programmable chipset - for emerging in-network applications
  • A Generic Service to Provide In-Network Aggregation for Key-Value Streams cites A Unified Architecture for Accelerating Distributed DNN Training in Heterogeneous GPU/CPU Clusters
  • A Generic Service to Provide In-Network Aggregation for Key-Value Streams cites ATP: In-network Aggregation for Multi-tenant Learning
  • In-Network Aggregation with Transport Transparency for Distributed Training cites ATP: In-network Aggregation for Multi-tenant Learning
  • Using trio: juniper networks' programmable chipset - for emerging in-network applications cites PINT: Probabilistic In-band Network Telemetry
  • Using trio: juniper networks' programmable chipset - for emerging in-network applications cites ATP: In-network Aggregation for Multi-tenant Learning
  • THC: Accelerating Distributed Deep Learning Using Tensor Homomorphic Compression cites A Generic Service to Provide In-Network Aggregation for Key-Value Streams
  • THC: Accelerating Distributed Deep Learning Using Tensor Homomorphic Compression cites Using trio: juniper networks' programmable chipset - for emerging in-network applications
  • THC: Accelerating Distributed Deep Learning Using Tensor Homomorphic Compression cites A Unified Architecture for Accelerating Distributed DNN Training in Heterogeneous GPU/CPU Clusters
  • THC: Accelerating Distributed Deep Learning Using Tensor Homomorphic Compression cites ATP: In-network Aggregation for Multi-tenant Learning
  • Leo: Online ML-based Traffic Classification at Multi-Terabit Line Rate cites ATP: In-network Aggregation for Multi-tenant Learning
  • ATP: In-network Aggregation for Multi-tenant Learning cites A Unified Architecture for Accelerating Distributed DNN Training in Heterogeneous GPU/CPU Clusters
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Using trio: juniper networks' programmable chipset - for emerging in-network applicationsMingran Yang, Alex Baban, Valery Kugel, Jeff Libby et al.SIGCOMM 2022 · 57 citations
  2. In-Network Aggregation with Transport Transparency for Distributed TrainingShuo Liu, Qiaoling Wang, Junyi Zhang, Wenfei Wu et al.ASPLOS 2023 · 46 citations
  3. Leo: Online ML-based Traffic Classification at Multi-Terabit Line RateSyed Usman Jafri, Sanjay G. Rao, Vishal Shrivastav, Mohit TawarmalaniNSDI 2024 · 46 citations
  4. THC: Accelerating Distributed Deep Learning Using Tensor Homomorphic CompressionMinghao Li, Ran Ben Basat, Shay Vargaftik, ChonLam Lao et al.NSDI 2024 · 44 citations
  5. A Generic Service to Provide In-Network Aggregation for Key-Value StreamsYongchao He, Wenfei Wu, Yanfang Le, Ming Liu et al.ASPLOS 2023 · 37 citations

Builds on15

  1. A Unified Architecture for Accelerating Distributed DNN Training in Heterogeneous GPU/CPU ClustersYimin Jiang, Yibo Zhu, Chang Lan, Bairen Yi et al.OSDI 2020 · 390 citations
  2. ATP: In-network Aggregation for Multi-tenant LearningChonLam Lao, Yanfang Le, Kshiteej Mahajan, Yixi Chen et al.NSDI 2021 · 359 citations
  3. PINT: Probabilistic In-band Network TelemetryRan Ben Basat, Sivaramakrishnan Ramanathan, Yuliang Li, Gianni Antichi et al.SIGCOMM 2020 · 268 citations
  4. Pushing the Limits of Narrow Precision Inferencing at Cloud Scale with Microsoft Floating PointBita Darvish Rouhani, Daniel Lo, Ritchie Zhao, Ming Liu et al.NeurIPS 2020 · 153 citations
  5. Flow Event Telemetry on Programmable Data PlaneYu Zhou, Chen Sun, Hongqiang Harry Liu, Rui Miao et al.SIGCOMM 2020 · 139 citations

Related papers

  1. Scaling Distributed Machine Learning with In-Network AggregationAmedeo Sapio, Marco Canini, Chen-Yu Ho, Jacob Nelson et al.NSDI 2021
  2. Flowrest: Practical Flow-Level Inference in Programmable Switches with Random ForestsAristide Tanyi-Jong Akem, Michele Gucciardo, Marco FioreINFOCOM 2023 · 63 citations
  3. Multitenant In-Network Acceleration with SwitchVMSajy Khashab, Alon Rashelbach, Mark SilbersteinNSDI 2024 · 21 citations
  4. Quark: Implementing Convolutional Neural Networks Entirely on Programmable Data PlaneMai Zhang, Lin Cui, Xiaoquan Zhang, Fung Po Tso et al.INFOCOM 2025 · 17 citations
  5. FENIX: Enabling In-Network DNN Inference with FPGA-Enhanced Programmable SwitchesXiangyu Gao, Tong Li, Yinchao Zhang, Ziqiang Wang et al.NSDI 2026 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines