Host Page Management Assist for Virtual Environment Storage
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
2Reliability
If host page allocation and fix-up are performed for every page fault, then page faults are resolved, but processing overhead increases significantly
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.
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.
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
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.
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
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.
Data Source
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.


