[TuxOnIce-users] Speeding up the resume process
ncunningham at crca.org.au
Wed Feb 17 22:07:28 UTC 2010
Sasha Levin wrote:
> I'm interested in speeding up the resume process once the computer wakes up.
> Is it possible to skip copying all pages from the disk to the RAM, and
> instead just marking them as invalid and causing a page fault when
> they're accessed?
> Also, Are there any other ways to speed up resume? I hate having to wait
> 1-2 minutes for the system to resume after hibernation.
There are a few things you can do.
1) Use LZO or LZF compression (you'll find them in the cryptoapi menu).
If you make LZO built-in, it will be used by default automatically.
2) Drop page caches when hibernating. If you're using the hibernate
script, look at /etc/hibernate/tuxonice.conf (or suspend2.conf).
There'll be a line in there saying ImageSizeLimit 0. If you change the 0
to a -2, it will drop all caches prior to writing the image. -1 makes it
abort if it needs to free any memory. 0 says don't free anything and a
number > 0 says "seek to make the image this size (MB) or smaller, but
don't abort if you can't achieve this goal".
Hope that helps!
More information about the TuxOnIce-users