Runtime Adapter Translation Format Determination

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems for accessing system memory in computing environments face challenges in efficiently translating addresses from various components, such as central processing units and adapters, due to the lack of a one-to-one correspondence between virtual or PCI addresses and physical memory locations, requiring complex address translation mechanisms.

Innovation Solution

A computer program product that facilitates memory access by using a Modify PCI Function Controls (MPFC) instruction to determine and set a translation format for adapters, allowing for the generation of direct memory access (DMA) addresses based on pre-registered translation formats, thereby bypassing or optimizing the need for address translation tables.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If address translation is performed using traditional methods with translation tables, then address translation accuracy is improved, but memory access time increases and system performance deteriorates

Engineering Contradiction:
Improveaddress translation accuracyVSAvoidmemory access time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-registering translation formats for adapters during system initialization or configuration phases. The MPFC instruction allows the system to pre-establish translation format associations with adapter handles, so that during runtime, the appropriate translation format is already determined and stored, eliminating the need for complex runtime translation table lookups and reducing memory access time while maintaining translation accuracy

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If complex address translation mechanisms are used to handle virtual and PCI addresses, then address translation capability is improved, but device complexity increases

Engineering Contradiction:
Improveaddress translation capabilityVSAvoidaddress translation mechanism complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent applies parameter changes by introducing a translation format parameter that can be dynamically selected and stored in the device table entry. The MPFC instruction modifies the translation format parameter associated with an adapter handle, allowing the system to switch between different translation formats (such as direct mapping, windowing, or translation table-based mapping) based on the specific adapter requirements, thereby maintaining versatile address translation capability while simplifying the actual translation mechanism through parameterization

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If translation format is determined at runtime for each memory access, then adaptability is improved, but processing overhead increases

Engineering Contradiction:
Improvetranslation format selection flexibilityVSAvoidmemory access throughput
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent resolves this contradiction by performing the translation format determination in advance through the MPFC instruction, which sets the translation format as a pre-configured parameter in the device table entry. During runtime memory access operations, the previously determined translation format is directly applied without requiring re-evaluation or complex selection logic, thus maintaining adaptability while eliminating processing overhead and preserving high memory access throughput

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8650337B2Runtime determination of translation formats for adapter functions
Publication Date: 2014.02.11 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US8650337B2 patent drawing
  • US8650337B2 patent drawing
  • US8650337B2 patent drawing

AI summary

Various address translation formats are available for use in obtaining system memory addresses for use by requestors in accessing system memory. The particular address translation format to be used by a given requestor, an example of which is an adapter function, is pre-registered in a device table entry associated with that requestor.