0

It is a known fact that frequent hibernation could slow down a Windows OS due to memory dumps and I have also experienced it myself. Will this be the same in Ubuntu?

I am currently using Ubuntu Precise Pangolin (12.04) and I require a complex set-up for my desktop and plan to routinely hibernate instead of shutting down. The steps to enable hibernation are given in this post: How to enable hibernation?, but what I need to know is whether it is safe to do it routinely.

2 Answers2

1

It is a known fact that frequent hibernation could slow down a Windows OS due to memory dumps and I have also experienced it myself. Will this be the same in Ubuntu?

Just from personal experience: no. But it should also not do this on Windows. Hibernation by itself should not have any impact on a system since hibernation is only a concern during boots and shutdowns. It basically dumps your machine state to disk during shutdown and loads it back into memory on boot.

A couple of things though: hibernation often does not work out of the box and that is why it is disabled on Ubuntu by default (Suspend works better and was chosen as the default option). It really depends on your hardware, and if it is not compatible it is impossible to get working.

But when it does work it does the job and it will not slow down your system. A hibernation file needs space on a system so a system that is near full does get a performance hit but that is not really a problem with hibernation. A system that needs to swap to get things done will perform less than optimal. That is the same for Linux and Windows but probably more so for a fragmented disk and in the past Linux has had less issues with fragmentation (not sure how Windows is doing in that regard nowadays).

Rinzwind
  • 299,756
0

Hibernation is disabled by default because it is known to cause problems; if you want to test it, run in a terminal sudo pm-hibernate.

Your system will instantly shut down. Turn system back on, and if open programs reappear, hibernate works properly. Still , I would not recommend it.

Zanna
  • 70,465
DnrDevil
  • 1,488
  • The OP knows how to use hibernation, but they ask "..what I need to know is whether it is safe to do it routinely." I think this answer misses the point of the post – Sergiy Kolodyazhnyy Apr 08 '17 at 17:15