Unlock instant, AI-driven research and patent intelligence for your innovation.

Establishing method of kernel state virtual network equipment and packet transmitting and receiving methods thereof

A technology of virtual network equipment and establishment method, which is applied in the field of computer operating system and computer network, can solve the problem of high overhead, hardware-assisted I/O virtualization technology cannot meet the requirements of network simulation scalability and controllability, hardware Auxiliary I/O virtualization technology has poor scalability and operability, so as to avoid switching overhead

Active Publication Date: 2012-06-13
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF5 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Using hardware-assisted I / O virtualization technologies such as VT-d and VT-c can avoid I / O virtualization performance problems in some cases, but hardware-assisted I / O virtualization technologies cannot meet the requirements of network simulation for scalability and Manipulability requirements (for example, the type of virtual network card of the virtual machine using VT-d technology is fixed, and the number of virtual network cards is limited)
[0005] Therefore, the art needs the technology that solves above-mentioned two problems at the same time, promptly solves hardware-assisted virtualization technology (such as Xen, KVM etc.) at the same time to the simulation realization of most virtual I / O equipments and realizes the additional overhead that causes in user state, VT The problem of poor scalability and operability of hardware-assisted I / O virtualization technologies such as -d and VT-c

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
  • Establishing method of kernel state virtual network equipment and packet transmitting and receiving methods thereof
  • Establishing method of kernel state virtual network equipment and packet transmitting and receiving methods thereof
  • Establishing method of kernel state virtual network equipment and packet transmitting and receiving methods thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0034] In the present invention, for a host machine with a virtual machine, the mode in which the CPU operates involves (1) a guest mode, namely a guest mode, and (2) a non-client mode; wherein the non-client mode includes a kernel mode and a user mode.

[0035] Wherein, the guest machine is a virtual machine operating system running on the virtual machine.

[0036] Such as figure 1As shown, in a traditional virtual machine, a virtual network device (shown as a virtual network card in the figure) of the virtual machine is established and runs in the kernel state and user state of the host machine, and the virtual...

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 provides an establishing method of kernel state virtual network equipment. The establishing method comprises the steps: step 1, scanning user state calling parameters of a virtual machine by using a monitoring machine of the virtual machine, and storing basic configuration of each set of virtual network equipment given in the parameters; step 2, when the monitoring machine of the virtue machine, which is in a use state, initializes the context of the virtue machine, initializing the kernel state lock of the context of the virtual machine; and step 3, during an initialized process of the virtual network equipment, when the mapping address of an I / O (input / output) port or I / O internal storage of the equipment is mapped, registering a virtual network equipment structure in a kernel according to the basic configuration of the virtual network equipment. The invention also provides a network packet receiving and transmitting methods based on kernel state virtual network equipment. Through application of the virtual equipment established according to the method, unnecessary kernel state / user state switchover overhead and kernel state / user state data copy overhead are avoided and higher expandability and operability can be achieved.

Description

technical field [0001] The invention relates to the field of computer operating systems and computer networks, in particular to a method for establishing a virtual network device in a kernel state, and a method for sending and receiving packets thereof. Background technique [0002] Virtualization technology can be divided into pure software virtualization technology based on instruction translation and hardware-assisted virtualization technology. Although the pure software virtualization technology based on instruction translation simulates a wide variety of target processors, there is a bottleneck in the running speed; while the hardware-assisted virtualization technology can make the non-I / O instruction running speed of the simulated system close to the real system. [0003] Currently, hardware-assisted virtualization technologies (such as Xen, KVM, etc.) emulate most virtual I / O devices in user mode. Experiments show that this implementation brings non-negligible additi...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L29/12G06F9/455
Inventor 林思明周洲仪程学旗张冬李金明王元卓梁英
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI