[ltp] swsusp vs. Hibernate?

Matthew Garrett linux-thinkpad@linux-thinkpad.org
Fri, 11 Nov 2005 02:19:26 +0000


On Thu, Nov 10, 2005 at 08:58:07AM -0500, Aaron Mulder wrote:

> This is totally subjective, but it doesn't seem like the normal kernel
> implementation attempts to shrink only until it fits in the available
> swap space.  It seems to try to shrink as much as it possibly can and
> then goes and applies whatever it's left with to swap space.  So
> adding more swap space doesn't seem likely to shorten the "shrinking"
> cycle.  Am I wrong?

That's correct, yes. The in-kernel code doesn't attempt to shrink to hit 
a target - it'll free as much RAM as possible.

-- 
Matthew Garrett | mjg59@srcf.ucam.org