Re: [PATCH 0/2] Kexec jump: The first step to kexec base hibernation

Mark Lord
2007-07-12T16:35:25Z

Mark Lord wrote:
> Rafael J. Wysocki wrote:
>..
>> How much RAM is there in your machine?
>
> 2GB, but It doesn't need to dump that much for good performance.
> Hibernate here consists of:
>
> echo "$(( 256 * 1024 * 1024 ))" > /sys/power/image_size
> echo -n disk > /sys/power/state
>
> Plus a couple of fiddly commands to deal with the ATI binary X server.

Whoops.. wrong half of the script.
For TuxOnIce in 10 seconds, it does this:

echo 288 > /sys/power/suspend2/image_size_limit
echo > /sys/power/suspend2/do_suspend