arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.06161cs.DC
收藏

Harpagon:通过高效的调度、调度和分割来最小化DNN服务成本

Harpagon: Minimizing DNN Serving Cost via Efficient Dispatching, Scheduling and Splitting

Tianjin University(天津大学);Stevens Institute of Technology(史蒂文斯理工学院)

Zhixin Zhao, Yitao Hu, Ziqi Gong, Guotao Yang, Wenxin Li, Xiulong Liu, Keqiu Li, Hao Wang

AI总结:

Harpagon通过高效调度、调度和分割策略,有效降低多DNN应用的服务成本,同时满足延迟约束。

摘要:

深度神经网络(DNN)的进步显著促进了实时视频处理应用的发展。在云托管推理系统中,高效调度DNN工作负载对于在满足应用延迟约束的同时最小化服务成本至关重要。然而,现有系统在请求调度过程中存在过大的模块延迟,在模块调度过程中执行吞吐量较低,在多DNN应用中的延迟分割过程中浪费了延迟预算,这削弱了它们最小化服务成本的能力。在本文中,我们设计了一个名为Harpagon的DNN推理系统,该系统通过三级设计在延迟约束下最小化服务成本。它首先通过具有批量意识的请求调度策略最大化批量收集率,以最小化模块延迟。然后通过多组配置和适当数量的虚拟请求最大化模块吞吐量。它还仔细地将端到端延迟分割为每个模块的延迟预算,以最小化多DNN应用的总服务成本。评估显示,Harpagon在满足延迟目标的同时,服务成本比最先进的方法高出1.49到2.37倍。此外,与使用暴力搜索的最优解相比,Harpagon在毫秒级运行时间内为91.5%的工作负载推导出服务成本的下限。

英文摘要:

Advances in deep neural networks (DNNs) have significantly contributed to the development of real-time video processing applications. Efficient scheduling of DNN workloads in cloud-hosted inference systems is crucial to minimizing serving costs while meeting application latency constraints. However, existing systems suffer from excessive module latency during request dispatching, low execution throughput during module scheduling, and wasted latency budget during latency splitting for multi-DNN application, which undermines their capability to minimize the serving cost. In this paper, we design a DNN inference system called Harpagon, which minimizes the serving cost under latency constraints with a three-level design. It first maximizes the batch collection rate with a batch-aware request dispatch policy to minimize the module latency. It then maximizes the module throughput with multi-tuple configurations and proper amount of dummy requests. It also carefully splits the end-to-end latency into per-module latency budget to minimize the total serving cost for multi-DNN applications. Evaluation shows that Harpagon outperforms the state of the art by 1.49 to 2.37 times in serving cost while satisfying the latency objectives. Additionally, compared to the optimal solution using brute force search, Harpagon derives the lower bound of serving cost for 91.5% workloads with millisecond level runtime.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑