Computer Hibernation Memory Page Segmentation
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
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
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.
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
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.
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.
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
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.
Data Source
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.


