Memory Event Profiling via Logical OR Signal Compression

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current processor and memory emulation technologies face challenges in accurately modeling cache events and system interactions, leading to performance discrepancies between simulated and actual target system performance, especially with cache-based architectures, which affects developer confidence and necessitates advanced emulation for visibility and optimization.

Innovation Solution

The solution involves advanced emulation features that provide visibility into memory system activity without halting the processor, including compression of trace data, adaptive data extraction using dual clocks, and dynamic calibration of delay lines to ensure accurate monitoring and optimization of cache performance, enabling better debug and profiling capabilities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If comprehensive trace data is collected for full visibility into memory system activity, then profiling and debug capabilities are improved, but data volume becomes excessively large causing potential data corruption and bandwidth overload

Engineering Contradiction:
Improvevisibility into memory system activityVSAvoidtrace data volume
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent extracts only the essential memory event information needed for profiling and debugging, filtering out redundant data. The trace mechanism selectively captures memory access patterns, cache events, and DMA activities while excluding unnecessary details, thus providing adequate visibility without overwhelming data volume.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of collecting all possible trace data and then filtering, the patent inverts the approach by pre-defining which memory events are most valuable for profiling and debugging. The trace mechanism is configured to capture only these specific events from the outset, reversing the traditional filter-then-analyze workflow to analyze-then-filter.

Inventive Principle:
Principle #13The other way round (Inversion)

2Measurement precision

If continuous monitoring of memory events is implemented for accurate profiling, then system behavior visibility is improved, but processor performance degradation occurs due to monitoring overhead

Engineering Contradiction:
Improvesystem behavior visibilityVSAvoidprocessor performance
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent creates a virtual copy of the memory system through virtualization technology, allowing monitoring and profiling activities to occur on the virtualized model rather than the actual running system. This copy captures memory event behavior without interfering with the original processor's performance, as the monitoring overhead is borne by the virtualization layer instead of the target application.

Inventive Principle:
Principle #26Copying

3Measurement precision

If detailed cache event tracking is enabled for performance analysis, then cache performance visibility is improved, but complexity of the emulation system increases

Engineering Contradiction:
Improvecache performance visibilityVSAvoidemulation system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements a universal trace mechanism that can monitor multiple types of events (memory accesses, cache events, DMA activities, interrupts) through a single integrated system. This multi-functional approach provides detailed cache performance visibility without requiring separate complex monitoring subsystems for each event type, thus reducing overall system complexity while maintaining comprehensive tracking capabilities.

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

Data Source

PatentUS7312736B2Trading off visibility for volume of data when profiling memory events
Publication Date: 2007.12.25 TEXAS INSTRUMENTS INC
  • US7312736B2 patent drawing
  • US7312736B2 patent drawing
  • US7312736B2 patent drawing

AI summary

When tracing memory events the required bandwidth may be reduced by forming a logical OR of several memory event signals to determine the location of memory events. A second trace run may be made after this, tracing only the limited portions of the application where the first run indicated possible problems.