软件学报
軟件學報
연건학보
JOURNAL OF SOFTWARE
2013年
2期
358-377
,共20页
虚拟化%数据中心%多层应用%资源管理%服务级目标%控制论%线性二次方法%聚类算法
虛擬化%數據中心%多層應用%資源管理%服務級目標%控製論%線性二次方法%聚類算法
허의화%수거중심%다층응용%자원관리%복무급목표%공제론%선성이차방법%취류산법
virtualization%data center%multi-tier application%resource management%service level object%control theory%linear quadratic method%clustering algorithm
在虚拟环境中实现应用服务级目标,是当前数据中心系统管理的关键问题之一.解决该问题有两个方面的要求:一方面,在虚拟化层次和范围内,能够动态和分布式地按需调整虚拟机资源分配;另一方面,在虚拟化范围之外,能够控制由于虚拟机对非虚拟化资源的竞争所导致的性能干扰,实现虚拟机性能隔离.然而,已有工作不适用于虚拟化数据中心场景.提出一种面向应用服务级目标的虚拟化资源管理方法.首先,该方法基于反馈控制理论,通过动态调整虚拟机资源分配来实现每个应用的服务器目标;同时,还设计了一个两层结构的自适应机制,使得应用模型能够动态地捕捉虚拟机资源分配与应用性能的时变非线性关系;最后,该方法通过仲裁不同应用的资源分配请求来控制虚拟机在非虚拟化资源上的竞争干扰.实验在基于Xen的机群环境中检验了该方法在RUBiS系统和TPC-W基准上的效果.实验结果显示,该方法的应用服务级目标实现率比两种对比方法平均高29.2%,而应用服务级目标平均偏离率比它们平均低50.1%.另一方面,当RUBiS系统和TPC-W基准竞争非虚拟化的磁盘I/O资源时,该方法通过抑制TPC-W基准28.7%的处理器资源需求来优先满足RUBiS系统的磁盘I/O需求.
在虛擬環境中實現應用服務級目標,是噹前數據中心繫統管理的關鍵問題之一.解決該問題有兩箇方麵的要求:一方麵,在虛擬化層次和範圍內,能夠動態和分佈式地按需調整虛擬機資源分配;另一方麵,在虛擬化範圍之外,能夠控製由于虛擬機對非虛擬化資源的競爭所導緻的性能榦擾,實現虛擬機性能隔離.然而,已有工作不適用于虛擬化數據中心場景.提齣一種麵嚮應用服務級目標的虛擬化資源管理方法.首先,該方法基于反饋控製理論,通過動態調整虛擬機資源分配來實現每箇應用的服務器目標;同時,還設計瞭一箇兩層結構的自適應機製,使得應用模型能夠動態地捕捉虛擬機資源分配與應用性能的時變非線性關繫;最後,該方法通過仲裁不同應用的資源分配請求來控製虛擬機在非虛擬化資源上的競爭榦擾.實驗在基于Xen的機群環境中檢驗瞭該方法在RUBiS繫統和TPC-W基準上的效果.實驗結果顯示,該方法的應用服務級目標實現率比兩種對比方法平均高29.2%,而應用服務級目標平均偏離率比它們平均低50.1%.另一方麵,噹RUBiS繫統和TPC-W基準競爭非虛擬化的磁盤I/O資源時,該方法通過抑製TPC-W基準28.7%的處理器資源需求來優先滿足RUBiS繫統的磁盤I/O需求.
재허의배경중실현응용복무급목표,시당전수거중심계통관리적관건문제지일.해결해문제유량개방면적요구:일방면,재허의화층차화범위내,능구동태화분포식지안수조정허의궤자원분배;령일방면,재허의화범위지외,능구공제유우허의궤대비허의화자원적경쟁소도치적성능간우,실현허의궤성능격리.연이,이유공작불괄용우허의화수거중심장경.제출일충면향응용복무급목표적허의화자원관리방법.수선,해방법기우반궤공제이론,통과동태조정허의궤자원분배래실현매개응용적복무기목표;동시,환설계료일개량층결구적자괄응궤제,사득응용모형능구동태지포착허의궤자원분배여응용성능적시변비선성관계;최후,해방법통과중재불동응용적자원분배청구래공제허의궤재비허의화자원상적경쟁간우.실험재기우Xen적궤군배경중검험료해방법재RUBiS계통화TPC-W기준상적효과.실험결과현시,해방법적응용복무급목표실현솔비량충대비방법평균고29.2%,이응용복무급목표평균편리솔비타문평균저50.1%.령일방면,당RUBiS계통화TPC-W기준경쟁비허의화적자반I/O자원시,해방법통과억제TPC-W기준28.7%적처리기자원수구래우선만족RUBiS계통적자반I/O수구.
Virtualized resources management for service level objectives (SLOs) of applications has been one of the key problems of system management in current data centers. To solve this problem one needs to: 1) dynamically and distributed allocating resources to virtual machines (VMs) of applications on demand;2) efficiently control interference among VMs consolidated on a single physical server, due to their contention on non-virtualized resources. Many existing methods, however, are not suitable for this virtualized data center scenario. This paper presents a method for the virtualized resource management for SLOs of applications. First, based on the feedback control theory, this method can achieve SLOs of applications through dynamically resourced allocation. Second, a two-layer self-adaptive mechanism is devised and used to dynamically capture the non-linear relationship between the performance of applications and the resources allocation. Third, this method can control the performance interference among VMs on non-virtualized resources through virtualized resources allocation. The study has evaluated this method on the RUBiS system and TPC-W benchmark in a Xen-based virtualized cluster. The experimental results show that the average rate of SLOs achieved by this method is 29.2%higher than ones by two existing methods. Along with the average deviation from SLOs, this method is 50.1% lower than ones of the existing methods. Furthermore, when resource contention occurs on non-virtualized disk I/O between RUBiS and TPC-W, this method can almost entirely satisfy the disk I/O requirement of RUBiS of high priority through restraining TPC-W requests, e.g. 28.7%, on virtualized CPU.