MMU Mode Switching for TLB Update Control and Translation Speed

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Address translation between virtual and physical memory addresses consumes processing and memory resources, particularly when cache misses occur in translation lookaside buffers (TLBs), leading to performance bottlenecks in multi-core systems.

Innovation Solution

A memory management unit (MMU) with a configuration register that allows operation in software-managed or hardware-managed modes, enabling direct TLB modifications in software-managed mode and denying requests in hardware-managed mode to optimize address translation processes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If address translation is performed through traditional software-managed TLB modification, then flexibility in memory management is improved, but processing resources and time are excessively consumed

Engineering Contradiction:
Improveflexibility in memory managementVSAvoidaddress translation time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system dynamically switches between software-managed and hardware-managed modes based on operational requirements. The MMU can operate in software-managed mode when flexibility is needed and in hardware-managed mode when performance is critical, allowing the system to adapt its management style dynamically rather than being fixed in one approach

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The invention changes the operational parameter of the MMU from purely software-managed to support both software-managed and hardware-managed modes. This parameter change enables the system to select the appropriate management mode based on the specific operational context, balancing flexibility and performance

Inventive Principle:
Principle #35Parameter changes

2Speed

If address translation is performed through hardware-managed TLB modification, then processing speed is improved, but control flexibility is reduced

Engineering Contradiction:
Improveaddress translation speedVSAvoidcontrol flexibility
Core Design Contradiction:
SpeedVSAdaptability or versatility

Solution Approach 1:

The system dynamically switches between software-managed and hardware-managed modes based on operational requirements. The MMU can operate in software-managed mode when flexibility is needed and in hardware-managed mode when performance is critical, allowing the system to adapt its management style dynamically rather than being fixed in one approach

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The MMU is designed to perform multiple functions through a single unified architecture that supports both software-managed and hardware-managed operation modes. This multi-functionality allows the same hardware unit to provide both high-speed hardware management and flexible software management as needed

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

3Reliability

If TLB cache misses occur frequently, then memory access patterns indicate potential performance bottlenecks, but handling these misses consumes additional processing resources

Engineering Contradiction:
Improvememory access reliabilityVSAvoidprocessing resource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The hardware-managed mode enables the TLB to automatically manage its own entries through hardware mechanisms, reducing the need for software intervention. The MMU autonomously handles address translation and TLB updates, allowing the system to self-service without consuming additional processing resources for each translation operation

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20250284646A1Software-hardware memory management modes
Publication Date: 2025.09.11 TEXAS INSTRUMENTS INC
  • US20250284646A1 patent drawing
  • US20250284646A1 patent drawing
  • US20250284646A1 patent drawing

AI summary

A method includes receiving, by a memory management unit (MMU) comprising a translation lookaside buffer (TLB) and a configuration register, a request from a processor core to directly modify an entry in the TLB. The method also includes, responsive to the configuration register having a first value, operating the MMU in a software-managed mode by modifying the entry in the TLB according to the request. The method further includes, responsive to the configuration register having a second value, operating the MMU in a hardware-managed mode by denying the request.