Computer Hibernation Memory Page Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current hibernation states in computer systems, such as S3 and S4, are inefficient in terms of power-saving and speed of reactivation, with S3 requiring power to volatile memory and S4 taking longer to return to full speed operation.

Innovation Solution

Classifying main memory into clean and dirty pages, swapping out clean pages and writing dirty pages into a hibernation file and swap space, reducing memory usage and data transfer during hibernation, and reloading data from secondary storage upon reactivation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If the computer system enters into S3 state (Suspend-To-RAM), then the reactivation speed is faster, but the power consumption is higher because power must be provided to volatile memory

Engineering Contradiction:
Improvereactivation speedVSAvoidpower consumption
Core Design Contradiction:
SpeedVSUse of energy by moving object

Solution Approach 1:

The main memory is segmented into clean pages and dirty pages. Clean pages are swapped out and abandoned, while only dirty pages are written to secondary storage. This segmentation allows the system to reduce memory usage without requiring full memory preservation, resolving the contradiction between fast reactivation and power saving.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Clean pages are extracted and removed from the memory management process during hibernation. By identifying and excluding clean pages from the swap-out process, the system reduces the amount of data that needs to be transferred to and from secondary storage, thereby reducing power consumption while maintaining fast reactivation.

Inventive Principle:
Principle #2Taking out (Extraction)

2Use of energy by moving object

If the computer system enters into S4 state (Spend-To-Disk), then the power saving is better, but the reactivation speed is much slower

Engineering Contradiction:
Improvepower savingVSAvoidreactivation speed
Core Design Contradiction:
Use of energy by moving objectVSSpeed

Solution Approach 1:

Instead of swapping out all memory pages (excessive action), the system performs partial swap-out only for dirty pages. This partial action achieves sufficient power saving by reducing memory usage during hibernation while avoiding the performance penalty of transferring entire memory contents to secondary storage.

Inventive Principle:
Principle #16Partial or excessive action

3Use of energy by moving object

If all main memory is swapped out during hibernation, then the power saving is maximized, but the amount of data transfer increases and reactivation speed decreases

Engineering Contradiction:
Improvepower savingVSAvoidreactivation time
Core Design Contradiction:
Use of energy by moving objectVSLoss of time

Solution Approach 1:

Clean pages are extracted and excluded from the swap-out process. By removing unnecessary data transfer operations for clean pages, the system reduces both the amount of data transferred and the reactivation time, while still achieving power saving through the reduced memory footprint.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Clean pages are discarded during hibernation and not recovered during reactivation. Since clean pages contain data that can be regenerated or is not critical, discarding them eliminates unnecessary data transfer operations, reducing both power consumption and reactivation time.

Inventive Principle:
Principle #34Discarding and recovering

4Quantity of substance

If clean pages are swapped out and abandoned, then the memory usage is reduced and reactivation is faster, but the system complexity increases

Engineering Contradiction:
Improvememory usageVSAvoidsystem complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The memory management system is segmented to identify and separate clean pages from dirty pages. This segmentation enables selective swap-out operations that reduce memory usage during hibernation. The segmentation is implemented through existing page table structures and memory management data structures, minimizing the increase in system complexity.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS8930732B2Fast speed computer system power-on and power-off method
Publication Date: 2015.01.06 NATIONAL CHUNG CHENG UNIV
  • US8930732B2 patent drawing
  • US8930732B2 patent drawing
  • US8930732B2 patent drawing

AI summary

A fast speed computer system power-on & power-off method, that is used to reduce an amount of main memory transferred and stored from a main memory into a second storage device, thus speeding up a speed of re-activation of a computer system from a hibernation state into a full speed operation state. Said fast speed computer system power-on & power-off method is applicable to various types of computer systems, and can be used to write in and load back data in cooperation with a random access processing technology. In addition, said method can be used to reduce extent of data loss and damage of said computer system due to a sudden power outage of said computer system.