Implementing method for optimizing network performance of virtual machine by using multiqueue technology

An implementation method and multi-queue technology, applied in multi-programming devices, software simulation/interpretation/simulation, program control devices, etc., can solve the problems of not allowing GuestOS to directly access, limited peripheral resources, and performance loss, etc. Use and development prospects, improve the average transmission throughput, and improve the effect of network transmission performance

Active Publication Date: 2012-07-18
中科育成(北京)科技服务有限公司
View PDF3 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this solution also has obvious defects: due to dynamic monitoring and real-time translation of binary code, there will be a loss in performance
[0010] In a virtual environment, the problem faced by I/O is: in reality, peripheral resources are limited. In order to meet the requirements of multiple guest operating systems for accessing ...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Implementing method for optimizing network performance of virtual machine by using multiqueue technology
  • Implementing method for optimizing network performance of virtual machine by using multiqueue technology
  • Implementing method for optimizing network performance of virtual machine by using multiqueue technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] See figure 1 , figure 2 , image 3 , the present invention uses a virtual machine network performance optimization method using multi-queue technology, the specific steps of the method are as follows:

[0069] Step 1: Modify the network initialization part of QEMU, and add support for multiple queues by modifying QEMU. The modification of this part mainly involves the following two parts:

[0070] 1. QEMU TAP (the part related to data transmission in qemu) initialization

[0071] Modify the data structure to support multiple queues, modify the file descriptors of the corresponding queues, and add items to indicate the number of descriptors, etc.

[0072] For the change of data structure, modify the corresponding function to adapt to the new data structure.

[0073] Added the function of detecting whether to enable multi-queue. When multi-queue is not enabled, the original single-queue transmission is supported.

[0074] 2. Vhost_net (the part related to the netwo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to an implementing method for optimizing the network performance of a virtual machine by using a multiqueue technology, which comprises the following three steps of: a first step of modifying a network initialization part of QEMU and increasing support for multiqueue by modifying the QEMU; a step 2 of carrying out modification on the vhost multiqueue for supporting the QEMU to use the multiqueue and supporting a vhost-net multiqueue network card, which comprises modification of using one thread to carry out data transmission for one queue and modification of system call; and a step 3 of modifying the part, i.e. the vhost-net multiqueue network card, in a vhost module, which is related to the network, so that the virtual network card supports the multiqueue transmission. According to the invention, by designing and implementing a plurality of virtual queues from the virtual machine to a host, the aim of increasing the network data traffic and the throughput of the virtual machine is fulfilled. The method has ingenious, scientific and reasonable design and has high using value and wide application prospect in the technical field of computers.

Description

(1) Technical field [0001] The invention adopts multi-queue virtualization technology based on virtio, and relates to IO virtualization in computer virtualization technology. In particular, it relates to a method for realizing network performance optimization of a virtual machine using multi-queue technology, which is a method for realizing interaction between a virtual machine and a host computer by using a multi-queue method in a virtualized network, and belongs to the field of computer technology. (2) Background technology [0002] As early as the late 1960s and early 1970s, IBM Corporation implemented commercial virtual machines on mainframes. Many documents described the implementation of virtual machines used by IBM in OS 360 and the classic virtual machine architecture, and described the use of virtual machines. A method for machine monitors to implement virtualization. The researchers summarized the third-generation computer virtualizability (Virtualizability): Poin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/46G06F9/455
Inventor 肖利民许航雷松松
Owner 中科育成(北京)科技服务有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products