基于内存热插拔的虚拟机动态内存管理系统
发布时间:2018-04-13 18:54
本文选题:虚拟机 + 动态内存管理 ; 参考:《华中科技大学》2012年硕士论文
【摘要】:内存资源是虚拟化技术管理的重要资源之一,对虚拟化系统的性能影响很大。目前,虚拟机在启动之前都会配置一个内存上限,该内存上限在虚拟机运行过程中不可更改。然而,虚拟机上运行的应用是多种多样的并且动态变化的,内存需求很难预知。因此目前静态的虚拟机内存管理方式导致有的虚拟机内存不能满足应用需求,而有的虚拟机内存富余。对此,需要一种虚拟机的动态内存管理技术来保证有限内存的高效使用。 基于内存热插拔的虚拟机动态内存管理系统(DMM)可以有效地解决了上述问题。该系统基于Xen的半虚拟化模型,实现了虚拟机内存热插拔,动态内存分配,动态创建虚拟机三个主要功能。虚拟机内存热插拔利用Linux内存热插拔机制,实现虚拟机上的内存热插拔,可以突破虚拟机初始的内存上限,任意增加或减小内存。动态内存分配可以实时监控虚拟机的内存信息,预测虚拟机的内存需求,,周期性地重新分配虚拟机内存,平衡虚拟机的内存压力。动态创建虚拟机可以在物理机内存不足时,通过合理减小现有虚拟机的内存来创建新虚拟机,实现内存过量使用。 系统测试与结果分析表明:与气球驱动相比,虚拟机内存热插拔不存在内存上限,扩展性更好,并且没有更多的性能开销;动态内存分配能够显著提高运行内存密集型应用的虚拟机性能;动态创建虚拟机可以在一台物理机上创建更多的虚拟机,提高物理机的内存利用率。
[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.
【学位授予单位】:华中科技大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP302;TP333
【参考文献】
相关硕士学位论文 前1条
1 邵颖哲;基于半虚拟化设备模型的域间数据传输系统[D];华中科技大学;2008年
本文编号:1745768
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1745768.html