Investigating Suspend to Disk in Linux

For mobile systems, like laptops, Linux includes a suspend to disk mechanism. It saves the state of CPUs, devices, and the main memory to disk and shuts down the system to save battery. This suspend mechanism might also be useful for larger server systems with high availability demands.

These systems usually have the problem that even a momentary power loss can be detrimental. The applications running on the servers, like databases or memory-caching systems, would have to restart entirely, which might take a lot of extra time.

To tackle this problem, server centers are equipped with batteries or persistent main memory that can survive power losses. However, both solutions have limits. In this thesis, we want to explore how well the already present Linux Suspend mechanism could be used to fill this gap. This includes researching and timing the suspend mechanism and optionally improving and extending it for use in larger systems.

image