User Tools

Site Tools


user:sachy:lakatux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
user:sachy:lakatux [2021/09/26 19:08] – portal sachyuser:sachy:lakatux [2021/10/13 11:16] sachy
Line 811: Line 811:
 # apt-get purge xdg-desktop-portal # apt-get purge xdg-desktop-portal
 </code> </code>
 +
 +==== Speed-up hibernation ====
 +
 +When hibernating the system (storing the state on disk), all RAM content is dumped into the swap area. This includes also caches and other rubbish which can be safely dropped.
 +By default, the pm-utils try to fit the state under 2/5 of the RAM size when hibernating to shorten the store/reload time. This is however not a hard-limit, if the content cant fit, then more data is stored. To change the limit, one can edit /sys/power/image_size to desired soft-limit in bytes. In particular, 0 means that the system will hibernate with the smallest amount of data and all caches will be dropped.
 +
user/sachy/lakatux.txt · Last modified: 2023/09/10 09:16 by sachy