Processor Memory Management for Application Process Swapping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing electronic systems face performance issues when executing applications due to insufficient memory resources, leading to slow application loading and usage, as they rely on preloading techniques that are not optimized for memory efficiency.

Innovation Solution

An electronic apparatus with a processor that loads application processes into a volatile memory, identifies inactive processes, and stores their data in a nonvolatile memory using sequential access for efficient swapping, allowing for quick restoration to active state upon need.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If application processes are loaded into memory for preloading, then application execution speed is improved, but memory resource consumption increases

Engineering Contradiction:
Improveapplication execution speedVSAvoidmemory resource consumption
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The system performs preliminary loading of application processes into memory before they are actually executed. The processor identifies that preparation for executing the application has occurred and loads the processes in advance, so when the application needs to run, the processes are already ready in memory, improving execution speed without requiring all processes to remain in memory simultaneously.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system moves processes that are not currently needed from the first memory to the second memory (swap device), freeing up memory resources. When a process needs to be executed, it is recovered by loading it back from the second memory to the first memory. This allows the system to maintain fast execution capability while reducing memory consumption by only keeping necessary processes in fast memory.

Inventive Principle:
Principle #34Discarding and recovering

2Quantity of substance

If inactive process data is stored in swap device, then memory resources are secured, but data retrieval time increases

Engineering Contradiction:
Improvememory resourcesVSAvoiddata retrieval time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The system performs preliminary identification of inactive processes and prepares them for swapping before actually moving them to the second memory. By identifying processes that have switched to an inactivated state and preparing their data for swap-out in advance, the system minimizes the disruption and retrieval time when these processes need to be restored, as the swap operation is already initiated or prepared.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If multiple processes are loaded into first memory, then application functionality is improved, but memory occupancy increases

Engineering Contradiction:
Improveapplication functionalityVSAvoidmemory occupancy
Core Design Contradiction:
Adaptability or versatilityVSArea of stationary object

Solution Approach 1:

The system segments processes into two categories: active processes that remain in the first memory and inactive processes that are moved to the second memory. This segmentation allows the system to maintain multiple processes available for execution (improving functionality) while only occupying memory space in the first memory for processes that are currently active, reducing overall memory occupancy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system extends the memory architecture by utilizing a second memory (swap device) as an additional dimension for storing process data. Instead of trying to fit all processes into the limited first memory, the system uses the second memory as an overflow storage area, effectively increasing the total addressable memory space and allowing more processes to be available without increasing the occupancy of the primary memory.

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

Data Source

PatentUS20230236843A1Electronic apparatus and control method thereof
Publication Date: 2023.07.27 SAMSUNG ELECTRONICS CO LTD
  • US20230236843A1 patent drawing
  • US20230236843A1 patent drawing
  • US20230236843A1 patent drawing

AI summary

Disclosed is an electronic apparatus including: a first memory; a second memory; and a processor configured to: load a plurality of processes of an application into the first memory, identify a process switched to an inactivated state among the plurality of processes loaded into the first memory, store data of the process switched to the inactivated state in an area of the second memory by a sequential access method, and load the data of the process stored in the area of the second memory into the first memory based on the process being restored from the inactivated state to an activated state.