Font Size: a A A

Dynamically Allocating Bandwidth Of Virtual Machine In SR-IOV

Posted on:2018-04-02Degree:MasterType:Thesis
Country:ChinaCandidate:Q LiuFull Text:PDF
GTID:2348330566951629Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Virtualization is the foundation of quick and scalable cloud computing.The development of cloud computing has brought great opportunity and challenge to virtualization.Network I/O virtualization is an important part of virtualization and abstracts physical network I/O resource via different form,but current network I/O virtualization can't provide virtual machine with high network I/O performance and flexible management of network bandwidth resource at the same time.By analyzing the network I/O path of SRIOV,the mechanism of dynamically allocating network bandwidth of VM,the mechanism of mailbox of SR-IOV,it found that VM of SR-IOV lacks of end-to-end quality of service and can't satisfy different demand of a variety of application.Aiming at restricting the maximum ingress bandwidth of VF,we analyse the process that VF driver receives packets,utilize token bucket filter to restrict the maximum ingress bandwidth of VF and provide the user interface to dynamically adjust.Aiming at SR-IOV limiting the number of VM that the host can bear,we construct resource pool of SR-IOV enabled network card and provide VM with the active-backup mode of bonding driver.VM initially uses paravirtual network card,VF is dynamically allocated to VM that has intensive network traffic by means of hot-plug mechanism.Aiming at acquiring network traffic of the SR-IOV mode VM,we sample network traffic of VM by means of virtio-serial channel,make realtime judgment about the intensive degree of network traffic.Aiming at bandwidth resource can't be fully utilized by static setting,we not only realize dynamic allocation of VF,but also realize preemptive and dynamic bandwidth allocation.The experiment results show that compared with SR-IOV PCI Passthrough mode,paravirtualization mode and SR-IOV Macvtap Passthrough mode,aggregate bandwidth of hybrid mode respectively decreases by 2.4%,increases by 56.8% and increases by 16.9%.CPU utilization of host of hybrid mode respectively increases by 0.44%,decreases by 9.78% and decreases by 17.83%.Compared with statically setting network bandwidth of VM,dynamically allocating network bandwidth of VM makes time of transmitting the network traffic file decrease by 10 to 15 percent.
Keywords/Search Tags:Single Root I/O Virtualization, Paravirtualization, Virtual Function ingress rate limiting, Dynamically allocating network bandwidth
PDF Full Text Request
Related items