Unified Metadata Cache Line for Memory Protection Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current computer systems face inefficiencies and performance overheads due to the need for multiple memory protection checks and optimizations, which can lead to the omission of necessary checks to avoid memory access burdens, particularly in systems lacking ECC memories.

Innovation Solution

A unified metadata re-organization scheme is implemented, where all metadata associated with multiple memory protection checks for a cache line is stored in a single metadata cache line, allowing all usages to be supported with no more than one additional memory access, and integrating a security engine for parallelized operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If multiple memory protection checks and optimizations are implemented, then data security and performance are improved, but memory bandwidth consumption and processing overhead increase

Engineering Contradiction:
Improvedata securityVSAvoidmemory bandwidth consumption
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent combines multiple separate metadata items (ECC metadata, integrity metadata, and tag metadata) into a single unified metadata cache line. This merging allows all protection checks to be performed using one metadata structure, reducing the number of separate memory accesses required and thereby decreasing memory bandwidth consumption while maintaining comprehensive data protection.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The unified metadata cache line is designed to serve multiple functions simultaneously - it stores error correction codes, integrity verification data, and memory tag information. This multi-functional metadata structure enables a single memory access to support multiple protection checks, reducing processing overhead and bandwidth usage compared to separate metadata structures for each protection mechanism.

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

2Reliability

If multiple memory protection checks are implemented, then data security is improved, but processing overhead increases

Engineering Contradiction:
Improvedata securityVSAvoidprocessing overhead
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

By merging multiple protection check metadata into a single unified metadata cache line, the patent enables all necessary metadata to be retrieved in one memory access operation. This eliminates the sequential overhead of multiple separate metadata accesses, thereby reducing processing time while maintaining multiple layers of data protection.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The unified metadata structure is prepared in advance during the write operation, consolidating all protection information (ECC, integrity, tags) into a single cache line before read operations occur. This preliminary organization of metadata enables efficient retrieval during read operations without requiring additional processing time during data access.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If separate metadata items are stored for each memory protection check, then comprehensive protection is achieved, but memory access efficiency decreases

Engineering Contradiction:
Improvememory protection capabilityVSAvoidmemory access efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent merges separate metadata items for ECC, integrity verification, and memory tagging into a single unified metadata cache line. This consolidation allows all protection metadata to be accessed simultaneously in one memory operation, dramatically improving memory access efficiency while maintaining comprehensive protection capabilities across all data access operations.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentEP3757860B1Providing improved efficiency for metadata usages
Publication Date: 2023.09.06 INTEL CORP
  • EP3757860B1 patent drawingFigure 1
  • EP3757860B1 patent drawingFigure 2
  • EP3757860B1 patent drawingFigure 3

AI summary

Technologies are provided in embodiments for improving efficiency of metadata usage by memory protection checks. One example method includes detecting a read request for data in a memory, initiating a first access to the memory for a data cache line containing the data, and initiating a second access to the memory for a metadata cache line mapped to the data cache line, where the metadata cache line contains two or more metadata items for two or more memory protection checks to be performed based on the data cache line. The method may further include performing the two or more memory protection checks using, respectively, the two or more metadata items from the metadata cache line. In more specific embodiments, the two or more memory protection checks are performed substantially in parallel.