Virtual Machine Network Communication via Shared Memory Page

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing virtual machine systems incur resource wastage due to frequent page swaps and unnecessary data packet copying when performing network communications, especially with applications like instant messaging, leading to inefficient system resource utilization.

Innovation Solution

Implementing a single sharing page shared among multiple virtual machines and a particular virtual machine, with a page swap scheduler to reduce the frequency of page swaps and encapsulating data packets in user memory space before writing to the sharing page, thereby minimizing system resource usage and optimizing data packet transmission.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a separate sharing page is allocated for each virtual machine, then each virtual machine can independently perform network communications, but system memory resources are wasted due to duplication

Engineering Contradiction:
Improvenetwork communication capabilityVSAvoidmemory resource usage
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent merges multiple separate sharing pages (one per virtual machine) into a single shared page that is collectively used by all virtual machines for network communication. This consolidation eliminates memory duplication while maintaining the network communication capability of each virtual machine through shared access to the same page.

Inventive Principle:
Principle #5Merging (Combining)

2Quantity of substance

If frequent page swaps are performed to manage shared memory, then memory utilization is improved, but system performance deteriorates due to swap overhead

Engineering Contradiction:
Improvememory utilizationVSAvoidsystem performance
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent implements periodic page swap scheduling instead of frequent or continuous swapping. The virtual machine hypervisor schedules page swaps at predetermined time intervals or under specific conditions, allowing the system to balance memory utilization with performance by performing swaps only when necessary rather than continuously.

Inventive Principle:
Principle #19Periodic action

3Reliability

If data packets are copied multiple times during network communication, then data integrity is maintained, but processing time increases

Engineering Contradiction:
Improvedata integrityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts the data packet copying operation from the traditional multi-copy process. By using a shared page that virtual machines can directly access, the system eliminates unnecessary intermediate copying steps while maintaining data integrity through the shared memory mechanism, thereby reducing processing time.

Inventive Principle:
Principle #2Taking out (Extraction)

4Reliability

If multiple virtual machines use individual sharing pages, then isolation between virtual machines is maintained, but resource efficiency decreases

Engineering Contradiction:
Improvevirtual machine isolationVSAvoidresource efficiency
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent makes a single sharing page universal by allowing multiple virtual machines to share the same page for network communication. This multi-functional approach maintains virtual machine isolation through controlled access while improving resource efficiency by eliminating the need for separate pages for each virtual machine.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS9152444B2Techniques used by a virtual machine in communication with an external machine and related virtual machine system
Publication Date: 2015.10.06 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US9152444B2 patent drawing
  • US9152444B2 patent drawing
  • US9152444B2 patent drawing

AI summary

A method used by a virtual machine in communication with an external machine includes providing a single sharing page that is shared between a plurality of virtual machines and a particular virtual machine, wherein the particular virtual machine and the plurality of virtual machines run on a same physical machine; writing into the single sharing page a data packet to be sent by the virtual machine to the external machine; scheduling a page swap between the single sharing page and a blank memory page of the particular virtual machine; and sending, to the external machine, the data packet in the memory page of the particular virtual machine subsequent to the page swap.