Software Suspend 2.0
From: Nigel Cunningham (ncunningham_at_clear.net.nz)
Date: 01/30/04
- Previous message: Jamie Lokier: "Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patch"
- Next in thread: Måns Rullgård: "Re: Software Suspend 2.0"
- Reply: Måns Rullgård: "Re: Software Suspend 2.0"
- Reply: Luke-Jr: "Re: [Swsusp-devel] Software Suspend 2.0"
- Reply: Sebastian Kugler: "Re: [Swsusp-devel] Software Suspend 2.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jan 2004 17:24:25 +1300 To: swsusp-devel <swsusp-devel@lists.sourceforge.net>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Software Suspend 2.0 for Linux 2.4 and 2.6 kernels is now available from
http://swsusp.sf.net. The 2.0 release is a major advance over previous
versions and includes the following features:
- Support for HighMem[1], SMP[2] and preemptive kernels.
- Support for any number of swap partitions and/or files.
- Full asynchronous I/O and readahead for synchronous I/O for maximum
throughput.
- Image compression (LZF and GZIP - the former is very fast and highly
recommended).
- Support for saving a full image of your memory, resulting in a fast,
responsive system after resuming.
- Support for plugins: data transformers (compression, encryption) and
new storage backends (NFS support is planned).
- Nice user interface (Bootsplash (http://www.bootsplash.org)
compatible;
- The ability to specify a maximum image size;
- The ability to cancel a suspend by pressing Escape (for security, this
can be disabled).
- Speed and reliability. Software Suspend 2.0 has been extensively
tested in a variety of configurations over many months. It is not
guaranteed to be perfect, but bugs found will be hunted and fixed
quickly.
The Software Suspend website includes extensive documentation, including
known issues (primarily DRI and USB support) and FAQS. A well-used
mailing list is also available.
Known issues with Suspend 2.0 are as follows:
- DRI support is lacking power management support under 2.4 & 2.6.
- AGP support under 2.6 is partially implemented.
- USB support under 2.4 and 2.6 is lacking.
- SMP support is currently 2.4 only.
- Other drivers have varying degrees of power management support.
- There is currently no support for discontig memory.
- Suspend currently requires the PSE extension (check /proc/cpuinfo).
- Highmem >4GB is currently not supported.
- SMP currently suffers from lost interrupts during resuming
- 2.6 does not currently flush caches properly before powering down.
Some of these issues have work-arounds available: check the FAQs for
details.
Note that two patches are required to use suspend: one for the
particular kernel version you are using (make sure you get the most
recent for your kernel version), and a second (applied afterwards)
contains the core files.
Special thanks go to Gabor Kuti, Pavel Machek and Florent Chabaud for
their work, which I have built on; to Michael Frank for many months of
extensive testing of the code, to Marc Lehmann for supplying the LZF
compressor, to Bernard Blackham for maintaining the swsusp.sf.net
website and especially to LinuxFund.org for their sponsorship of the
project, which has allowed me to work full-time on Software Suspend over
the last four months.
Finally, heres a little ditty, to be sung to the tune of the 'The
Pirates Who Don't Do Anything'
(http://www.bassbios.com/bodclan/pirates.mp3)
I'm just a user who wanted to suspend,
I didn't want to be a kernel hacker at all!
I'm just a user who wanted to suspend,
and now I'm happy because I can suspend.
Well I've never been to LinuxConf
and I've never written a device driver
And I've never talked to Linus
and I'm not an expert at BK
And I don't normally get paid to do this
and I don't own any hardware manuals
And I've never been to Boston in the fall...
[1] Up to 4GB.
[2] SMP is currently only supported under 2.4; 2.6 support should not be
far away.
-- My work on Software Suspend is graciously brought to you by LinuxFund.org. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Jamie Lokier: "Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patch"
- Next in thread: Måns Rullgård: "Re: Software Suspend 2.0"
- Reply: Måns Rullgård: "Re: Software Suspend 2.0"
- Reply: Luke-Jr: "Re: [Swsusp-devel] Software Suspend 2.0"
- Reply: Sebastian Kugler: "Re: [Swsusp-devel] Software Suspend 2.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Trivial swsusp/sleep fixes
... +There are currently two versions of swap suspend in the kernel, ...
-are machines that don't even support ... Unfortunately there's one exception: video
card. ... (Linux-Kernel) - Re: suspend2 review [was Re: Which is simpler? (Was Re: [Suspend2-devel] Re: [ 00/10] [Suspend2]
... Hopefully as I post more suspend2 patches to LKML, ... even for architectures
you do not support suspend on... ... this pipeline can stay in userspace. ...
(Linux-Kernel) - Re: Orinoco card fails on resume with 2.6.2 (race condition?)
... > Attached are a dmesg log from my laptop resuming after a software suspend ...
> hda: completing PM request, ... > # Loadable module support ... >
# CPUFreq processor drivers ... (Linux-Kernel) - 2.6.21-rc1: T60 resume from suspend to RAM issues
... After suspend to RAM, system wakes up but no screen. ... Works fine on 2.6.20
and below, with same .config ... # Firmware Drivers ... # ACPI Support
... (Linux-Kernel) - Software suspend?
... Have we considered implementing software suspend? ... reproduce my BSD bugs
on them) and have been playing with the Linux software ... It's not quite perfect (for
example, I don't believe it saves kernel space) ... (freebsd-current)