2009-12-02 21:53

Userspace Software Suspend is an alternative to the default hibernation method in the Linux kernel. It adds several interesting features like compression, encryption… Compression allows for hibernation with a smaller Swap partition. It also decreases the wake up time of your system!

Here is how to install USwSusp on Ubuntu Karmic. Should also work with a recent Debian.

Install the uswsusp package:

aptitude install uswsusp

You can now hibernate with the s2disk command as root.

To hibernate from Ubuntu menu or by key shortcut, then change the following line in the /etc/pm/config.d/00sleep_module file:

SLEEP_MODULE=uswsusp

And test your hibernation!!

Links:

2009-12-02 21:53 · Tags: , , ,

5 Comments

  1. I guess this does not matter now but i think you wanted to say:
    “It also _decreases_ the wake up time of your system!”
    because of slow IO of the disk

    Reply

  2. Thanks for the correction!
    I corrected my mistake.
    My english is not perfect..

    Reply

  3. Thanks. I discovered uswsusp while playing around with antiX and a couple of other Debian Testing/Unstable-based systems. Glad to see it works on Ubuntu Lucid, this is the fastest resume-from-hibernation I’ve ever seen on a *buntu box.

    Reply

  4. how do I install the uswsusp package on debian squeeze for raspberry pi . i have tried aptitude install uswsusp but i got an error mesaage `no candidate version found for uswsusp`

    Reply

  5. It appears that the package is not available in the actual Debian stable (squeeze) :
    http://packages.debian.org/search?keywords=uswsusp

    Maybe try the wheezy (testing) version.

    Reply

Leave a Reply to Marc Cancel reply

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

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>