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

Communication method of symbiotic virtual machine based on multi-core lockless ring buffer area

A technology of ring buffer and communication method, applied in the field of communication acceleration of symbiotic virtual machines, can solve problems such as inability to make full use of the advantages of multi-core, and achieve the effect of efficient concurrent reading and improving the efficiency of reading and writing

Active Publication Date: 2017-05-31
NAT UNIV OF DEFENSE TECH
View PDF6 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In a multi-core environment, the classic lock-free ring buffer cannot make full use of the advantages brought by multi-core, and there is room for optimization

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
  • Communication method of symbiotic virtual machine based on multi-core lockless ring buffer area
  • Communication method of symbiotic virtual machine based on multi-core lockless ring buffer area
  • Communication method of symbiotic virtual machine based on multi-core lockless ring buffer area

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Such as image 3 As shown, the implementation steps of the symbiotic virtual machine communication method based on the multi-core lock-free ring buffer in this embodiment include:

[0043] 1) Apply for a fixed-size buffer in shared memory in advance, divide the buffer into metadata areas, specify a metadata area to store the description information of the buffer and the identification variables of the buffer, and store the remaining metadata areas in Logically organized into a ring to obtain a multi-core lock-free ring buffer; when the symbiotic virtual machine needs to communicate, jump to step 2);

[0044] 2) The communication sender, as the writer, writes the communication data into the multi-core lock-free ring buffer, and only one writer is allowed to perform the write operation at the same time;

[0045] 3) The communication receiver acts as a reader, and the reader reads the communication data in the multi-core lock-free ring buffer, and multiple readers can per...

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 communication method of a symbiotic virtual machine based on a multi-core lockless ring buffer area. The communication method comprises the following implementing steps of applying for a buffer area with fixed size in a share memory in advance, equally dividing the buffer area into element data areas, designating one element data area to store description information of the buffer area and identification variables of the buffer area, and organizing the other element data areas to form a ring in logic, so as to form the multi-core lockless ring buffer area; when the symbiotic virtual machine requires communication, using a communication sender as a writer, writing the communication data into the symbiotic virtual machine, and only allowing one writer to execute writing operation at the same time; using a communication receiver as a reader, enabling the reader to read the communication data in the multi-core lockless ring buffer area, and enabling multiple readers to execute the reading operation in a concurrent way. The communication method has the advantages that the high-efficiency concurrent reading by the receivers is supported, the reading and writing concurrency of the buffer area is good, the communication efficiency of the symbiotic virtual machine is high, and the multi-core processing property is fully utilized.

Description

technical field [0001] The invention relates to a communication acceleration technology of a symbiotic virtual machine of network virtualization technology, in particular to a communication method of a symbiotic virtual machine based on a multi-core lock-free ring buffer. Background technique [0002] At present, cloud computing has become a research hotspot in academia and industry. As one of the important supporting technologies of the cloud platform, virtualization technology provides many important functions such as resource isolation, fault tolerance, and improvement of resource utilization. Xen is one of the current mainstream open source virtualization platforms. On the Xen platform, each virtual machine is called a domain; virtual machines on the same physical machine are usually called symbiotic virtual machines. In the current cloud computing environment, with the improvement of hardware level, the number of virtual machines that can be accommodated on each physi...

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/08H04L12/24G06F9/455
CPCH04L41/00H04L41/083G06F9/45558G06F2009/45583H04L67/568
Inventor 任怡游资奇吴庆波戴华东谭郁松刘仁仕阳国贵
Owner NAT UNIV OF DEFENSE TECH
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