arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.08648cs.DS
收藏

面向云中在线资源分配的动态向量装箱

Dynamic Vector Bin Packing for Online Resource Allocation in the Cloud

Aniket Murhekar, David Arbour, Tung Mai, Anup Rao

AI总结:

本文研究云环境中多维资源需求的在线动态向量装箱问题,给出 First Fit、Next Fit 和 Move To Front 三种 Any Fit 算法的竞争比上下界,改进了一维情形下的已知结果,并通过实验表明 Move To Front 平均性能最优。

摘要:

一些基于云的应用(如云游戏)租用服务器来执行以在线方式到达的作业。每个作业都有资源需求,必须被派发到具有足够资源来执行该作业的云服务器上,作业在完成后离开。在“按使用付费”的计费模式下,服务器租用成本与服务器主动运行作业的总时间成正比。将在线作业序列高效分配到服务器上,同时不超出任何服务器的资源容量,并最小化服务器总使用时间的问题,可以建模为动态装箱问题(DBP)的一个变体,称为 MinUsageTime DBP。在本文中,我们首次研究了具有多维资源需求(例如 CPU/GPU 使用量、内存需求、带宽使用量等)的该问题,称为 MinUsageTime 动态向量装箱(DVBP)。我们研究了 Any Fit 装箱算法在该问题上的竞争比(CR)。我们给出了三种具体 Any Fit 装箱算法(即 First Fit、Next Fit 和 Move To Front)竞争比的几乎紧的界。我们证明 Move To Front 的竞争比至多为 $(2μ+1)d +1$,其中 $μ$ 是作业时长的最大值与最小值之比。对于 $d=1$,这显著改进了此前已知的 $6μ+7$ 的上界(Kamali & Lopez-Ortiz, 2015)。随后我们证明 First Fit 和 Next Fit 的竞争比分别以 $(μ+2)d+1$ 和 $2μd+1$ 为界。接下来,我们证明了任意 Any Fit 装箱算法竞争比的下界为 $(μ+1)d$,Next Fit 的改进下界为 $2μd$,以及在一维情形下 Move To Front 的下界为 $2μ$。我们所有的界都改进或匹配了一维情形下的已知最优界。最后,我们在随机生成的合成数据上实验研究了这些算法的平均情况性能,并观察到 Move To Front 优于其他 Any Fit 装箱算法。

英文摘要:

Several cloud-based applications, such as cloud gaming, rent servers to execute jobs which arrive in an online fashion. Each job has a resource demand and must be dispatched to a cloud server which has enough resources to execute the job, which departs after its completion. Under the `pay-as-you-go' billing model, the server rental cost is proportional to the total time that servers are actively running jobs. The problem of efficiently allocating a sequence of online jobs to servers without exceeding the resource capacity of any server while minimizing total server usage time can be modelled as a variant of the dynamic bin packing problem (DBP), called MinUsageTime DBP. In this work, we initiate the study of the problem with multi-dimensional resource demands (e.g. CPU/GPU usage, memory requirement, bandwidth usage, etc.), called MinUsageTime Dynamic Vector Bin Packing (DVBP). We study the competitive ratio (CR) of Any Fit packing algorithms for this problem. We show almost-tight bounds on the CR of three specific Any Fit packing algorithms, namely First Fit, Next Fit, and Move To Front. We prove that the CR of Move To Front is at most $(2μ+1)d +1$, where $μ$ is the ratio of the max/min item durations. For $d=1$, this significantly improves the previously known upper bound of $6μ+7$ (Kamali & Lopez-Ortiz, 2015). We then prove the CR of First Fit and Next Fit are bounded by $(μ+2)d+1$ and $2μd+1$, respectively. Next, we prove a lower bound of $(μ+1)d$ on the CR of any Any Fit packing algorithm, an improved lower bound of $2μd$ for Next Fit, and a lower bound of $2μ$ for Move To Front in the 1-D case. All our bounds improve or match the best-known bounds for the 1-D case. Finally, we experimentally study the average-case performance of these algorithms on randomly generated synthetic data, and observe that Move To Front outperforms other Any Fit packing algorithms.

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

↑