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

在云中租用服务器的有效在线策略

Efficient Online Strategies for Renting Servers in the Cloud

Shahin Kamali, Alejandro López-Ortiz

摘要:

在云系统中,我们经常以在线方式处理到达和离开的作业。在它到达时,应该将作业分配给服务器。每个作业都有一个大小,它定义了它需要的资源量。服务器具有统一的容量,并且在任何时候,分配给服务器的作业的总大小都不应超过容量。这个设置与经典装箱问题密切相关。不同的是,在装箱中,目标是最小化使用的服务器总数。然而,在云中,每个服务器的费用与租用时间间隔的长度成比例,目标是最大限度地减少租用所有使用的服务器所涉及的成本。最近,某些装箱策略被考虑用于在云中租用服务器[Li等人SPAA'14]。证明了所有Any-Fit装箱策略的竞争比至少为$μ$,其中$μ$是工件的最大/最小区间长度比.它还表明,第一次适合有一个竞争比$2μ+ 13$,而最佳适合是没有竞争力的。我们观察到,下限的$μ$扩展到所有的在线算法。我们还证明,令人惊讶的是,Next Fit算法的竞争比最多为$2 μ+1$。我们还表明,下一个适合的变体实现了竞争比$K \times max\{1,μ/(K-1)\}+1$,其中$K$是该算法的参数。特别地,如果$μ$的值是已知的,则该算法具有$μ+2$的竞争比;这改进了现有的$μ+8$的上界。最后,我们介绍了一个简单的算法称为移动到前面(MTF),它具有最多$6μ+ 7$的竞争比,也有希望的平均情况下的性能。我们通过实验研究了不同算法的平均情况下的性能,并观察到MTF的典型行为明显优于其他算法。

英文摘要:

In Cloud systems, we often deal with jobs that arrive and depart in an online manner. Upon its arrival, a job should be assigned to a server. Each job has a size which defines the amount of resources that it needs. Servers have uniform capacity and, at all times, the total size of jobs assigned to a server should not exceed the capacity. This setting is closely related to the classic bin packing problem. The difference is that, in bin packing, the objective is to minimize the total number of used servers. In the Cloud, however, the charge for each server is proportional to the length of the time interval it is rented for, and the goal is to minimize the cost involved in renting all used servers. Recently, certain bin packing strategies were considered for renting servers in the Cloud [Li et al. SPAA'14]. There, it is proved that all Any-Fit bin packing strategy has a competitive ratio of at least $μ$, where $μ$ is the max/min interval length ratio of jobs. It is also shown that First Fit has a competitive ratio of $2μ+ 13$ while Best Fit is not competitive at all. We observe that the lower bound of $μ$ extends to all online algorithms. We also prove that, surprisingly, Next Fit algorithm has competitive ratio of at most $2 μ+1$. We also show that a variant of Next Fit achieves a competitive ratio of $K \times max\{1,μ/(K-1)\}+1$, where $K$ is a parameter of the algorithm. In particular, if the value of $μ$ is known, the algorithm has a competitive ratio of $μ+2$; this improves upon the existing upper bound of $μ+8$. Finally, we introduce a simple algorithm called Move To Front (MTF) which has a competitive ratio of at most $6μ+ 7$ and also promising average-case performance. We experimentally study the average-case performance of different algorithms and observe that the typical behaviour of MTF is distinctively better than other algorithms.

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

↑