虛擬化環(huán)境下的多機(jī)內(nèi)存優(yōu)化技術(shù)研究與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-01-05 18:32
本文關(guān)鍵詞:虛擬化環(huán)境下的多機(jī)內(nèi)存優(yōu)化技術(shù)研究與實(shí)現(xiàn) 出處:《首都師范大學(xué)》2013年碩士論文 論文類型:學(xué)位論文
更多相關(guān)文章: 虛擬化 動(dòng)態(tài)內(nèi)存池 內(nèi)存管理 同質(zhì)內(nèi)存共享 I/O-Based KSM
【摘要】:隨著計(jì)算機(jī)以及網(wǎng)絡(luò)技術(shù)的發(fā)展,系統(tǒng)虛擬化技術(shù)越來(lái)越廣泛的被數(shù)據(jù)中心所使用,通過(guò)在數(shù)據(jù)中心集群服務(wù)器上建立虛擬機(jī)集群,從而最大化利用現(xiàn)有的服務(wù)器硬件資源,同時(shí)降低數(shù)據(jù)中心的運(yùn)營(yíng)成本。部署虛擬機(jī)的關(guān)鍵在于如何在不影響系統(tǒng)性能的情況下在服務(wù)器上部署更多的虛擬機(jī)。然而限制服務(wù)器上部署更多虛擬機(jī)的主要瓶頸在于內(nèi)存,因此如何讓集群中虛擬機(jī)在不影響性能的情況下做到所需內(nèi)存最小變得越來(lái)越重要。而現(xiàn)今條件下,系統(tǒng)虛擬化的研究重點(diǎn)大都集中宿主機(jī)為單機(jī)情況下,而對(duì)于單機(jī)狀態(tài)下由于自身資源有限,所以優(yōu)化的空間也非常有限,然而服務(wù)器集群內(nèi)資源優(yōu)化的潛力沒(méi)有發(fā)掘出來(lái)。 基于上述原因,本文提出了虛擬環(huán)境下一種多機(jī)狀態(tài)下內(nèi)存優(yōu)化的解決方案。將集群中所有的物理內(nèi)存通過(guò)邏輯擴(kuò)展為一個(gè)大的地址空間,然后在該地址空間上建立動(dòng)態(tài)內(nèi)存池,通過(guò)修改虛擬機(jī)監(jiān)控器(Virtual Machine Monitor,VMM)向上提供一個(gè)統(tǒng)一的內(nèi)存管理接口。所有的虛擬機(jī)運(yùn)行在這個(gè)內(nèi)存空間上,這樣就可以在整個(gè)集群上而非單機(jī)上對(duì)內(nèi)存進(jìn)行優(yōu)化。通過(guò)構(gòu)建地址空間映射組件,將動(dòng)態(tài)內(nèi)存池中的內(nèi)存映射到集群中各服務(wù)器的物理地址空間上,并且對(duì)內(nèi)存故障進(jìn)行相應(yīng)的處理。通過(guò)修改基于內(nèi)存頁(yè)面內(nèi)容的內(nèi)存共享方法,在全局地址空間內(nèi)查找相同的內(nèi)存頁(yè)面,通過(guò)共享這些內(nèi)存頁(yè)面,達(dá)到節(jié)省更多內(nèi)存的目的。同時(shí),為了配合上述需求,對(duì)內(nèi)存的訪問(wèn)加以優(yōu)化,通過(guò)預(yù)取由多馬爾科夫鏈模型預(yù)測(cè)的要訪問(wèn)的內(nèi)存頁(yè)面,加快訪問(wèn)速度,使用主動(dòng)內(nèi)存技術(shù)從而充分利用各服務(wù)器的計(jì)算資源。 本文在KVM的原型系統(tǒng)中實(shí)現(xiàn)上述功能,并且針對(duì)上述目的做了相應(yīng)的測(cè)試。實(shí)驗(yàn)結(jié)果表明,本文完成的相關(guān)工作可以有效的節(jié)省更多的內(nèi)存,從而使得集群化虛擬機(jī)系統(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.
【學(xué)位授予單位】:首都師范大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類號(hào)】:TP333
【參考文獻(xiàn)】
相關(guān)期刊論文 前3條
1 李群,謝立,孫鐘秀;分布式共享內(nèi)存的技術(shù)和實(shí)現(xiàn)[J];計(jì)算機(jī)研究與發(fā)展;1997年05期
2 劉媛媛;高慶一;陳陽(yáng);;虛擬計(jì)算環(huán)境下虛擬機(jī)資源負(fù)載均衡方法[J];計(jì)算機(jī)工程;2010年16期
3 李勇;郭玉東;王曉睿;時(shí)光;;基于EPT的內(nèi)存虛擬化研究與實(shí)現(xiàn)[J];計(jì)算機(jī)工程與設(shè)計(jì);2010年18期
,本文編號(hào):1384341
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1384341.html
最近更新
教材專著