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

分散计算的最优运算量算法设计与实验评价

Design and Experimental Evaluation of Algorithms for Optimizing the Throughput of Dispersed Computing

Xiangchen Zhao, Diyi Hu, Bhaskar Krishnamachari

摘要:

随着物联网(IoT)和机器学习(ML)应用程序的部署不断增长,这些应用程序需要利用边缘和云资源上的计算,因此开发算法和工具来放置这些分布式计算以优化其性能非常重要。我们解决的问题,最佳地放置在一组机器上的计算(描述为有向无环图(DAG)),以最大限度地提高稳态吞吐量的流水线输入。传统上,这样的优化集中在不同的度量,最小化单次完工时间,一个众所周知的算法是异构最早完成时间(HEFT)算法。然而,最大化吞吐量更适合于许多实时,边缘,云和物联网应用,我们提出了一种不同的调度算法,即HHEFT(TPHEFT)。此外,我们提出了两个面向吞吐量的增强,可以应用于任何基线时间表,我们称为“节点分裂”(SPLIT)和“任务复制”(DUP)。为了实现和评估这些算法,我们为一个名为Jupiter的开源分散计算框架构建了新的子系统和插件。不同DAG结构的实验表明:1)与HEFT相比,TPHEFT可以显著提高吞吐量性能(在我们的实验中高达2.3倍),当DAG中的并行度较低时具有更大的增益,2)节点分裂可以潜在地提高基线调度的性能,当存在计算或任务间通信的不平衡分配时具有更大的增益,3)任务复制通常只有在将通信置于慢速链路上的基线上运行时才能得到改进。据我们所知,这是第一个研究,提出了一个系统的实验实施和探索的吞吐量增强技术,分散计算在真正的测试平台。

英文摘要:

With growing deployment of Internet of Things (IoT) and machine learning (ML) applications, which need to leverage computation on edge and cloud resources, it is important to develop algorithms and tools to place these distributed computations to optimize their performance. We address the problem of optimally placing computations (described as directed acyclic graphs (DAGs)) on a set of machines to maximize the steady-state throughput for pipelined inputs. Traditionally, such optimization has focused on a different metric, minimizing single-shot makespan, and a well-known algorithm is the Heterogeneous Earliest Finish Time (HEFT) algorithm. Maximizing throughput however, is more suitable for many real-time, edge, cloud and IoT applications, we present a different scheduling algorithm, namely Throughput HEFT (TPHEFT). Further, we present two throughput-oriented enhancements which can be applied to any baseline schedule, that we refer to as "node splitting" (SPLIT) and "task duplication" (DUP). In order to implement and evaluate these algorithms, we built new subsystems and plugins for an open-source dispersed computing framework called Jupiter. Experiments with varying DAG structures indicate that: 1) TPHEFT can significantly improve throughput performance compared to HEFT (up to 2.3 times in our experiments), with greater gains when there is less degree of parallelism in the DAG, 2) Node splitting can potentially improve performance over a baseline schedule, with greater gains when there's an imbalanced allocation of computation or inter-task communication, and 3) Task duplication generally gives improvements only when running upon a baseline that places communication over slow links. To our knowledge, this is the first study to present a systematic experimental implementation and exploration of throughput-enhancing techniques for dispersed computing on real testbeds.

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

↑