Memory Controller Overlay Backup for Task Switching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In computing systems with hierarchical memory structures, there is a need to efficiently manage task backups and restorations between internal and external memory to minimize copy overhead and optimize resource usage, especially when switching between tasks.

Innovation Solution

A memory management method that uses an overlay scheme, where a memory controller identifies and copies only the changed data from the internal memory to the external memory, utilizing a stack structure with pointers to manage data access and storage efficiently, thereby reducing unnecessary data copies.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all data associated with a task is copied to external memory during task backup, then the task can be fully restored later, but the copy overhead increases significantly

Engineering Contradiction:
Improvetask restoration completenessVSAvoidcopy overhead
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts only the necessary portion of data (changed data) from the task's data structure for copying to external memory, rather than copying all data. This is achieved by identifying and copying only the data that has been modified since the last backup, thereby reducing copy overhead while maintaining task restoration capability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial action by copying only a portion of the task data (specifically, only the changed data) instead of the entire data set. This selective copying approach reduces the amount of data transferred between internal and external memory, directly reducing copy overhead while preserving the essential information needed for task restoration.

Inventive Principle:
Principle #16Partial or excessive action

2Ease of operation

If a stack structure is used to manage task data, then data access is simplified, but identifying changed data requires additional pointers and tracking

Engineering Contradiction:
Improvedata accessVSAvoidpointer management
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent introduces pointers as intermediary elements that facilitate the identification of changed data within the stack structure. By using pointers to track the boundaries and locations of modified data, the system simplifies the process of identifying what needs to be copied, even though this adds some complexity to the data structure management.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS8478956B2Computing system and method controlling memory of computing system
Publication Date: 2013.07.02 SAMSUNG ELECTRONICS CO LTD
  • US8478956B2 patent drawing
  • US8478956B2 patent drawing
  • US8478956B2 patent drawing

AI summary

Provided is a computing system and method. The computing system may back up, based on an overlay scheme, a task of an internal memory in an external memory, and the task may be restored to the internal memory from the external memory. The computing system may include a first memory to store data associated with a first task processed in a processor, as a first data structure, a second memory to store backup data of the data associated with the first task, and a memory controller to copy, to the second memory, data other than data previously backed up in the second memory among the data associated with the first task, when the data associated with the first task is backed up in the second memory to process a second task in the processor.