Cache Scope Designation for Contention Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modern multiprocessor systems face inefficiencies and latency issues due to address contention among multiple CPU cores requesting data from shared memory, which conventional mechanisms like locks and serialization fail to adequately address, leading to increased operational latencies and inefficient resource utilization.

Innovation Solution

A cache management scheme that utilizes a cache scope designation to determine the appropriate cache level for data retrieval, allowing for speculative fetching and adjusting cache scope based on contention, thereby reducing address contention events and improving performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If multiple CPU cores request data from the same memory address simultaneously, then workload capacity increases, but address contention occurs leading to increased latency

Engineering Contradiction:
Improveworkload capacityVSAvoidlatency
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments the cache access space into multiple independent regions (first cache access space and second cache access space) that can be accessed simultaneously by different CPU cores. This segmentation allows parallel cache operations without address contention, enabling multiple cores to fetch data from different cache regions at the same time while maintaining high workload capacity and eliminating latency penalties associated with serialized access.

Inventive Principle:
Principle #1Segmentation

2Device complexity

If conventional cache management mechanisms are used, then system simplicity is maintained, but address contention events lead to inefficient computing

Engineering Contradiction:
Improvecache management complexityVSAvoidcomputing efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent implements dynamic cache scope designation where each cache access request can specify a particular cache access space (first or second) based on the requestor's needs. This dynamic allocation allows the system to adapt cache usage patterns in real-time, directing requests to appropriate cache regions to minimize contention and maximize computing efficiency, rather than using static cache management rules.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the cache access parameter by introducing cache scope designation that specifies which cache access space should be used. By modifying the cache access behavior through this additional parameter, the system enables fine-grained control over cache utilization, allowing different CPU cores to operate in different cache spaces simultaneously, thereby eliminating address contention while maintaining simple cache management architecture.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If cache scope is restricted to improve performance, then address contention is reduced, but data retrieval flexibility decreases

Engineering Contradiction:
ImproveperformanceVSAvoiddata retrieval flexibility
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent creates a universal cache management system where the same cache controller and memory structure serve multiple cache access spaces (first and second cache access spaces). This multi-functional design allows the system to restrict cache scope for performance optimization while maintaining flexibility, as the unified cache infrastructure can dynamically allocate access rights to different spaces based on requestor needs, ensuring both performance improvement and data retrieval versatility.

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

Data Source

PatentUS11880304B2Cache management using cache scope designation
Publication Date: 2024.01.23 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11880304B2 patent drawing
  • US11880304B2 patent drawing
  • US11880304B2 patent drawing

AI summary

To facilitate an efficient processing of contended cache lines, a cache controller that is associated with a requestor receives a fetch request for data from the requestor. The fetch request is associated with a cache scope designation. If the data is in a high-level cache (e.g., L1 cache) associated with the requestor, the cache controller returns the requested data to the requestor. If the data is not in the high-level cache or if the data is not within the cache pool identified by the cache scope of search designation, and/or if obtaining the data is contentious, the controller returns a cache miss, undeliverable data, and request done instruction to the requestor. Such scheme allows or permits address contention events when the requestor deems such events are necessary and/or when important. As such, address contention events, performance, latencies, increased executions times, inefficient use of resources, may be diminished.