基于內(nèi)存熱插拔的虛擬機動態(tài)內(nèi)存管理系統(tǒng)
發(fā)布時間:2018-04-13 18:54
本文選題:虛擬機 + 動態(tài)內(nèi)存管理; 參考:《華中科技大學(xué)》2012年碩士論文
【摘要】:內(nèi)存資源是虛擬化技術(shù)管理的重要資源之一,對虛擬化系統(tǒng)的性能影響很大。目前,虛擬機在啟動之前都會配置一個內(nèi)存上限,該內(nèi)存上限在虛擬機運行過程中不可更改。然而,虛擬機上運行的應(yīng)用是多種多樣的并且動態(tài)變化的,內(nèi)存需求很難預(yù)知。因此目前靜態(tài)的虛擬機內(nèi)存管理方式導(dǎo)致有的虛擬機內(nèi)存不能滿足應(yīng)用需求,而有的虛擬機內(nèi)存富余。對此,需要一種虛擬機的動態(tài)內(nèi)存管理技術(shù)來保證有限內(nèi)存的高效使用。 基于內(nèi)存熱插拔的虛擬機動態(tài)內(nèi)存管理系統(tǒng)(DMM)可以有效地解決了上述問題。該系統(tǒng)基于Xen的半虛擬化模型,實現(xiàn)了虛擬機內(nèi)存熱插拔,動態(tài)內(nèi)存分配,動態(tài)創(chuàng)建虛擬機三個主要功能。虛擬機內(nèi)存熱插拔利用Linux內(nèi)存熱插拔機制,實現(xiàn)虛擬機上的內(nèi)存熱插拔,可以突破虛擬機初始的內(nèi)存上限,任意增加或減小內(nèi)存。動態(tài)內(nèi)存分配可以實時監(jiān)控虛擬機的內(nèi)存信息,預(yù)測虛擬機的內(nèi)存需求,,周期性地重新分配虛擬機內(nèi)存,平衡虛擬機的內(nèi)存壓力。動態(tài)創(chuàng)建虛擬機可以在物理機內(nèi)存不足時,通過合理減小現(xiàn)有虛擬機的內(nèi)存來創(chuàng)建新虛擬機,實現(xiàn)內(nèi)存過量使用。 系統(tǒng)測試與結(jié)果分析表明:與氣球驅(qū)動相比,虛擬機內(nèi)存熱插拔不存在內(nèi)存上限,擴展性更好,并且沒有更多的性能開銷;動態(tài)內(nèi)存分配能夠顯著提高運行內(nèi)存密集型應(yīng)用的虛擬機性能;動態(tài)創(chuàng)建虛擬機可以在一臺物理機上創(chuàng)建更多的虛擬機,提高物理機的內(nèi)存利用率。
[Abstract]:Memory resource is one of the important resources of virtualization technology management, which has a great impact on the performance of virtualization system.Currently, the virtual machine is configured with a memory limit that cannot be changed while the virtual machine is running.However, applications running on virtual machines are diverse and dynamic, and memory requirements are difficult to predict.As a result, some virtual machine memory can not meet the application requirements, while some virtual machine memory is surplus.Therefore, a dynamic memory management technique of virtual machine is needed to ensure the efficient use of limited memory.The dynamic memory management system (DMMM) based on hot-plugged memory can effectively solve the above problems.The system is based on Xen's paravirtualization model and realizes three main functions of virtual machine memory hot plug, dynamic memory allocation and dynamic virtual machine creation.The hot plug of virtual machine memory can break through the initial memory upper limit of the virtual machine and increase or decrease the memory arbitrarily by using the Linux hot plug mechanism to realize the hot plug of memory on the virtual machine.Dynamic memory allocation can monitor the memory information of virtual machine, predict the memory requirement of virtual machine, reallocate memory periodically and balance the memory pressure of virtual machine.Dynamic creation of virtual machine can create new virtual machine by reasonably reducing the memory of existing virtual machine when the physical machine is out of memory, and realize excessive use of memory.System test and result analysis show that: compared with balloon drive, hot plug in virtual machine memory has no upper limit of memory, better expansibility, and no more performance overhead;Dynamic memory allocation can significantly improve the performance of virtual machines running memory-intensive applications and dynamic creation of virtual machines can create more virtual machines on a physical machine and improve the memory utilization of physical machines.
【學(xué)位授予單位】:華中科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號】:TP302;TP333
【參考文獻】
相關(guān)碩士學(xué)位論文 前1條
1 邵穎哲;基于半虛擬化設(shè)備模型的域間數(shù)據(jù)傳輸系統(tǒng)[D];華中科技大學(xué);2008年
本文編號:1745768
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1745768.html
最近更新
教材專著