Power Management on Linux, Part 1
Off Means Not Really, But Only Sort of Off
Power management on computers has three parts: selecting devices that are more power-efficient, tuning your systems to run more efficiently, and configuring systems to use less power during periods of inactivity. Servers, desktop machines, and laptops usually need different power management schemes; there isn't a one-size-fits-all. The first step is finding the power hogs on your systems, so today we'll learn how to measure hardware power usage. We'll also expose and rein in power-hog processes, and next week we'll learn some ways to get the most bang per watt on our Linux systems.
The first lesson in power management on modern electronics is understanding that nothing is really off until you pull the plug. In my own personal computer lab I acquire a nice tan with the computers and room lights turned off. Routers, printers, surge protectors, backup power, speakers, and monitors all emit a radiant, friendly glow from their many LEDs. I have a running peeve with Hewlett-Packard over power switches on printers. My old HP6L doesn't even have a power switch. The newer Laserjet 3050 has a switch located on the back, way down at the bottom, requiring a long double-jointed arm to reach it. I'm waiting for HP to claim green creds so I can scoff at them.
The major power users on a PC are the display, the CPU or graphics card, hard drive, LAN interface, and power supply loss. Hardware vendors are paying serious attention to cutting power consumption, so you can factor this in when you're shopping. The Kill A Watt electric consumption monitor is a wonderful, cheap-and-easy device for measuring how power-hungry your gadgets are. It measures consumption by kilowatt hour just like the electric company, so you can easily calculate what your devices cost to run. It's nearly always an eye-opener to see how much juice your gadgets are really drinking, even when they are turned "off". It also captures voltage fluctuations so you can see how clean (or dirty) your power is. Computers, like all electronic devices, last longer and perform better with clean power that is not beset with surges and sags. If Kill A Watt tells you that your power is flaky and unreliable you should consider using some line-conditioning devices, such as higher-end uninterruptible power supplies.
- Skip Ahead
- 1. Off Means Not Really, But Only Sort of Off
- 2. Off Means Not Really, But Only Sort of Off
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Debian Dumps SPARC, Ubuntu Takes Over Linux 3.13 and the Core Infrastructure Initiative