[ltp] long time to hibernate

Frédéric Boiteux linux-thinkpad@linux-thinkpad.org
Thu, 3 Sep 2009 14:33:39 +0200


Le Wed, 2 Sep 2009 15:14:21 +0300,
Marius Gedminas <marius@gedmin.as> a écrit :

> On Wed, Sep 02, 2009 at 09:33:56AM +0200, Frédéric Boiteux wrot=
e:
> > Thanks Marius for your explanation about hibernation process.
> 
> I'd have loved to add a link to the blog post I retold from memory
> (probably introducing errors in the process), but I was unable to find
> it.  It may have been on Matthew Garrett's blog.  This post (and the
> presentation linked from it) may or may not have been it:
> http://mjg59.livejournal.com/81535.html
Thanks for the link :-)
 
> > I like yet to use it, to get back my old session, with for example
> > web pages available to read when I'm in travel with no network. 
> 
> What about regular suspend-to-RAM then?  It's fast.  The laptop does
> use a bit of power while suspeneded, but it's little enough so that
> the battery charge lasts for a day or two.
Sure, but I can use it from day to day, and I have an old battery with
almost half of the full capacity… so I fear to go out of battery.

> > I wonder if running 'sync' or cleaning cache with :
> > echo 3 > /proc/sys/vm/drop_caches
> > could speed up the process ?
> 
> You could try, but I doubt it.  I think it's what the kernel already
> does, in the first phase of suspend-to-disk.
You're probaply right.

	Fred.