High speed communication method between clients based on kernel-based virtual machine (KVM)

A high-speed communication, client-side technology, applied in the direction of inter-program communication, software simulation/interpretation/simulation, multiprogramming device, etc.

Inactive Publication Date: 2012-09-12
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF5 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these current hardware I / O virtual machine technologies are not yet fully mature on the KVM virtual machine IA64 platform, and have certain limitations, so they cannot give full play to their advantages

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
  • High speed communication method between clients based on kernel-based virtual machine (KVM)
  • High speed communication method between clients based on kernel-based virtual machine (KVM)
  • High speed communication method between clients based on kernel-based virtual machine (KVM)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The method of the present invention will be described in detail below with reference to the drawings of the specification.

[0019] A method for high-speed communication between KVM virtual machines of the present invention. With reference to the accompanying drawings, the content of the present invention will be described with a specific example to describe the process of implementing this architecture;

[0020] (1) First, a virtual device for high-speed communication between virtual machines is virtualized in client A and client B; the virtual device complies with the PCI specification, and the device of the virtual device is specified in the PCI configuration space of the virtual device The area of ​​the client's physical address space to be mapped by the memory and IO ports. In addition, the device memory of the virtual device is realized through shared memory, which uses the host memory;

[0021] (2) Then, start client A and client B, and start process a in client A and ...

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 a high speed communication method between clients based on a kernel-based virtual machine (KVM). The high speed communication method includes the following steps: virtualizing a high speed communication device with a device internal memory for the KVM, mapping the device internal memory of the virtual device to physical address spaces of the clients, mapping internal memories of the virtual devices of different virtual machines to the same physical memory of a host in monitoring layers of the virtual machines and through an internal memory sharing mode, mapping the internal memories of the virtual devices to a process address space respectively in a progress between two clients, and then achieving high speed communication by reading the physical address spaces. The high speed communication method between clients based on the KVM overcomes the defect that communication between the clients is slow in speed, and one virtual device for high speed communication between the virtual machines is vritualized in the KVM. By means of a virtual peripheral component interconnect (PCI) device, high speed communication can be performed between the virtual machines, and communication efficiency between the KVMs is improved.

Description

Technical field [0001] The invention relates to the technical field of computer operating system software, in particular to a method for high-speed communication between clients based on a KVM virtual machine. Background technique [0002] Every I / O operation of a virtual machine must be completed by the intervention and assistance of a virtual machine monitor or a privileged domain. This has become a major bottleneck restricting the performance and functions of virtual machines, especially for applications with high I / O throughput, such as Web servers, database servers, and personal multimedia applications. [0003] In addition, the current communication method between virtual machines is mainly based on the network, and communication through the network requires a protocol analysis at the virtual machine monitoring layer, which also affects the performance of the virtual machine. Limited by the previous two factors, the communication efficiency between virtual machines is low, e...

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): G06F9/54G06F9/455
Inventor 何志平吴楠张东周雄谢若鸿
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
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