虚拟机网络带宽动态调节机制研究
发布时间:2018-06-01 03:56
本文选题:虚拟机 + 网络带宽 ; 参考:《华中科技大学》2012年硕士论文
【摘要】:目前虚拟化技术的研究工作主要集中在各种主流硬件的虚拟化,虚拟机网络带宽分配方面的研究工作比较少。如果虚拟机的网络带宽无法根据应用的需求进行必要的控制,相互的带宽争用将使得应用的功用无法得到保障。虚拟化平台Xen的网络带宽分配机制,仅限于在虚拟机创建时对网络带宽进行分配,虚拟机运行过程中严格限制虚拟机所能占用的网络带宽上限。该机制所有的操作对用户透明,虚拟机创建之后,网络带宽无法调节,严重缺乏用户实际参与网络带宽分配的操作空间,用户实际的带宽分配需求无法得到很好的满足。 基于Xen网络带宽分配机制的研究,针对其存在的不足,设计并实现了虚拟机网络带宽动态调节机制,解决了上述问题。首先,在用户的控制台,提供面向用户的带宽调节接口;其次,在网络设备的驱动层,实现带宽动态调节。面向用户的带宽调节接口,可以从控制台接收用户的带宽调节请求,更新设备信息存储系统中网络带宽参数的值,通过修改网络设备状态的方式,触发驱动层执行带宽调节操作;驱动层的带宽动态调节,监控网络设备的状态,设备状态发生变化时即响应触发,从虚拟化驱动的底层访问设备信息存储系统,获取网络带宽参数的新值,对虚拟机的网络带宽进行重新分配,完成网络带宽的动态调节。为了验证虚拟机网络带宽动态调节实现方法的有效性,探讨了一种简化了的带宽动态分配模型,由用户层的带宽动态分配策略结合虚拟机网络带宽的实际使用情况,生成动态的带宽调节请求,调用面向用户的带宽调节接口,实现虚拟机网络带宽的按需动态调节。 实验表明,在Xen网络带宽分配机制基础之上,,虚拟机网络带宽的动态调节机制,在虚拟机运行过程中,从控制台接收用户带宽调节请求,在驱动层对网络带宽进行重新分配,实现了动态调节虚拟机网络带宽的功能。在带宽动态调节实现方法的有效性验证测试中,由带宽动态分配策略生成动态的带宽调节请求,虚拟机网络带宽动态调节机制具体执行带宽调节,测试结果达到了带宽动态分配策略提高虚拟机带宽使用满足率,提高带宽资源利用率的预期目标,验证了虚拟机网络带宽动态调节实现方法的有效性。
[Abstract]:At present, the research of virtualization technology is mainly focused on the virtualization of various mainstream hardware, virtual machine network bandwidth allocation research work is less. If the network bandwidth of virtual machine can not be controlled according to the requirement of the application, the function of the application can not be guaranteed by the bandwidth contention. The network bandwidth allocation mechanism of the virtualization platform Xen is limited to the allocation of the network bandwidth when the virtual machine is created, and the upper limit of the network bandwidth that the virtual machine can occupy is strictly limited during the running process of the virtual machine. All the operations of the mechanism are transparent to the users. After the virtual machine is created, the network bandwidth can not be adjusted, and the operation space for users to participate in the network bandwidth allocation is seriously lacking, and the actual bandwidth allocation needs of users cannot be well satisfied. Based on the research of Xen network bandwidth allocation mechanism and its shortcomings, a virtual machine network bandwidth dynamic adjustment mechanism is designed and implemented to solve the above problems. Firstly, the user-oriented bandwidth adjustment interface is provided in the user's console; secondly, the bandwidth dynamic adjustment is realized in the driver layer of the network device. A user-oriented bandwidth adjustment interface can receive user bandwidth adjustment requests from the console, update the values of network bandwidth parameters in the device information storage system, and modify the status of network devices. Trigger driver layer performs bandwidth adjustment operation, the driver layer dynamically adjusts bandwidth, monitors the state of network devices, and responds to trigger when the state of the device changes, and accesses the device information storage system from the bottom layer driven by virtualization. The new value of the network bandwidth parameter is obtained and the network bandwidth of the virtual machine is reallocated to realize the dynamic adjustment of the network bandwidth. In order to verify the effectiveness of the realization method of dynamic adjustment of virtual machine network bandwidth, a simplified dynamic bandwidth allocation model is discussed, which combines the dynamic bandwidth allocation strategy of user layer with the actual use of virtual machine network bandwidth. The dynamic bandwidth adjustment request is generated and the user-oriented bandwidth adjustment interface is called to realize the on-demand dynamic adjustment of the virtual machine network bandwidth. Experimental results show that, based on the Xen network bandwidth allocation mechanism, the virtual machine network bandwidth dynamic adjustment mechanism, in the virtual machine running process, from the console to receive user bandwidth adjustment requests, in the driver layer to redistribute the network bandwidth. The function of dynamically adjusting the network bandwidth of virtual machine is realized. In the validation test of the realization method of dynamic bandwidth adjustment, the dynamic bandwidth allocation strategy is used to generate dynamic bandwidth adjustment request, and the virtual machine network bandwidth dynamic adjustment mechanism performs the bandwidth regulation concretely. The test results show that the dynamic bandwidth allocation strategy can improve the bandwidth utilization rate of virtual machines and improve the utilization of bandwidth resources. The effectiveness of the implementation method of virtual machine network bandwidth dynamic adjustment is verified.
【学位授予单位】:华中科技大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP302
【参考文献】
相关期刊论文 前2条
1 江迎春;;VMware和Xen虚拟网络性能比较[J];软件导刊;2009年05期
2 怀进鹏;李沁;胡春明;;基于虚拟机的虚拟计算环境研究与设计[J];软件学报;2007年08期
本文编号:1962763
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1962763.html