I/O Adapter DMA Address Validation for Virtual Server Sharing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional systems face inefficiencies in sharing physical I/O adapters between virtual servers, leading to underutilization and increased costs due to the need for dedicated adapters and performance degradation from invocation of sharing mechanisms on every I/O transaction.

Innovation Solution

A method that allows a single physical I/O adapter to validate direct memory access addresses for incoming I/O transactions, ensuring association with the correct virtual adapter or resource, thereby enabling efficient sharing and reducing the need for multiple adapters and intermediary hardware.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a single physical I/O adapter is shared between virtual servers, then adapter utilization improves and hardware costs reduce, but validation overhead increases and performance degradation occurs

Engineering Contradiction:
Improveadapter utilizationVSAvoidI/O transaction performance
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent applies preliminary action by pre-establishing validation rules and DMA address mappings in the adapter firmware before virtualization operations begin. The adapter is pre-configured with knowledge of which DMA addresses belong to which virtual servers, allowing it to validate transactions without real-time intervention from the LPAR manager, thus reducing validation overhead and performance impact.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If dedicated physical adapters are assigned to each virtual server, then I/O transaction performance is maintained, but hardware costs increase and adapter utilization decreases

Engineering Contradiction:
ImproveI/O transaction performanceVSAvoidnumber of physical adapters
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent implements universality by designing a single physical I/O adapter that can serve multiple virtual servers simultaneously. The adapter firmware is enhanced to handle virtualization operations directly, enabling the same physical adapter to be shared across multiple virtual servers with proper isolation and validation, thereby reducing the total number of physical adapters needed while maintaining performance.

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

3Measurement precision

If LPAR manager validates DMA addresses for every I/O transaction, then address association accuracy improves, but validation overhead increases and performance degrades

Engineering Contradiction:
Improveaddress validation accuracyVSAvoidvalidation processing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies the extraction principle by removing the DMA address validation function from the LPAR manager and relocating it to the I/O adapter firmware. This extracts the validation overhead from the software layer and places it in the hardware layer, where it can be executed more efficiently without impacting overall system performance. The LPAR manager no longer needs to intervene in every transaction validation.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent implements self-service by enabling the I/O adapter to autonomously validate DMA addresses without requiring continuous intervention from the LPAR manager. The adapter firmware maintains its own validation state and rules, allowing it to independently verify address associations for each transaction, thereby reducing validation processing time while maintaining accuracy.

Inventive Principle:
Principle #25Self-service

4Device complexity

If multiple physical adapters are used for virtual servers, then adapter sharing complexity is reduced, but hardware requirements increase and costs rise

Engineering Contradiction:
Improveadapter sharing mechanismVSAvoidphysical adapter quantity
Core Design Contradiction:
Device complexityVSQuantity of substance

Solution Approach 1:

The patent introduces an intermediary mechanism in the form of enhanced adapter firmware that acts as a mediator between multiple virtual servers and the single physical adapter. This firmware layer handles the complexity of address validation, transaction routing, and virtualization management, thereby reducing the overall system complexity compared to managing multiple physical adapters while maintaining proper isolation and resource allocation.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS7475166B2Method and system for fully trusted adapter validation of addresses referenced in a virtual host transfer request
Publication Date: 2009.01.06 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US7475166B2 patent drawing
  • US7475166B2 patent drawing
  • US7475166B2 patent drawing

AI summary

A method, computer program product, and distributed data processing system that allows a single physical I/O adapter, such as a PCI, PCI-X, or PCI-E adapter, to validate that a direct memory access address referenced by an incoming I/O transaction that was initiated through a memory mapped I/O operation are associated with a virtual adapter or virtual resource that is referenced by the incoming memory mapped I/O operation is provided. Specifically, the present invention is directed to a mechanism for sharing conventional PCI (Peripheral Component Interconnect) I/O adapters, PCI-X I/O Adapters, PCI-Express I/O Adapters, and, in general, any I/O adapter that uses a memory mapped I/O interface for communications. A single physical I/O adapter validates that one or more direct memory access addresses referenced by an incoming I/O transaction initiated through a memory mapped I/O operation are associated with a virtual adapter or virtual resource that is referenced by the incoming memory mapped I/O operation.