[Nut-upsdev] suspend to ram
Arjen de Korte
nut+users at de-korte.org
Wed Aug 15 12:02:33 UTC 2007
> well i was really talking about suspend to ram, i do it on another pc with
> windows and it about tripples the battery runtime on that ups (it was at 5
> min and when the system suspended it jumped up to 74 min even then it
> go to 73 then jump back to 74 min i didnt really see it drop ) , as far
> i know all the ups has to power in that state is the ram (about 10w~) on
> script i run sync to hdds first to write any data to them then i suspend
> to ram everything shuts off , hdds,fans (inc power supply fan), video
> card,..etc i think the only thing on is the ram and the led on the
> mainboard, i dont care about open programs being lost since its mosly used
> for a webserver , my only concern is lost data / curuption , can this
> in suspend to ram if i sync the disks first?
Let me get this straight. You're sacrify server uptime to maximize the
runtime of your UPS? Why? To be able to startup your server in maybe 10
seconds after a downtime of an hour or so? Most people would instead
prefer to keep it running until the battery lasts, cleanly shutdown the
system and then take two minutes to reboot again (maybe half that if you
suspended to disk).
> i was thinking about using upssched to suspend it about 12+ mins before
> battery runs out that way i would maybe get about 30-40+ minutes out of
> battery, i have even heard you can unplug the pc while its suspended and
> will run for awhile before powering off (i havent tried it though ), but i
> can undserstand that if the power didnt come back on it would be a bad
If that is a laptop, maybe, but don't try this on a server/desktop system.
If you pull the plug on that, it's over in a blink of an eye.
> i might take a look into suspend to disk but it seems more complicated to
> start up the system
If you already have suspend to RAM working, suspend to disk should be a
piece of cake.
Best regards, Arjen
More information about the Nut-upsdev