高级检索

    一种面向Xen虚拟计算环境的运行时内存泄漏检测方法

    An Approach to Runtime Memory Leak Detection Oriented to Xen Virtual Computing Environment

    • 摘要: 虚拟计算环境中系统性能的稳定性问题研究对于云计算相关技术的研究和应用具有重要的理论和实际意义.长时间不停机系统的内存泄漏可能给实际应用带来严重后果,在虚拟计算环境中检测运行时内存泄漏是一个极具挑战性的问题.针对该问题,对内存泄漏的现象进行了分类.基于Xen虚拟机构建并实现了一种面向Xen虚拟计算环境的虚拟化内存泄漏检测(virtualization memory leak detection, VMLD)的方法,提出了相应的检测规则.通过修改虚拟机管理器,设计超级调用,实现了内部缓冲区维护、控制、拦截、监视等模块.实验结果表明,VMLD方法能有效地检测出运行时内存泄漏,并且具有较好的性能.

       

      Abstract: The research on system performance and stability of virtual computing environment for related technology and application is of important theoretical and practical significance. Memory leaks, which takes place in a long-time-not-shutdown system, may have serious consequences in the practical application. Memory leak detection running in virtual computing environment is a challenging problem. To solve this problem, the phenomenon of memory leaks is classified. Based on the analysis of memory management technology using Xen hypervisor, an approach to runtime memory leak detection is proposed oriented to Xen virtual computing environment, which is also named VMLD (virtualization memory leak detection), and its design of overall framework are built and implemented. Corresponding detection rules are also put forward. VMLD has realized several modules such as maintainer (Xen internal buffer), controller, interceptor, and monitor by using defined six hyper calls and the modification of the virtual machine monitor. The experimental results show that VMLD method can detect the runtime memory leaks effectively, and has better performance.

       

    /

    返回文章
    返回