TLB Entries With Exclusion Bits For Mixed Page Sizes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing memory management systems with translation look-aside buffers (TLBs) face inefficiencies when handling a mix of small and large page sizes, requiring more TLB entries to maintain contiguous memory ranges, which leads to increased resource usage and complexity.

Innovation Solution

The implementation of a TLB search logic device that uses exclusion bits to optimize page entries by allowing a mix of page sizes in a single contiguous memory area, reducing the number of TLB entries needed by excluding specific memory ranges and enabling the use of subpages within larger pages.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a mix of small and large page sizes is used in contiguous memory, then memory management flexibility is improved, but the number of TLB entries required increases

Engineering Contradiction:
Improvememory management flexibilityVSAvoidnumber of TLB entries
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent divides a large page into multiple smaller subpages, allowing the TLB to represent a contiguous range of memory with a single entry rather than requiring multiple separate entries. This segmentation approach enables flexible mixing of page sizes while reducing TLB entry requirements by creating a hierarchical structure where large pages can contain smaller subpages.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an exclusion bit field that adds a new dimension to the TLB entry structure. This exclusion bit field allows the system to exclude specific subpage ranges from a large page, enabling precise control over which memory regions are covered by the TLB entry. This dimensional addition resolves the contradiction by providing both flexibility and entry reduction simultaneously.

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

2Quantity of substance

If large pages are used to reduce TLB entries, then TLB resource usage is improved, but memory alignment requirements become more restrictive

Engineering Contradiction:
ImproveTLB entriesVSAvoidalignment requirements
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent makes the page structure dynamic by allowing large pages to be divided into smaller subpages on demand. The exclusion bit field dynamically specifies which subpages are excluded from the large page coverage, enabling the system to adapt to different alignment requirements while maintaining the benefits of large page TLB entries. This dynamic structure resolves the rigidity of fixed alignment requirements.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent applies different page size qualities to different regions of memory by using exclusion bits to specify which subpages are excluded from large page coverage. This allows local optimization where specific memory regions can have different effective page sizes based on their alignment requirements, while the overall TLB entry remains efficient. Each region can have tailored page characteristics without affecting the entire TLB structure.

Inventive Principle:
Principle #3Local quality

3Stability of the object's composition

If contiguous memory ranges are maintained with traditional TLB entries, then memory continuity is preserved, but the number of TLB entries and system complexity increase

Engineering Contradiction:
Improvememory continuityVSAvoidsystem complexity
Core Design Contradiction:
Stability of the object's compositionVSDevice complexity

Solution Approach 1:

The patent merges multiple potential TLB entries into a single entry by using the exclusion bit field to represent a contiguous range of memory. Instead of requiring separate TLB entries for each page or subpage in a contiguous range, the system combines them into one entry that covers the entire range while excluding specific subpages as needed. This merging reduces system complexity while preserving memory continuity.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent changes the parameter structure of TLB entries by adding the exclusion bit field, which fundamentally alters how contiguous memory ranges are represented. This parameter change enables a single TLB entry to cover a contiguous range with selective exclusions, reducing the number of entries needed while maintaining continuity. The exclusion bits provide a compact way to specify which regions are included or excluded without increasing overall system complexity.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS8856490B2Optimizing TLB entries for mixed page size storage in contiguous memory
Publication Date: 2014.10.07 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US8856490B2 patent drawing
  • US8856490B2 patent drawing
  • US8856490B2 patent drawing

AI summary

A system and method for accessing memory are provided. The system comprises a lookup buffer for storing one or more page table entries, wherein each of the one or more page table entries comprises at least a virtual page number and a physical page number; a logic circuit for receiving a virtual address from said processor, said logic circuit for matching the virtual address to the virtual page number in one of the page table entries to select the physical page number in the same page table entry, said page table entry having one or more bits set to exclude a memory range from a page.