当前位置:主页 > 科技论文 > 计算机论文 >

虚拟化中计算性能优化研究

发布时间:2018-06-17 12:35

  本文选题:虚拟化 + 虚拟机调度 ; 参考:《兰州交通大学》2013年硕士论文


【摘要】:随着虚拟化技术不断成熟,处理器性能不断提高,这使得多个操作系统同时运行在单个计算机,甚至单个处理器核上成为可能。虚拟化技术已经广泛应用于服务整合和高性能计算领域。在虚拟化环境中,虚拟机监视器(Virtual Machine Monitor,简称VMM)接管了传统操作系统的大部分功能,运行在处理器最高特权级。VMM能够创建多个隔离的虚拟系统,即虚拟机(Virtual Machine,简称VM),运行在虚拟机中的操作系统称为客户操作系统(Guest OS)。其中VMM在虚拟化平台的资源管理中发挥重要作用,它根据调度策略将虚拟机的虚拟CPU动态映射到物理CPU。 计算性能是衡量计算机系统优劣的一个重要指标。由于虚拟化技术目前还不成熟,虚拟化计算平台的性能与传统计算平台相比存在较大的差异,主要体现在系统性能上。虚拟化平台需要高效调度多个专用的虚拟机“同时”运行在同一物理主机上。VMM中的虚拟机调度算法是影响虚拟化平台计算性能的关键因素。因此,本文研究的重点是如何通过改进虚拟机调度算法来实现虚拟化中计算性能优化。具体研究内容是在深入分析Xen虚拟化中Credit调度算法基础上,提出了共享CPU的虚拟机调度算法。 CPU在传统环境中为一个操作系统独享,而在虚拟化环境中可能被多个运行客户操作系统的虚拟机共享。共享CPU的虚拟机表示多个虚拟机同时运行在一个处理器或一个处理器核上,是虚拟化中的一种常见现象。工业界广泛使用的Xen虚拟化系统默认使用Credit调度器,随着共享CPU的虚拟机增加,每个虚拟机经历的CPU访问延迟随之延长,这导致I/O受限型应用经历更长的I/O处理延迟,即在共享CPU的虚拟机系统中I/O受限型应用性能很低。 为了提高共享CPU虚拟机系统中I/O受限型应用性能,本文引入了一个新虚拟机类型,称为延迟敏感型虚拟机,该虚拟机高效运行I/O受限型应用的同时,保持和其它共享CPU虚拟机对资源的公平共享;提出了vCredit调度器,用更小的微时间片调度延迟敏感型虚拟机,而用Credit默认时间片调度非延迟敏感型虚拟机,,能以更高的频率调度每个延迟敏感型虚拟机,从而延迟敏感型虚拟机能更及时处理I/O事件,同时不破坏所有共享虚拟机的CPU共享公平性;在Xen VMM中实现了vCredit原型。实验表明,vCredit调度器继承了Credit调度器在对称多处理器系统中负载均衡的特性,保留了其公平性的优点,同时大大减少网络数据包往返延迟和UDP数据报抖动率,达到更好的应用性能。vCredit将Intel的MPI基准测试程序的执行时间减少一半或更多。
[Abstract]:With the maturity of virtualization technology and the improvement of processor performance, it is possible for multiple operating systems to run on a single computer or even on a single processor core at the same time. Virtualization technology has been widely used in service integration and high performance computing. In a virtualized environment, Virtual Machine Monitor (VMMs) takes over most of the functions of traditional operating systems, running at the processor's highest privilege level. VMM can create multiple isolated virtual systems. The operating system running in the virtual machine is called guest operating system Guest OS. VMM plays an important role in resource management of virtualization platform. It dynamically maps virtual CPU of virtual machine to physical CPU according to scheduling strategy. Computing performance is an important index to measure the quality of computer system. Because the virtualization technology is not mature at present, the performance of the virtualization computing platform is different from the traditional computing platform, which is mainly reflected in the system performance. Virtualization platform requires efficient scheduling of multiple dedicated virtual machines "simultaneously" running on the same physical host. VMM scheduling algorithm is the key factor that affects the computing performance of the virtualization platform. Therefore, this paper focuses on how to optimize computing performance in virtualization by improving the virtual machine scheduling algorithm. On the basis of deep analysis of Credit scheduling algorithm in Xen virtualization, a virtual machine scheduling algorithm based on shared CPU is proposed. CPU is exclusive to an operating system in traditional environment. In a virtualized environment, it may be shared by multiple virtual machines running client operating systems. It is a common phenomenon in virtualization that shared CPU virtual machines mean that multiple virtual machines run on one processor or one processor core at the same time. Xen virtualization systems, which are widely used in industry, use Credit scheduler by default. As the number of shared CPUs increases, the CPU access latency for each virtual machine increases, which results in longer I / O processing latency for I / O restricted applications. That is, the performance of I / O constrained applications in shared CPU virtual machine systems is very low. In order to improve the performance of I / O restricted application in shared CPU virtual machine system, a new type of virtual machine called delay sensitive virtual machine is introduced in this paper. A vCredit scheduler is proposed to schedule the delay sensitive virtual machine with a smaller time slice, while the non-delay sensitive virtual machine is scheduled by the default time slice of Credit. Each delay-sensitive virtual machine can be scheduled at a higher frequency, so that the delay-sensitive virtual machine can handle I / O events more timely without destroying the CPU sharing fairness of all shared virtual machines, and the vCredit prototype is implemented in Xen VMM. The experimental results show that the credit scheduler inherits the load balancing property of the credit scheduler in symmetric multiprocessor systems and retains the advantages of fairness, while greatly reducing the network packet round trip delay and the UDP Datagram jitter rate. Achieve better application performance. VCredit halves or more execution time for Intel's MPI benchmark.
【学位授予单位】:兰州交通大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP302

【共引文献】

相关期刊论文 前1条

1 喻波;胡怀湘;;MR-IOV:下一代数据中心I/O虚拟化技术[J];计算机技术与发展;2013年10期



本文编号:2031058

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2031058.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户e7fda***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com