4 ms·
Does anyone really use suspend-to-disk? It takes awfully long to write 8-16 GB of data, then awfully long to read it back. It is much faster to just boot, than
by vetinari 9y ago
Does anyone really use suspend-to-disk? It takes awfully long to write 8-16 GB of data, then awfully long to read it back. It is much faster to just boot, than to restore from suspend to disk.
- HugoDaniel 9y agoIf the battery level is at the end the OS should suspend to disk in order to avoid losing work.
- imhoguy 9y agoHybrid-suspend should help avoid read it back from disk if AC or battery power is uninterrupted. Also I find caches dropping benefitting to reduce the suspend time.
- jmiserez 9y agoYes, that is my experience too on Linux. However, most times it isn’t actually necessary to write the full RAM out and IIRC Windows and macOS actually don’t. There are a few approaches that work, e.g. you can do memory ballooning and drop caches to reduce memory usage before suspending. In addition, you can write unused RAM pages to disk during normal operation, so that when the user wants to suspend, most of the pages are already on disk.