Monday, December 07, 2009

How to increase your hibernation and resume speed in Ubuntu

Ubuntu defaults to the kernel supplied hibernate function which is very inefficient. If you like me have > 4 GB RAM in your machine, hibernate and resuming in particular may be very slow, lasting even longer than a cold boot.

The solution to this problem is to install the uswsusp package which replaces the built hibernate function with a more efficient one, compressing the used memory pages and filtering out unneeded ones.

Once the package is installed you need to instruct the system to switch over by editing /etc/pm/config.d/00sleep_module (as of Ubuntu 9.10 Karmic Koala). Uncomment the SLEEP_MODULE line and replace it with SLEEP_MODULE="uswsusp", save and off you go. You now have a system which hibernates and resumes way faster!

1 Comments:

Blogger Chris said...

that works well. thanks!

3:35 AM  

Post a Comment

<< Home