Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Virtual machine communication method based on shared memory

A shared memory and communication method technology, which is applied in the field of efficient virtual machine communication based on shared memory, can solve the problem of low communication performance of virtual machines and achieve the effect of efficient communication channels

Inactive Publication Date: 2010-03-10
BEIHANG UNIV
View PDF0 Cites 132 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention aims at providing direct and efficient virtual machine communication, takes shared memory as the core idea, and solves the problem of low communication performance of virtual machines

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
  • Virtual machine communication method based on shared memory
  • Virtual machine communication method based on shared memory
  • Virtual machine communication method based on shared memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] refer to figure 2, the present invention constructs a communication path between virtual machines located in the same host machine through the comprehensive design of shared memory and event channel. Based on this, by designing a virtual machine discovery mechanism and a virtual machine communication management mechanism in the privileged virtual machine and the guest virtual machine, efficient communication between virtual machines is realized. There is a communication channel between any pair of virtual machines, which includes an event channel and two shared memory circular queues. The event channel is used to send signals between the communicating virtual machines to notify the occurrence of events, and the shared memory ring queue is used for data communication between the virtual machines. Since the privileged virtual machine has the highest authority, a virtual machine discovery module is designed in the privileged virtual machine to collect and manage informat...

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 discloses a virtual machine communication method based on a shared memory. A communication channel is established between guest virtual machines on a same host machine by management modules arranged in the guest virtual machines, the channel comprises two virtual shared memory circular queues for receiving and sending data and an event channel for sending an event signal. Two sharedmemory circular queues are maintained for each pair of guest virtual machines in a Xen virtual machine monitor, two sides of compunction map local shared memory circular queues into the two queues, and furthermore, a data channel with high bandwidth is realized. A virtual machine discovery module in a privileged virtual machine can maintain an event channel table in the Xen virtual machine monitor for collecting the information of all guest virtual machines on the same host machine; in addition, a copy of the event channel table is locally maintained on each guest virtual machine and is updated in fixed time, thereby providing necessary information for communication. The guest virtual machine acquires the information of a communication channel of a communication destination by querying the event channel table and realizes high-performance communication between virtual machines through the communication channel.

Description

technical field [0001] The invention relates to the field of inter-domain communication of virtual machines, in particular to an efficient virtual machine communication method based on shared memory. Background technique [0002] A virtual machine (Virtual Machine: VM) is a system that supports multiple operating systems running in parallel on a single physical server, and can provide more efficient use of underlying hardware. In a virtual machine, the CPU chip divides a storage area from other parts of the system, and the operating system and applications run in a "protected mode" environment. The biggest advantage of virtualization technology is that it can create virtual machines to provide independent functions and performance for service applications that share the same physical hardware platform resources. Virtual machines can improve system-wide utilization and reduce overall system operating overhead. A virtual machine monitor (Virtual Machine Monitor: VMM) is a so...

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/54H04L29/08
Inventor 白跃彬罗成张良
Owner BEIHANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products