Adaptive Cache Memory System for Variable Line Sizes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional caches are limited in their ability to accommodate different memory line sizes, leading to compatibility issues with various computer systems and introducing system interface delays due to the need for multiple read requests to ensure data availability.

Innovation Solution

A cache memory system that operates in multiple modes to adapt to different memory line sizes, allowing it to receive and store memory lines of varying sizes, reducing the need for multiple read requests by strategically allocating and retrieving memory line portions within the cache.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the cache is designed with fixed memory line size to match a specific computer system, then the cache performance is optimized for that system, but the cache becomes incompatible with other computer systems having different memory line sizes

Engineering Contradiction:
Improvecompatibility with different computer systemsVSAvoidcache configuration complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The cache is designed to support multiple memory line sizes (e.g., 64 bytes and 128 bytes) through a single unified structure. The cache logic can adaptively configure way lines to accommodate different memory line sizes without requiring separate cache designs for different systems, thereby achieving universality across multiple computer system types

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

Solution Approach 2:

The cache employs dynamic configuration where the cache logic can change the operational parameters of way lines based on the detected memory line size. When different memory line sizes are detected, the cache logic dynamically adjusts the mapping between memory lines and way lines, allowing the same physical cache structure to adapt to varying system requirements

Inventive Principle:
Principle #15Dynamics

2Loss of time

If the cache uses fixed memory line size, then the cache structure is simple, but multiple read requests are required when memory line sizes differ, introducing system interface delays

Engineering Contradiction:
Improvesystem interface delayVSAvoidcache logic complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The cache logic performs preliminary detection of the memory line size and configures the appropriate way line mapping before data retrieval begins. By preparing the correct configuration in advance, the cache avoids the need for multiple sequential read requests and reduces system interface delays

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The cache logic incorporates feedback mechanisms to detect the actual memory line size and adjust the retrieval process accordingly. Based on the detected memory line size, the cache logic feeds back appropriate configuration signals to optimize the data retrieval process, eliminating unnecessary additional read requests

Inventive Principle:
Principle #23Feedback

3Adaptability or versatility

If each way is designed to store a complete memory line, then data retrieval is efficient, but the cache cannot accommodate partial memory lines from systems with different line sizes

Engineering Contradiction:
Improvesupport for variable memory line sizesVSAvoiddata retrieval efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The cache divides the data storage into segments where each way line can be configured to store complete memory lines or partial memory lines depending on the system requirements. This segmentation allows the cache to accommodate different memory line sizes while maintaining efficient data retrieval by only retrieving necessary portions of data

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS7543113B2Cache memory system and method capable of adaptively accommodating various memory line sizes
Publication Date: 2009.06.02 VALTRUS INNOVATIONS LTD
  • US7543113B2 patent drawing
  • US7543113B2 patent drawing
  • US7543113B2 patent drawing

AI summary

A cache memory system capable of adaptively accommodating various memory line sizes comprises cache memory and cache logic. The cache memory has sets of ways. The cache logic is configured to request a memory line in response to a cache miss, and the memory line represents a portion of a way line. The cache logic is configured to select one of the ways based on which portion of the way line is represented by the memory line. The cache logic is further configured to store the memory line in the selected way.