Host Page Management Assist for Virtual Environment Storage

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current input/output (I/O) processing in virtual environments, particularly in pageable mode, faces inefficiencies due to context-switching overhead and challenges in managing storage faults, pinning, and unpinning pages, leading to increased costs and reduced performance.

Innovation Solution

A method is introduced to manage storage of a pageable mode virtual environment without host intervention, using Host Page Management Assist functions and Queued Direct I/O (QDIO) Enhanced Buffer State Management, allowing for dynamic resolution of host page invalid conditions, pinning, and unpinning of pages, thereby reducing overhead and enhancing storage management efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If host intervention is used to manage storage faults and page pinning in pageable mode virtual environments, then storage management can be performed, but context-switching overhead increases and processing efficiency decreases

Engineering Contradiction:
ImproveI/O processing efficiencyVSAvoidcontext-switching overhead
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The virtual machine is enabled to autonomously manage its own storage operations including resolving storage faults, pinning pages, and unpinning pages without requiring host intervention. The VM executes I/O operations directly and manages its own buffer pages, eliminating the need for context switches to the host for these operations.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The storage management functions (fault resolution, page pinning, unpinning) are extracted from the host system and transferred to the virtual machine itself. This separation allows the VM to handle these operations independently, removing the dependency on host intervention and the associated context-switching overhead.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If host page allocation and fix-up are performed for every page fault, then page faults are resolved, but processing overhead increases significantly

Engineering Contradiction:
Improvepage fault resolutionVSAvoidprocessing overhead
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The virtual machine autonomously resolves its own page faults by allocating pages from its own page pool and performing fix-up operations on its own page tables, eliminating the need for host involvement in page fault handling and reducing processing overhead.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

Pages are pre-allocated to the virtual machine from a page pool before faults occur. When a page fault happens, the VM can immediately use the pre-allocated pages without requiring host allocation, and pre-establishes page table structures to enable quick fix-up operations.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If guest and host queue synchronization is performed for QDIO virtualization, then I/O operations are coordinated, but overhead increases due to required host intervention

Engineering Contradiction:
Improvequeue synchronizationVSAvoidI/O processing throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The virtual machine autonomously synchronizes its I/O queues with the host queues by directly comparing and coordinating queue states without requiring host intervention. The VM manages its own queue pointers and synchronization markers, eliminating the overhead of host-mediated synchronization.

Inventive Principle:
Principle #25Self-service

4Reliability

If pages are pinned in physical storage during I/O operations, then data integrity is maintained, but storage flexibility decreases and unpinning overhead increases

Engineering Contradiction:
Improvedata integrityVSAvoidstorage flexibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The virtual machine autonomously manages page pinning and unpinning operations based on its own I/O requirements. The VM pins pages only when needed for active I/O operations and automatically unpins them when no longer required, maintaining data integrity while preserving storage flexibility without host intervention.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8214622B2Facilitating management of storage of a pageable mode virtual environment absent intervention of a host of the environment
Publication Date: 2012.07.03 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US8214622B2 patent drawing
  • US8214622B2 patent drawing
  • US8214622B2 patent drawing

AI summary

Host page management assist functions are employed to manage storage of a pageable mode virtual environment. These functions enable storage to be managed by a processor of the environment absent intervention of a host of the environment. The functions include a resolve host page function; a pin function; and unpin functions.