Queue-Specific Memory Page Recycling via Write Pointer Tracking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current memory paging techniques, such as LRU and MRU, do not effectively utilize access history to predict which pages are likely to be reused, leading to inefficiencies in managing memory for sequentially-accessed data structures like queues, resulting in delays due to inadequate page recycling.

Innovation Solution

A queue-specific paging algorithm that maintains a recycle list with a head and tail end, where pages are ordered based on write access transitions and closure events, prioritizing the recycling of recently written pages and closed queues to optimize page reuse.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If LRU paging is used to recycle memory pages, then the overhead of moving pages is reduced, but pages that have just been written are not effectively identified for recycling, leading to inefficiencies in sequentially-accessed data structures

Engineering Contradiction:
Improvepaging efficiencyVSAvoidpage transfer delay
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system performs preliminary identification of pages eligible for recycling by tracking write pointer transitions and queue closure events. When a write pointer moves off a page or a queue is closed, the page is immediately marked for recycling before it is actually needed again, allowing proactive page management rather than reactive swapping.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms by monitoring write pointer positions and queue state changes. This feedback information is used to dynamically determine which pages should be recycled, creating a closed-loop system that adapts to actual access patterns in sequentially-accessed data structures.

Inventive Principle:
Principle #23Feedback

2Device complexity

If general-purpose paging algorithms are used, then memory management is simplified, but access history specific to sequential data structures is not utilized, reducing prediction accuracy for page reuse

Engineering Contradiction:
Improvememory management complexityVSAvoidpage reuse prediction accuracy
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The system applies specialized paging logic specifically to sequentially-accessed data structures like queues, rather than using a uniform approach for all memory pages. By tracking write pointers and queue closure events locally within these data structures, the system achieves high prediction accuracy for page reuse without complicating the management of other memory pages.

Inventive Principle:
Principle #3Local quality

Data Source

PatentEP1896951B1Managing memory pages
Publication Date: 2019.10.16 AB INITIO TECHNOLOGY LLC
  • EP1896951B1 patent drawingFigure 1
  • EP1896951B1 patent drawingFigure 2A
  • EP1896951B1 patent drawingFigure 2B~4C

AI summary

A method, and corresponding software and system, is described for paging memory used for one or more sequentially-accessed data structure. The method includes providing a data structure (200) representing an order in which memory pages are to be reused; and maintaining the data structure according to a history of access to a memory page associated with one of the sequentially-accessed data structures. A position of the memory page in the order depends on a transition of sequential access off of the memory page.