Enabling Portable and High-Performance SmartNIC Programs with Alkali
Jiaxin Lin, Zhiyuan Guo, Mihir Shah, Tao Ji, Yiying Zhang, Daehyeok Kim, Aditya Akella
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Disdp: Disaggregating Compute, Network, and Storage for Model-Sharded Data-Parallel Training 引用了 PANIC: A High-Performance Programmable NIC for Multi-tenant Networks
- LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline Parallelism 引用了 Enabling Programmable Transport Protocols in High-Speed NICs
- LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline Parallelism 引用了 PANIC: A High-Performance Programmable NIC for Multi-tenant Networks
- Efficient and Flexible Datapaths for Fine-Grained Rack-Scale Interconnects with Elastic QP 引用了 SRNIC: A Scalable Architecture for RDMA NICs
- Efficient and Flexible Datapaths for Fine-Grained Rack-Scale Interconnects with Elastic QP 引用了 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 引用了 Enabling Programmable Transport Protocols in High-Speed NICs
- PANIC: A High-Performance Programmable NIC for Multi-tenant Networks 引用了 Enabling Programmable Transport Protocols in High-Speed NICs
- VeriLucid: A Verification-aware Data-plane Programming Language 引用了 NutCracker: A Compilation Framework for Hybrid DPU Architectures
- NutCracker: A Compilation Framework for Hybrid DPU Architectures 引用了 LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline Parallelism
引用它的顶会 Paper4
- NutCracker: A Compilation Framework for Hybrid DPU ArchitecturesYihan Yang, Haifeng Sun, Antoine Kaufmann, Jialin LiEuroSys 2026 · 2 次引用
- Disdp: Disaggregating Compute, Network, and Storage for Model-Sharded Data-Parallel TrainingMo Sun, Zihan Yang, Changyue Liao, Yingtao Li 等ISCA 2026 · 1 次引用
- Efficient and Flexible Datapaths for Fine-Grained Rack-Scale Interconnects with Elastic QPChenxingyu Zhao, Yibo Wu, Hongtao Zhang, Jaehong Min 等SIGCOMM 2026 · 1 次引用
- VeriLucid: A Verification-aware Data-plane Programming LanguageJohn Sonchack, Pamela Zave, Jennifer RexfordSIGCOMM 2026
它引用的 Paper20
- SRNIC: A Scalable Architecture for RDMA NICsZilong Wang, Layong Luo, Qingsong Ning, Chaoliang Zeng 等NSDI 2023 · 154 次引用
- Sailfish: accelerating cloud-scale multi-tenant multi-service gateways with programmable switchesTian Pan, Nianbing Yu, Chenhao Jia, Jianwen Pi 等SIGCOMM 2021 · 111 次引用
- PANIC: A High-Performance Programmable NIC for Multi-tenant NetworksJiaxin Lin, Kiran Patel, Brent E. Stephens, Anirudh Sivaraman 等OSDI 2020 · 104 次引用
- Enabling Programmable Transport Protocols in High-Speed NICsMina Tahmasbi Arashloo, Alexey Lavrov, Manya Ghobadi, Jennifer Rexford 等NSDI 2020 · 96 次引用
- LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline ParallelismJongyul Kim, Insu Jang, Waleed Reda, Jaeseong Im 等SOSP 2021 · 83 次引用
相关 Paper
- Unleashing SmartNIC Packet Processing Performance in P4Jiarong Xing, Yiming Qiu, Kuo-Feng Hsu, Songyuan Sui 等SIGCOMM 2023 · 29 次引用
- RpcNIC: Enabling Efficient Datacenter RPC Offloading on PCIe-attached SmartNICsJie Zhang, Hongjing Huang, Xuzheng Chen, Xiang Li 等HPCA 2025 · 6 次引用
- LogNIC: A High-Level Performance Model for SmartNICsZerui Guo, Jiaxin Lin, Yuebin Bai, Daehyeok Kim 等MICRO 2023 · 17 次引用
- Automated SmartNIC Offloading Insights for Network FunctionsYiming Qiu, Jiarong Xing, Kuo-Feng Hsu, Qiao Kang 等SOSP 2021 · 37 次引用
- STYX: Exploiting SmartNIC Capability to Reduce Datacenter Memory TaxHouxiang Ji, Mark Mansi, Yan Sun, Yifan Yuan 等USENIX ATC 2023 · 22 次引用
