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

动态装箱中迁移的威力

The Power of Migrations in Dynamic Bin Packing

Konstantina Mellou, Marco Molinaro, Rudy Zhou

AI总结:

研究动态装箱中有限(≤n)次迁移的威力,证明次线性迁移等价于零迁移,而αn次迁移可实现1/α竞争比,并引入考虑迁移延迟的新模型证明O(min(√C,μ))近似。

摘要:

在动态装箱(Dynamic Bin Packing)问题中,$n$ 个物品以在线方式到达和离开系统,目标是始终保持良好的装箱状态。我们考虑最小化总活跃时间的目标,即所有时间内开启的箱子数量之和。在许多应用中,维持高效装箱的一个重要工具是使用迁移;例如,在不同机器之间转移计算任务。然而,我们对带迁移的动态装箱近似性的理解存在巨大差距。先前的工作涵盖了无迁移和 $> n$ 次迁移的威力,但我们提出的问题是:有限($\leq n$)次迁移的威力是什么?\n我们的第一个结果是无迁移和线性迁移之间的二分法:使用次线性数量的迁移在渐近意义上等同于零迁移,其中竞争比随 $μ$(最大与最小物品持续时间的比率)增长。另一方面,我们证明对于每个 $α\in (0,1]$,存在一个算法执行 $\approx αn$ 次迁移并实现 $\approx 1/α$ 的竞争比(特别地,与 $μ$ 无关);我们还表明这种权衡基本上是可能达到的最佳情况。这填补了动态装箱中零迁移和 $> n$ 次迁移之间的空白。\n最后,鉴于上述不可能性结果,我们引入了一个新模型,更直接地捕捉迁移的影响。我们不再限制迁移次数,而是每次迁移给物品的持续时间增加 $C$ 个时间单位的延迟;这通常出现在物品在新箱子中重新开始执行前需要停电或准备时间的场景中。在这个新模型中,我们证明了 $O(\min (\sqrt{C}, μ))$ 近似,以及一个几乎匹配的下界。

英文摘要:

In the Dynamic Bin Packing problem, $n$ items arrive and depart the system in an online manner, and the goal is to maintain a good packing throughout. We consider the objective of minimizing the total active time, i.e., the sum of the number of open bins over all times. An important tool for maintaining an efficient packing in many applications is the use of migrations; e.g., transferring computing jobs across different machines. However, there are large gaps in our understanding of the approximability of dynamic bin packing with migrations. Prior work has covered the power of no migrations and $> n$ migrations, but we ask the question: What is the power of limited ($\leq n$) migrations? Our first result is a dichotomy between no migrations and linear migrations: Using a sublinear number of migrations is asymptotically equivalent to doing zero migrations, where the competitive ratio grows with $μ$, the ratio of the largest to smallest item duration. On the other hand, we prove that for every $α\in (0,1]$, there is an algorithm that does $\approx αn$ migrations and achieves competitive ratio $\approx 1/α$ (in particular, independent of $μ$); we also show that this tradeoff is essentially best possible. This fills in the gap between zero migrations and $> n$ migrations in Dynamic Bin Packing. Finally, in light of the above impossibility results, we introduce a new model that more directly captures the impact of migrations. Instead of limiting the number of migrations, each migration adds a delay of $C$ time units to the item's duration; this commonly appears in settings where a blackout or set-up time is required before the item can restart its execution in the new bin. In this new model, we prove a $O(\min (\sqrt{C}, μ))$-approximation, and an almost matching lower bound.

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

↑