TuxOnIce Patching
   HOME

TheInfoList



OR:

TuxOnIce (formerly known as Suspend2) is an implementation of the ''suspend-to-disk'' (or
hibernate Hibernation is a state of minimal activity and metabolic depression undergone by some animal species. Hibernation is a seasonal heterothermy characterized by low body-temperature, slow breathing and heart-rate, and low metabolic rate. It most ...
) feature which is available as patches for the 2.6
Linux kernel The Linux kernel is a free and open-source, monolithic, modular, multitasking, Unix-like operating system kernel. It was originally authored in 1991 by Linus Torvalds for his i386-based PC, and it was soon adopted as the kernel for the GNU ope ...
. During the 2.5 kernel era, Pavel Machek forked the original out-of-tree version of swsusp (then at approximately beta 10) and got it merged into the vanilla kernel, while development continued in the swsusp/Suspend2/TuxOnIce line. TuxOnIce includes support for
SMP SMP may refer to: Organisations * Scale Model Products, 1950s, acquired by Aluminum Model Toys * School Mathematics Project, UK developer of mathematics textbooks * '' Sekolah Menengah Pertama'', "junior high school" in Indonesia * Shanghai Mun ...
, highmem and preemption. Its major advantages over
swsusp swsusp (Software Suspend) is a kernel feature/program which is part of power management framework in the Linux kernel. It is the default suspend framework as of kernel 3.8. Objective SWSUSP helps to drive the system to a low power state (called ...
are: * It has an extensible architecture that allows for arbitrary transformations on the image and arbitrary backends for writing the image; * It prepares the image and allocates storage prior to doing any storage and accounts for memory and storage usage very carefully, thereby becoming more reliable; * Its current modules for writing the image have been designed for speed, combining asynchronous I/O, multithreading and readahead with LZF compression in its default configuration to read and write the image as fast as hardware is able; * It has an active community supporting it via a wiki, mailing lists and irc channel (see the TuxOnIce website); * It is more flexible and configurable (via a /sys/power/tuxonice interface); * Whereas the current swsusp (and uswsusp) implementations support writing the image to one swap device only, TuxOnIce supports multiple devices in any combination of swap files and swap partitions. It can also write the image to an ordinary file, thereby avoiding potential race issues in freeing memory when preparing to suspend. * It supports encryption by various methods; * It can store a full image of memory (resulting in a more responsive system post-resume), while uswsusp and swsusp write at most half the amount of RAM. TuxOnIce was originally called 'Suspend2' because after the beta releases (at the time when Pavel forked the code base), there was a 1.0 release and then a 2.0 release. The name 'Suspend2' developed as a contraction of 'Software Suspend 2.x'. Some efforts have been made over time to merge TuxOnIce into the vanilla kernel, but these have been opposed by Pavel, primarily (it seems) because Pavel believes much of the suspend-to-disk process can and should be run from userspace (see
uswsusp uswsusp, abbreviated from userspace software suspend and stylized as μswsusp, is a set of userspace command-line utilities for Linux that act primarily as wrappers around the Linux kernel hibernation functionality and implement sleep mode ( ...
), while Nigel Cunningham thinks this code belongs in the kernel. Nigel has stated both his desire and frustration in getting the TuxOnIce specific features merged back into mainline and is currently not actively pursuing for it.[TuxOnIce-devel
/nowiki> 2012-October - Thinking aloud.">uxOnIce-devel">[TuxOnIce-devel
/nowiki> 2012-October - Thinking aloud.


See also

*
swsusp swsusp (Software Suspend) is a kernel feature/program which is part of power management framework in the Linux kernel. It is the default suspend framework as of kernel 3.8. Objective SWSUSP helps to drive the system to a low power state (called ...
*Hibernate (OS feature) *
uswsusp uswsusp, abbreviated from userspace software suspend and stylized as μswsusp, is a set of userspace command-line utilities for Linux that act primarily as wrappers around the Linux kernel hibernation functionality and implement sleep mode ( ...


References


External links

*
Interview with Nigel Cunningham
{{Linux kernel Third-party Linux kernel modules