Igor Bubelov About Blog Photos

S4 / Hibernation

March 29, 2022

I was curious to see the performance impact of S4 Linux sleep mode, so I made a few tests. It turns out, resuming from hibernation is slower than a cold boot! I was shocked to see that, but a cold boot is 2 seconds faster than returning from “suspend to disk” mode. I’m not sure if it’s even possible to speed it up, so I’ve decided to stop using swap. Since the cold boot is no slower than returning from hibernation, I just set my laptop to power off when its lid is closed.