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

The technology of a virtual network device and establishment method is applied in the field of computer operating system and computer network, and can solve the problems of high overhead, limited number of virtual network cards, poor scalability and operability of hardware-assisted I/O virtualization technology, etc. , to achieve the effect of avoiding switching overhead

Active Publication Date: 2014-11-05
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF5 Cites 0 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 objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

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

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

[0036] like figure 1As shown, in a traditional virtual machine, a virtual network device (represented as a virtual network card in the figure) of the virtual machine is established and runs in the kernel mode and user mode of the host, and the virtual network device handler is located in the use...

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, and in particular, to a method for establishing a kernel-mode virtual network device, 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 can simulate a wide variety of target processors, it has a bottleneck in the running speed; while the hardware-assisted virtualization technology can make the non-I / O instructions of the simulated system run at a speed close to the real system. [0003] At present, the simulation of most virtual I / O devices by hardware-assisted virtualization technologies (such as Xen, KVM, etc.) is implemented in user mode. Experiments show that this implementati...

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