Lune

NSDI2025Top-tier venue

Enabling Portable and High-Performance SmartNIC Programs with Alkali

Jiaxin Lin, Zhiyuan Guo, Mihir Shah, Tao Ji, Yiying Zhang, Daehyeok Kim, Aditya Akella

Abstract

Trends indicate that emerging SmartNICs, either from different vendors or generations from the same vendor, exhibit substantial differences in hardware parallelism and memory interconnects. These variations make porting programs across NICs highly complex and time-consuming, requiring programmers to significantly refactor code for performance based on each target NIC's hardware characteristics.

We argue that an ideal SmartNIC compilation framework should allow developers to write target-independent programs, with the compiler automatically managing cross-NIC porting and performance optimization. We present such a framework, Alkali, that achieves this by (1) proposing a new intermediate representation for building flexible compiler infrastructure for multiple NIC targets and (2) developing a new iterative parallelism optimization algorithm that automatically ports and parallelizes the input programs based on the target NIC's hardware characteristics.

Experiments across a wide range of NIC applications demonstrate that Alkali enables developers to easily write portable, high-performance NIC programs. Our compiler optimization passes can automatically port these programs and make them run efficiently across all targets, achieving performance within 9.8% of hand-tuned expert implementations.

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.

4 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

  • Disdp: Disaggregating Compute, Network, and Storage for Model-Sharded Data-Parallel Training cites PANIC: A High-Performance Programmable NIC for Multi-tenant Networks
  • LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline Parallelism cites Enabling Programmable Transport Protocols in High-Speed NICs
  • LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline Parallelism cites PANIC: A High-Performance Programmable NIC for Multi-tenant Networks
  • Efficient and Flexible Datapaths for Fine-Grained Rack-Scale Interconnects with Elastic QP cites SRNIC: A Scalable Architecture for RDMA NICs
  • Efficient and Flexible Datapaths for Fine-Grained Rack-Scale Interconnects with Elastic QP cites LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline Parallelism
  • Efficient and Flexible Datapaths for Fine-Grained Rack-Scale Interconnects with Elastic QP cites Enabling Programmable Transport Protocols in High-Speed NICs
  • PANIC: A High-Performance Programmable NIC for Multi-tenant Networks cites Enabling Programmable Transport Protocols in High-Speed NICs
  • VeriLucid: A Verification-aware Data-plane Programming Language cites NutCracker: A Compilation Framework for Hybrid DPU Architectures
  • NutCracker: A Compilation Framework for Hybrid DPU Architectures cites LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline Parallelism
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. NutCracker: A Compilation Framework for Hybrid DPU ArchitecturesYihan Yang, Haifeng Sun, Antoine Kaufmann, Jialin LiEuroSys 2026 · 2 citations
  2. Disdp: Disaggregating Compute, Network, and Storage for Model-Sharded Data-Parallel TrainingMo Sun, Zihan Yang, Changyue Liao, Yingtao Li et al.ISCA 2026 · 1 citation
  3. Efficient and Flexible Datapaths for Fine-Grained Rack-Scale Interconnects with Elastic QPChenxingyu Zhao, Yibo Wu, Hongtao Zhang, Jaehong Min et al.SIGCOMM 2026 · 1 citation
  4. VeriLucid: A Verification-aware Data-plane Programming LanguageJohn Sonchack, Pamela Zave, Jennifer RexfordSIGCOMM 2026

Builds on20

  1. SRNIC: A Scalable Architecture for RDMA NICsZilong Wang, Layong Luo, Qingsong Ning, Chaoliang Zeng et al.NSDI 2023 · 154 citations
  2. Sailfish: accelerating cloud-scale multi-tenant multi-service gateways with programmable switchesTian Pan, Nianbing Yu, Chenhao Jia, Jianwen Pi et al.SIGCOMM 2021 · 111 citations
  3. PANIC: A High-Performance Programmable NIC for Multi-tenant NetworksJiaxin Lin, Kiran Patel, Brent E. Stephens, Anirudh Sivaraman et al.OSDI 2020 · 104 citations
  4. Enabling Programmable Transport Protocols in High-Speed NICsMina Tahmasbi Arashloo, Alexey Lavrov, Manya Ghobadi, Jennifer Rexford et al.NSDI 2020 · 96 citations
  5. LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline ParallelismJongyul Kim, Insu Jang, Waleed Reda, Jaeseong Im et al.SOSP 2021 · 83 citations

Related papers

  1. Unleashing SmartNIC Packet Processing Performance in P4Jiarong Xing, Yiming Qiu, Kuo-Feng Hsu, Songyuan Sui et al.SIGCOMM 2023 · 29 citations
  2. RpcNIC: Enabling Efficient Datacenter RPC Offloading on PCIe-attached SmartNICsJie Zhang, Hongjing Huang, Xuzheng Chen, Xiang Li et al.HPCA 2025 · 6 citations
  3. LogNIC: A High-Level Performance Model for SmartNICsZerui Guo, Jiaxin Lin, Yuebin Bai, Daehyeok Kim et al.MICRO 2023 · 17 citations
  4. Automated SmartNIC Offloading Insights for Network FunctionsYiming Qiu, Jiarong Xing, Kuo-Feng Hsu, Qiao Kang et al.SOSP 2021 · 37 citations
  5. STYX: Exploiting SmartNIC Capability to Reduce Datacenter Memory TaxHouxiang Ji, Mark Mansi, Yan Sun, Yifan Yuan et al.USENIX ATC 2023 · 22 citations
Dusk over the sea between two cliffs drawn in fine vertical lines