March 25, 2019

Power Saving for the Workstation, Part 1 - page 2

Making It Work

  • July 27, 2007
  • By A. Lizard

This was configured for an IDE system. I would expect this to work on SATA but have not tested it. I have no idea whether this works with any form of RAID or not.

There's a common limitation to either suspending to disk or to memory. There has to be enough room to store a complete image of the machine state (including what's in virtual memory if in use) in either the swap area or in RAM. If the problem is disk, increase the swap file size, if memory, simply buy more DRAM.

Installing hibernate is easy in Debian.

# aptitude install hibernate

The kernel functionality to support this is usually compiled in by default. Running hibernate is just a simple command:

# hibernate �force

My chipset requires the use of the �force option, yours may not. See the "Suspend-to-RAM Configuration" section for why. Try this without �force first.

The hard part is configuring it to be routinely useful. While the following is easy, it took me two weeks of research to track everything down and fit it together to make this work.

ACPI: (Advanced Configuration and Power Interface) a power management standard created by Toshiba, Microsoft, and Intel that provides hardware and peripheral monitoring and control. It permits the computer to turn on/off components (e.g., the hard drive) peripherals like the monitor and allows it to be turned on by external inputs (e.g., wake-on-LAN)

DPMS: (Display Power Management Signaling) allows a computer to put a monitor into power-saving modes.

Note that the sleep states are available are standby (ACPI c1), which is a suspend-to-RAM which leaves the fans on but the CPU in a reduced power mode and machine state in RAM, and disk which saves to disk and shuts down.

Most Popular LinuxPlanet Stories