首页 | 本学科首页   官方微博 | 高级检索  
     

私有云平台的虚拟机内存调度策略
引用本文:李大为,赵逢禹.私有云平台的虚拟机内存调度策略[J].计算机应用,2014,34(9):2523-2526.
作者姓名:李大为  赵逢禹
作者单位:上海理工大学 光电信息与计算机工程学院,上海 200093
摘    要:在私有云平台中,现有的方法无法灵活地对虚拟机内存资源进行有效的监控和分配。针对以上问题,提出了内存实时监测和动态调度(MMS)模型,利用libvirt函数库和Xen提供的libxc函数库实现了对虚拟机内存紧缺、内存空闲时的实时监测和动态调度,并且提出虚拟机迁移策略,有效地缓解宿主机的内存紧缺问题。最后选取一台物理机作为主控节点,两台物理机作为子节点,利用Eucalyptus搭建一个小型的私有云平台。结果显示,当宿主机处于内存紧缺状态时,MMS系统通过启动虚拟机迁移策略有效地释放了内存空间;当虚拟机占用内存逼近初始最大内存时,MMS为其分配新的最大内存;当占用内容降低时,MMS系统对部分空闲的内存资源进行了回收,而且释放内存不超过150MB(最大内存512MB)时,其对虚拟机性能的影响不大。结果表明该模型对私有云平台中虚拟机内存进行实时监测和动态调度是有效的。

关 键 词:私有云  内存监测  动态调度  虚拟机  迁移
收稿时间:2014-04-02
修稿时间:2014-06-19

Memory scheduling strategy for virtual machine in private cloud platform
LI Dawei,ZHAO Fengyu.Memory scheduling strategy for virtual machine in private cloud platform[J].journal of Computer Applications,2014,34(9):2523-2526.
Authors:LI Dawei  ZHAO Fengyu
Affiliation:School of Optical-Electrical and Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China
Abstract:On the private cloud platform, it cannot be flexible to monitor and distribute the virtual machine memory resources effectively using the existing methods. To solve this problem, a Memory Monitor and Scheduler (MMS) model was put forward. And the real-time monitoring and dynamic scheduling of the virtual machine memory shortage and memory free were realized by using the libvirt function library and libxc function library provided by Xen. A small private cloud platform was built using Eucalyptus with regarding one physical machine as master node and two physical machines as child nodes. In the experiments, when the state of host was in memory shortage, MMS system effectively released the memory space by starting the virtual machine migration strategy; when the memory of the virtual machine was approaching the initial maximum memory, MMS system assigned it with a new maximum memory; when the occupied memory decreased, MMS system recycled part of free memory resource, which has little effect on the performance of virtual machines if the release memory did not exceed 150MB (maximum memory is 512MB). The results show that the MMS model of private cloud platform is effective for real-time monitoring and dynamic scheduling of the memory.
Keywords:private cloud  memory monitoring  dynamic scheduling  Virtual Machine (VM)  migration
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号