A Calculation Method of vCPU Occupancy Rate of Virtual Machine Forwarding Process

Lu, Hua and Chen, Qinshu and Zhang, Jidong and Duan, Xuefei (2020) A Calculation Method of vCPU Occupancy Rate of Virtual Machine Forwarding Process. In: Mobimedia 2020, 27-28 August 2020, Cyberspace.

[thumbnail of eai.27-8-2020.2294712.pdf]
eai.27-8-2020.2294712.pdf - Published Version

Download (439kB) | Preview


Network Function Virtualization (NFV) is a technology that implements network functions through virtualization on x86 universal servers. In order to improve the forwarding performance of a virtual machine, usually the most effective method is to use multiple cores and exclusive methods of the vCPUs in the virtual machine to monopolize the physical CPU resources for multiple forwarding processes to use independently. The forwarding process discards the interrupt-based asynchronous signal sending mechanism to avoid the impact of interrupt switching on the forwarding overhead. Instead, it uses a while 1 dead-loop to poll the packet receiving queue. Once there is a packet in the packet receiving queue, the packet is immediately forwarded. Because the vCPU bound to the forwarding process works in an infinite loop polling mode, the vCPU occupancy display is 100% regardless of whether it is in the no-load or full-load phase. Because the VM cannot obtain the real load of each forwarding vCPU in real time and expand it in time, it will cause VM to lose a lot of packets due to overload operation, which will affect the quality of the service carried by the VM. This article studies how to measure the real utilization of vCPU in real time. The results show that the real vCPU occupancy can be accurately calculated using this solution.

Item Type: Conference or Workshop Item (Paper)
Uncontrolled Keywords: dpdk sr-iov ovs-dpdk nfv vcpu vm occupancy rate forwarding process
Subjects: Q Science > QA Mathematics > QA76 Computer software
Depositing User: EAI Editor I.
Date Deposited: 04 Feb 2021 14:23
Last Modified: 04 Feb 2021 14:23
URI: https://eprints.eudl.eu/id/eprint/892

Actions (login required)

View Item
View Item