Solving Ubuntu Hibernate/Sleep Performance Issues

Use case

On my (K)Ubuntu 10.10 Maverick  I had the problem, that everytime when I choose to suspend (hibernate or sleep) my system, i had to wait almost 5 minutes for using my system again after a reboot. During the reboot my system seemed to freeze, to flutter, just kooky.

So these are the steps to fix this issue

Install uswsusp

uswusp (user software suspend) is a collection of tools for using the suspend-functions provided by ubuntu. It’s in the repository. So either choose KPackageEdit (or any package manager) or use the apt-get command:

$ sudo apt-get install uswsusp

Alter or create the sleep_module config

Open or create the file /etc/pm/config.d/00sleep_module

$ sudo nano /etc/pm/config.d/00sleep_module

and insert the following line

SUSPEND_MODULES="xhci-hcd"

Test it

With those two steps the performance issue and problems should be fixed now. Try it by typing

$ sudo s2disk

After that fix my system takes around half a minute to resume after hibernate or sleep.

Tagged with: , , , ,
Posted in Linux, Ubuntu
2 comments on “Solving Ubuntu Hibernate/Sleep Performance Issues
  1. herbkora says:

    That was awesome, thanks alot it really helped.

  2. slistrax says:

    Thanks for that awesome posting. It saved MUCH time :-)

Leave a Reply to slistrax Cancel reply

Your email address will not be published. Required fields are marked *

*

Anti-spam protection

Prove that you are Human by typing the emphasized characters:


Protected by Gab Captcha 2

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>