paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A Generic Service to Provide In-Network Aggregation for Key-Value Streams

用于键值流的通用网内聚合服务
ASPLOS Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 22023匹配度 1/10 · 该论文研究可编程交换机上的键值流网内聚合,属于分布式系统与网络加速方向,与用户关注的静态分析、LLM/Agent、浮点程序分析、贝叶斯程序分析等核心方向均无交集。引用 53 inbox
Yongchao He, Wenfei Wu, Yanfang Le, Ming Liu, ChonLam Lao
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出交换机-主机协同的通用网内聚合服务 ASK,通过向量化、轻量可靠机制与热点键无关优先级加速键值流聚合。

键值流聚合在分布式系统中常见,但计算和网络开销大。本文提出通用网内聚合服务 ASK,采用可编程交换机与主机协同设计:交换机提供尽力而为聚合,主机守护进程对接应用。ASK 针对流量特征、硬件限制和网络不可靠性优化:在一次交换机流水线通过中向量化多个键值元组的聚合并提升单主机吞吐;为异步聚合设计轻量可靠性机制以保证正确性;面向键倾斜负载设计热点键无关优先级以提升交换机内存利用率。原型支持 Spark 和 BytePS,纯键值聚合任务最高加速 155 倍,大数据作业加速 3–5 倍。

问题
键值流聚合是分布式系统中的常见操作,但需要大量计算和网络资源;如何为不同应用提供通用的网内加速是关键问题。
方法
ASK 采用可编程交换机与主机协同设计,由交换机提供尽力而为聚合、主机守护进程对接应用,并通过流水线向量化、轻量可靠性机制和热点键无关优先级适配流量、硬件与网络不可靠性。
评估
原型支持 Spark 和 BytePS;评估显示纯键值聚合任务最高加速 155 倍,大数据作业加速 3–5 倍,且对现有网内聚合增强的分布式训练方案向后兼容并保持相同加速。
原文摘要(Abstract)

Key-value stream aggregation is a common operation in distributed systems, which requires intensive computation and network resources. We propose a generic in-network aggregation service for key-value streams, ASK, to accelerate the aggregation operations in diverse distributed applications. ASK is a switch-host co-designed system, where the programmable switch provides a best-effort aggregation service, and the host runs a daemon to interact with applications. ASK makes in-depth optimization tailored to traffic characteristics, hardware restrictions, and network unreliable natures: it vectorizes multiple key-value tuples’ aggregation of one packet in one switch pipeline pass, which improves the per-host’s goodput; it develops a lightweight reliability mechanism for key-value stream’s asynchronous aggregation, which guarantees computation correctness; it designs a hot-key agnostic prioritization for key-skewed workloads, which improves the switch memory utilization. We prototype ASK and use it to support Spark and BytePS. The evaluation shows that ASK could accelerate pure key-value aggregation tasks by up to 155 times and big data jobs by 3-5 times, and be backward compatible with existing INA-empowered distributed training solutions with the same speedup.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{HeWLLL23,
  title = {A Generic Service to Provide In-Network Aggregation for Key-Value Streams},
  author = {Yongchao He and Wenfei Wu and Yanfang Le and Ming Liu and ChonLam Lao},
  booktitle = {ASPLOS},
  year = {2023},
  doi = {10.1145/3575693.3575708}
}