Renting servers in the cloud: The case of equal duration jobs

IF 1 3区 数学 Q3 MATHEMATICS, APPLIED Discrete Applied Mathematics Pub Date : 2024-11-21 DOI:10.1016/j.dam.2024.11.015
Mahtab Masoori , Lata Narayanan , Denis Pankratov
{"title":"Renting servers in the cloud: The case of equal duration jobs","authors":"Mahtab Masoori ,&nbsp;Lata Narayanan ,&nbsp;Denis Pankratov","doi":"10.1016/j.dam.2024.11.015","DOIUrl":null,"url":null,"abstract":"<div><div>Renting servers in the cloud is a generalization of the bin packing problem, motivated by job allocation to servers in cloud computing applications. Jobs arrive in an online manner, and need to be assigned to servers; their duration and size are known at the time of arrival. There is an infinite supply of identical servers, each having one unit of computational capacity per unit of time. A server can be rented at any time and continues to be rented until all jobs assigned to it finish. The cost of an assignment is the sum of durations of rental periods of all servers. The goal is to assign jobs to servers to minimize the overall cost while satisfying server capacity constraints. We focus on analyzing two natural algorithms, <em>NextFit</em> and <em>FirstFit</em>, for the case of jobs of equal duration. It is known that the competitive ratio of <em>NextFit</em> and <em>FirstFit</em> are at most 3 and 4 respectively for this case. We prove a tight bound of 2 on the competitive ratio of <em>NextFit</em>. For <em>FirstFit</em>, we establish a lower bound of <span><math><mrow><mo>≈</mo><mn>2</mn><mo>.</mo><mn>519</mn></mrow></math></span> on the competitive ratio, even when jobs have only two distinct arrival times 0 and <span><math><mi>t</mi></math></span>. Using the weight function technique, we show that this bound is almost tight when there are only two arrival times; we obtain an upper bound of 2.565 on the asymptotic competitive ratio of <em>FirstFit</em>. In fact, we show an upper bound of <span><math><mrow><mfrac><mrow><mn>168</mn></mrow><mrow><mn>131</mn></mrow></mfrac><mrow><mo>(</mo><mn>1</mn><mo>+</mo><mi>t</mi><mo>)</mo></mrow></mrow></math></span> on the asymptotic competitive ratio for any <span><math><mrow><mi>t</mi><mo>&gt;</mo><mn>0</mn><mo>.</mo><mn>559</mn></mrow></math></span>. For the case when jobs have arrival times 0 and 1 and duration 2, we show a lower bound of <span><math><mrow><mo>≈</mo><mn>1</mn><mo>.</mo><mn>89</mn></mrow></math></span> and an upper bound of 2 on the strict competitive ratio of <em>FirstFit</em>. Finally, we show an upper bound of <span><math><mrow><mn>3</mn><mo>/</mo><mn>2</mn></mrow></math></span> on the competitive ratio of long-running uniform servers.</div></div>","PeriodicalId":50573,"journal":{"name":"Discrete Applied Mathematics","volume":"362 ","pages":"Pages 82-99"},"PeriodicalIF":1.0000,"publicationDate":"2024-11-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Discrete Applied Mathematics","FirstCategoryId":"100","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0166218X24004852","RegionNum":3,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"MATHEMATICS, APPLIED","Score":null,"Total":0}
引用次数: 0

Abstract

Renting servers in the cloud is a generalization of the bin packing problem, motivated by job allocation to servers in cloud computing applications. Jobs arrive in an online manner, and need to be assigned to servers; their duration and size are known at the time of arrival. There is an infinite supply of identical servers, each having one unit of computational capacity per unit of time. A server can be rented at any time and continues to be rented until all jobs assigned to it finish. The cost of an assignment is the sum of durations of rental periods of all servers. The goal is to assign jobs to servers to minimize the overall cost while satisfying server capacity constraints. We focus on analyzing two natural algorithms, NextFit and FirstFit, for the case of jobs of equal duration. It is known that the competitive ratio of NextFit and FirstFit are at most 3 and 4 respectively for this case. We prove a tight bound of 2 on the competitive ratio of NextFit. For FirstFit, we establish a lower bound of 2.519 on the competitive ratio, even when jobs have only two distinct arrival times 0 and t. Using the weight function technique, we show that this bound is almost tight when there are only two arrival times; we obtain an upper bound of 2.565 on the asymptotic competitive ratio of FirstFit. In fact, we show an upper bound of 168131(1+t) on the asymptotic competitive ratio for any t>0.559. For the case when jobs have arrival times 0 and 1 and duration 2, we show a lower bound of 1.89 and an upper bound of 2 on the strict competitive ratio of FirstFit. Finally, we show an upper bound of 3/2 on the competitive ratio of long-running uniform servers.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
在云中租用服务器:等时作业案例
云计算中的服务器租用是垃圾箱打包问题的一般化,其动机是将作业分配给云计算应用中的服务器。作业以在线方式到达,需要分配给服务器;作业的持续时间和大小在到达时是已知的。相同服务器的供应量是无限的,每台服务器在单位时间内拥有一个单位的计算能力。服务器可以随时被租用,并一直租用到分配给它的所有作业完成为止。任务分配的成本是所有服务器租用期的总和。我们的目标是在满足服务器容量限制的前提下,将作业分配到服务器,从而使总成本最小化。我们重点分析了作业持续时间相等情况下的两种自然算法 NextFit 和 FirstFit。众所周知,在这种情况下,NextFit 和 FirstFit 的竞争比分别最多为 3 和 4。我们证明了 NextFit 的竞争比为 2 的严格约束。对于 FirstFit,即使工作只有两个不同的到达时间 0 和 t,我们也能确定竞争率的下限为 ≈2.519。利用权重函数技术,我们证明了当只有两个到达时间时,这个下限几乎是紧密的;我们得到了 FirstFit 的渐近竞争率的上限 2.565。事实上,我们还证明了在任何 t>0.559 时,渐近竞争比的上限为 168131(1+t)。对于作业到达时间为 0 和 1,持续时间为 2 的情况,我们显示 FirstFit 的严格竞争比下限为 ≈1.89,上限为 2。最后,我们还显示了长期运行的均匀服务器的竞争比率上限为 3/2。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Discrete Applied Mathematics
Discrete Applied Mathematics 数学-应用数学
CiteScore
2.30
自引率
9.10%
发文量
422
审稿时长
4.5 months
期刊介绍: The aim of Discrete Applied Mathematics is to bring together research papers in different areas of algorithmic and applicable discrete mathematics as well as applications of combinatorial mathematics to informatics and various areas of science and technology. Contributions presented to the journal can be research papers, short notes, surveys, and possibly research problems. The "Communications" section will be devoted to the fastest possible publication of recent research results that are checked and recommended for publication by a member of the Editorial Board. The journal will also publish a limited number of book announcements as well as proceedings of conferences. These proceedings will be fully refereed and adhere to the normal standards of the journal. Potential authors are advised to view the journal and the open calls-for-papers of special issues before submitting their manuscripts. Only high-quality, original work that is within the scope of the journal or the targeted special issue will be considered.
期刊最新文献
Cyclic base ordering of certain degenerate graphs A note on universal graphs for spanning trees Characterization of graphs with the limited normalized algebraic connectivity Renting servers in the cloud: The case of equal duration jobs Resistance distance in generalized core–satellite graphs
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1