Adaptive Memory Preparation for Process Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional memory sharing schemes in computer operating systems, such as Linux, lead to inefficient memory usage and waste in computing time and power due to the preparation of unused memory spaces by parent processes for child processes.

Innovation Solution

An adaptive memory preparation technique that analyzes memory usage data to determine whether to prepare a shared memory space for child processes, minimizing the creation of unused memory spaces by only preparing shared memory when a threshold number of child processes are running for a certain duration, allowing each child process to create its own non-shared memory space otherwise.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the parent process prepares a shared memory space for child processes, then memory sharing efficiency is improved, but memory wastage increases when child processes are few or short-lived

Engineering Contradiction:
Improvememory sharing efficiencyVSAvoidmemory wastage
Core Design Contradiction:
ProductivityVSLoss of substance

Solution Approach 1:

The system dynamically determines whether to prepare shared memory space based on the number of child processes and their runtime. When the number of child processes exceeds a threshold or they run for a sufficient duration, shared memory is prepared. Otherwise, individual memory spaces are allocated. This dynamic adaptation resolves the contradiction between memory sharing efficiency and memory wastage.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the memory allocation parameter (shared vs. individual) based on operational conditions. By monitoring child process count and runtime parameters, the system switches between shared memory mode (when conditions favor sharing) and individual memory mode (when conditions suggest wastage), thereby optimizing the balance between sharing efficiency and resource utilization.

Inventive Principle:
Principle #35Parameter changes

2Quantity of substance

If the parent process prepares a shared memory space for multiple child processes, then memory usage is reduced, but computing time and power are wasted when child processes are not started

Engineering Contradiction:
Improvememory usageVSAvoidcomputing time waste
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The system performs preliminary analysis of child process requirements before preparing shared memory space. By evaluating whether child processes are about to be started and predicting their runtime, the system avoids premature memory preparation that would waste computing time and power, while still enabling memory sharing when appropriate.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses feedback from monitoring child process startup patterns and runtime data to adjust memory preparation decisions. This feedback mechanism ensures that shared memory is only prepared when there is actual demand, preventing waste of computing time and power while maintaining efficient memory usage when child processes are active.

Inventive Principle:
Principle #23Feedback

3Productivity

If the parent process prepares a shared memory space, then memory sharing is enabled, but power consumption increases due to unnecessary memory preparation

Engineering Contradiction:
Improvememory sharing capabilityVSAvoidpower consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The system dynamically adjusts power consumption by conditionally preparing shared memory space only when child processes meet specific criteria (sufficient number and runtime). This dynamic approach maintains memory sharing capability when needed while minimizing power consumption by avoiding unnecessary memory preparation operations.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS9977696B2Methods and apparatus of adaptive memory preparation
Publication Date: 2018.05.22 MEDIATEK INC
  • US9977696B2 patent drawing
  • US9977696B2 patent drawing
  • US9977696B2 patent drawing

AI summary

A technique, as well as select implementations thereof, pertaining to adaptive memory preparation is described. The technique may involve analyzing memory usage data of a plurality of child processes of a parent process. The technique may also involve determining whether a shared memory space is to be prepared by the parent process for use by at least a first child process based at least in part on the analyzing.