Main Memory Tag Compression for Security Policy Enforcement

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional processor architectures face challenges in securing computer systems due to high overheads in enforcing security policies, which can be costly in terms of energy and performance, especially when using large metadata tags for hardware support.

Innovation Solution

Implementing main memory tag compression using short tags (e.g., 16-bit tags) that can be translated into full tags, allowing for adaptive encoding based on usage frequency to reduce energy consumption and memory requirements while maintaining effective security policies.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If pointer-sized (64-bit) tags are added to 64-bit words for hardware security policy enforcement, then security policy enforcement capability is improved, but main memory size requirement doubles

Engineering Contradiction:
Improvesecurity policy enforcement capabilityVSAvoidmain memory size
Core Design Contradiction:
ReliabilityVSVolume of stationary object

Solution Approach 1:

The patent segments the tag into two parts: a short tag (e.g., 16-bit) stored in main memory and a full tag (64-bit) stored in a tag map data structure. This segmentation allows the system to maintain security enforcement capability while reducing main memory overhead by only storing compressed short tags in the primary memory space.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements a nested structure where the short tag in main memory points to or indexes into a tag map data structure that contains the full tag. This nested arrangement enables the system to use minimal space in main memory while still having access to the complete tag information when needed for security policy enforcement.

Inventive Principle:
Principle #7Nested doll (Nesting)

2Reliability

If large metadata tags are used for hardware security support, then security enforcement accuracy is improved, but energy consumption increases

Engineering Contradiction:
Improvesecurity enforcement accuracyVSAvoidenergy consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent applies local quality by using short tags in the frequently accessed main memory and only expanding to full tags when actually needed for security policy checks. This localized expansion minimizes the energy consumption associated with transferring and processing large tag data, while maintaining accurate security enforcement when required.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent performs preliminary compression of tags to short form before storing them in main memory. This preliminary action reduces the amount of data that needs to be moved and processed during normal operations, thereby reducing energy consumption while preserving the ability to perform accurate security checks when needed.

Inventive Principle:
Principle #10Preliminary action

3Volume of stationary object

If short tags are used in main memory, then memory requirements are reduced, but tag information completeness is lost

Engineering Contradiction:
Improvememory requirementsVSAvoidtag information completeness
Core Design Contradiction:
Volume of stationary objectVSLoss of information

Solution Approach 1:

The patent introduces a tag map data structure as an intermediary between the short tags in main memory and the full tags needed for security enforcement. The tag map acts as a mediator that translates the compressed short tags back into complete tag information when required, thus preserving tag information completeness while maintaining memory efficiency.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent moves the full tag information to a different dimension - the tag map data structure - rather than storing it directly in main memory alongside the short tags. This dimensional separation allows the system to maintain complete tag information availability while keeping main memory requirements low, as the tag map can be accessed on-demand rather than being permanently resident in main memory.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Data Source

PatentUS12019736B2Methods, systems, and computer readable media for main memory tag compression
Publication Date: 2024.06.25 THE TRUSTEES OF THE UNIV OF PENNSYLVANIA
  • US12019736B2 patent drawing
  • US12019736B2 patent drawing
  • US12019736B2 patent drawing

AI summary

Methods, systems, and computer readable media for using metadata tag compression. A method occurs at a metadata processing system for enforcing security policies in a processor architecture. The method comprises: receiving, at the metadata processing system, a short tag associated with a word in memory; translating the short tag, using a tag map, into a long tag, wherein the short tag indicates a location of the long tag relative to an offset in the tag map and wherein the long tag indicates a memory location containing metadata associated with the word or an instruction; obtaining the metadata from the memory location; and determining, using the metadata, whether the word or the instruction violates a security policy.