虛擬化環(huán)境下的多機內(nèi)存優(yōu)化技術(shù)研究與實現(xiàn)
發(fā)布時間:2018-01-05 18:32
本文關(guān)鍵詞:虛擬化環(huán)境下的多機內(nèi)存優(yōu)化技術(shù)研究與實現(xiàn) 出處:《首都師范大學》2013年碩士論文 論文類型:學位論文
更多相關(guān)文章: 虛擬化 動態(tài)內(nèi)存池 內(nèi)存管理 同質(zhì)內(nèi)存共享 I/O-Based KSM
【摘要】:隨著計算機以及網(wǎng)絡(luò)技術(shù)的發(fā)展,系統(tǒng)虛擬化技術(shù)越來越廣泛的被數(shù)據(jù)中心所使用,通過在數(shù)據(jù)中心集群服務(wù)器上建立虛擬機集群,從而最大化利用現(xiàn)有的服務(wù)器硬件資源,同時降低數(shù)據(jù)中心的運營成本。部署虛擬機的關(guān)鍵在于如何在不影響系統(tǒng)性能的情況下在服務(wù)器上部署更多的虛擬機。然而限制服務(wù)器上部署更多虛擬機的主要瓶頸在于內(nèi)存,因此如何讓集群中虛擬機在不影響性能的情況下做到所需內(nèi)存最小變得越來越重要。而現(xiàn)今條件下,系統(tǒng)虛擬化的研究重點大都集中宿主機為單機情況下,而對于單機狀態(tài)下由于自身資源有限,所以優(yōu)化的空間也非常有限,然而服務(wù)器集群內(nèi)資源優(yōu)化的潛力沒有發(fā)掘出來。 基于上述原因,本文提出了虛擬環(huán)境下一種多機狀態(tài)下內(nèi)存優(yōu)化的解決方案。將集群中所有的物理內(nèi)存通過邏輯擴展為一個大的地址空間,然后在該地址空間上建立動態(tài)內(nèi)存池,通過修改虛擬機監(jiān)控器(Virtual Machine Monitor,VMM)向上提供一個統(tǒng)一的內(nèi)存管理接口。所有的虛擬機運行在這個內(nèi)存空間上,這樣就可以在整個集群上而非單機上對內(nèi)存進行優(yōu)化。通過構(gòu)建地址空間映射組件,將動態(tài)內(nèi)存池中的內(nèi)存映射到集群中各服務(wù)器的物理地址空間上,并且對內(nèi)存故障進行相應(yīng)的處理。通過修改基于內(nèi)存頁面內(nèi)容的內(nèi)存共享方法,在全局地址空間內(nèi)查找相同的內(nèi)存頁面,通過共享這些內(nèi)存頁面,達到節(jié)省更多內(nèi)存的目的。同時,為了配合上述需求,對內(nèi)存的訪問加以優(yōu)化,通過預取由多馬爾科夫鏈模型預測的要訪問的內(nèi)存頁面,加快訪問速度,使用主動內(nèi)存技術(shù)從而充分利用各服務(wù)器的計算資源。 本文在KVM的原型系統(tǒng)中實現(xiàn)上述功能,并且針對上述目的做了相應(yīng)的測試。實驗結(jié)果表明,本文完成的相關(guān)工作可以有效的節(jié)省更多的內(nèi)存,從而使得集群化虛擬機系統(tǒng)更高效。
[Abstract]:With the development of computer and network technology, system virtualization technology is more and more widely used by the data center, by building virtual machine cluster on the data center cluster server. To maximize the use of existing server hardware resources. The key to deploying virtual machines is how to deploy more virtual machines on the server without affecting system performance. However, the main constraints to deploying more virtual machines on the server are. The bottleneck is memory. Therefore, it is more and more important to make the virtual machine in the cluster to minimize the required memory without affecting the performance. However, under the present conditions, the research focus of system virtualization is mostly concentrated on the single host. However, the potential of resource optimization in the server cluster is not explored because of the limited resources in the single machine state, so the space for optimization is also very limited. For the above reasons, this paper proposes a solution of memory optimization in virtual environment, which expands all the physical memory in the cluster into a large address space through logic. The dynamic memory pool is then created on the address space, and virtual Machine Monitor is modified by modifying the virtual machine monitor. VMMs provide a unified memory management interface. All virtual machines run on this memory space. By building address space mapping components, memory in the dynamic memory pool can be mapped to the physical address space of the servers in the cluster. By modifying the memory sharing method based on the contents of memory pages, we can find the same memory pages in the global address space and share these memory pages. To achieve the purpose of saving more memory. At the same time, in order to meet the above requirements, the memory access is optimized, and the access speed is accelerated by prefetching the memory pages to be accessed predicted by the multi-Markov chain model. Use active memory technology to make full use of the computing resources of each server. This paper implements the above functions in the prototype system of KVM, and makes a corresponding test for the above purpose. The experimental results show that the related work can save more memory effectively. Therefore, the cluster virtual machine system is more efficient.
【學位授予單位】:首都師范大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP333
【參考文獻】
相關(guān)期刊論文 前3條
1 李群,謝立,孫鐘秀;分布式共享內(nèi)存的技術(shù)和實現(xiàn)[J];計算機研究與發(fā)展;1997年05期
2 劉媛媛;高慶一;陳陽;;虛擬計算環(huán)境下虛擬機資源負載均衡方法[J];計算機工程;2010年16期
3 李勇;郭玉東;王曉睿;時光;;基于EPT的內(nèi)存虛擬化研究與實現(xiàn)[J];計算機工程與設(shè)計;2010年18期
,本文編號:1384341
本文鏈接:http://www.sikaile.net/kejilunwen/jisuanjikexuelunwen/1384341.html
最近更新
教材專著