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

通过成本最优的MDP解决方案实现VM扩展和负载均衡

VM Scaling and Load Balancing via Cost Optimal MDP Solution

Mark Shifrin, Roy Mitrany, Erez Biton, Omer Gurewitz

摘要:

我们解决了一个成本优化问题所面临的用户谁运行的应用程序实例在远程云配置构建的多个虚拟机(VM)。每个VM运行单个应用程序实例,该应用程序实例可以执行特定于该应用程序的任务。管理虚拟机涉及云相关需求(由租用云资源的临时成本表示)和外生成本需求(由通常与SLA绑定的服务收入表示)之间的复杂权衡。内部成本可能包括VM部署/终止成本和VM租赁成本。外生成本指的是由于每个应用程序实例运行的成功完成的任务而累积的奖励。在SLA将性能限制在每个VM的特定负载级别的情况下,在达到该级别的VM处传入的任务将被拒绝。拒绝会导致罚款从奖励中扣除。绩效水平也可以量化,即通过延迟成本,根据任务经历的平均延迟。属于这类问题的特定应用的典型示例包括科学工作流和网络功能虚拟化(NFV)的处理。我们模型这个问题的成本最优的负载均衡的队列系统具有灵活的队列数量,其中队列(VM)可以部署,可以有一个任务指向它,可以被终止。我们分析了系统的马尔可夫决策过程(MDP),并数值求解,以找到最优的政策,它捕获上述成本和性能约束。在这个受约束的框架内,我们还调查了平均虚拟机部署时间的影响。我们表明,最优策略具有决策阈值,这取决于几个参数。我们通过将外源计算任务流引导到AWS上实现的设置来验证MDP发现的策略。

英文摘要:

We address a cost optimization problem faced by a user who runs instances of applications in a remote cloud configuration constructed of multiple virtual machines (VMs). Each VM runs a single application instance which can execute tasks specific to that application. Managing the VMs involves a sophisticated trade-off between cloud-related demands, which are expressed by the provisional costs of leased cloud resources, and exogenous cost demands expressed by service revenues that are typically bound to SLAs. The internal costs may include VM deployment/termination cost, and VM lease cost. The exogenous costs refer to rewards accumulated due to the successfully accomplished tasks being run by each application instance. In the case where the SLA restricts performance to a certain load level at each VM, tasks incoming at VMs that reached that level are rejected. Rejections cause fines deducted against the rewards. The performance level is also quantified, namely, by means of a delay cost, according to the average delay experienced by tasks. Typical examples for specific applications which fall within this class of problems include handling of scientific worklflows and network functioning virtualization (NFV). We model this problem by cost-optimal load balancing to a queuing system with a flexible number of queues, where a queue (VM) can be deployed, can have a task directed to it and can be terminated. We analyze the system by Markov decision process (MDP) and numerically solve it to find the optimal policy, which captures the aforementioned costs and performance constraints. Within this constrained framework, we also investigate the impact of average VM deployment time. We show that the optimal policy possesses decision thresholds which depend on several parameters. We validate policies found by MDP, through directing an exogenous computational tasks flow to a set-up implemented on AWS.

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

↑