In-Memory Trace Capture with Memory Data Contents

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current in-memory trace (IMT) data capture methods in data processing systems do not include memory data contents, which limits the generation of CAP test cases and performance verification for new processor cores, particularly for reflecting new customer workloads and new instruction sets.

Innovation Solution

The method involves initiating an in-memory trace data capture for a processor, capturing the contents of architected registers, and using a load-store unit to read memory data contents, including memory fetch control and data records, to generate and verify hardware instruction traces with memory data contents, enabling the creation of CAP test cases and performance verification.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If in-memory trace data capture is performed without memory data contents, then the tracing system can operate with simpler infrastructure, but it cannot generate CAP test cases or perform comprehensive performance verification for new processor cores

Engineering Contradiction:
Improvesimplicity of tracing infrastructureVSAvoidcapability to generate CAP test cases and verify performance
Core Design Contradiction:
Ease of manufactureVSAdaptability or versatility

Solution Approach 1:

The patent combines traditional tracing infrastructure with memory data content capture by integrating the trace data path with memory data paths. The trace unit is enhanced to capture both instruction traces and associated memory data contents, merging these previously separate functions into a unified tracing system that provides comprehensive data for CAP test case generation and performance verification

Inventive Principle:
Principle #5Merging (Combining)

2Adaptability or versatility

If memory data contents are included in IMT trace data, then CAP test cases can be generated and performance verification can be performed, but the complexity of the trace data capture system increases

Engineering Contradiction:
Improvecapability to generate CAP test cases and verify performanceVSAvoidcomplexity of trace data capture system
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The trace unit is designed with multi-functionality to handle both traditional instruction tracing and memory data content capture. The same trace unit infrastructure processes both types of data, and the trace data format is structured to accommodate multiple data types (instruction traces, memory data contents, and their associations) within a unified framework, reducing the need for separate dedicated hardware for each function

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

3Measurement precision

If memory data contents are captured in IMT traces, then comprehensive performance verification is enabled, but the amount of data to be processed and stored increases

Engineering Contradiction:
Improvecomprehensiveness of performance verificationVSAvoidvolume of trace data
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The trace data is segmented into distinct components including instruction traces, memory data contents, and association information. This segmentation allows for organized storage and selective processing of different data types, enabling the system to handle comprehensive verification data while managing data volume through structured organization and efficient storage of only relevant portions

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10824426B2Generating and verifying hardware instruction traces including memory data contents
Publication Date: 2020.11.03 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10824426B2 patent drawing
  • US10824426B2 patent drawing
  • US10824426B2 patent drawing

AI summary

Embodiments of the present invention are directed to a computer-implemented method for generating and verifying hardware instruction traces including memory data contents. The method includes initiating an in-memory trace (IMT) data capture for a processor, the IMT data being an instruction trace collected while instructions flow through an execution pipeline of the processor. The method further includes capturing contents of architected registers of the processor by: storing the contents of the architected registers to a predetermined memory location, and causing a load-store unit (LSU) to read contents of the predetermined memory location.