Re: [TuxOnIce-devel] [RFC] TuxOnIce

From: Vladislav Bolkhovitin
Date: Mon May 11 2009 - 16:10:57 EST



Pavel Machek, on 05/10/2009 09:38 AM wrote:
Hi!

To summarise disadvantages:

- only core has 8000 LoC
- it does stuff that can be easily done in userspace
(and that todays distros _do_ in userspace).
- it duplicates uswsusp functionality.
- compared to [u]swsusp, it received little testing

To summarise advatages - for me tuxonice is the only hibernation method that works.
(Till now I've had 3 machines - no one of them able to resume with in-kernel swsusp.)

Just to add my 2 cents as a user of TOI. Every distro and release I've tried has one major issue with kernel hibernation. Upon resume when hibernating large images, there's a residual footprint in swap. Every further hibernation creates a larger footprint, to the order of an additional 5-7% each time. Nobody has ever cared in any forum to explain why or how I might change that.

Maybe you should explain why it is a 'major issue'?

(Use swapoff -a; swapon -a to 'cure' it).

Great advice if you have used memory > physical memory!

Just run two firefox's and thunderbird and you will get that pretty quickly:

# free
total used free shared buffers cached
Mem: 2060560 2040656 19904 0 31452 360580
Swap: 5358296 1475504 3882792



Pavel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/