ANTenna Blog -- Hardware & Software
Fight The Power: Greening Your Linux Systems
Posted by Matthew McKenzie Friday, Feb 29, 2008, 08:32 AM ET
Linux has a lot of advantages as a desktop operating system. Power management, unfortunately, still is not one of them. But there are plenty of ways to make a Linux system less power-hungry -- and some of the most effective fixes are also some of the easiest.
Let Sleeping CPUs Lie. Older versions of the Linux kernel used a system timer that constantly wakes an idle CPU out of its power-saving mode, driving up a system's power usage. Version 2.6.21 of the Linux kernel, released last year, was the first to adopt what is known as "tickless idle," allowing an idle CPU to sleep a lot more of the time.
Of course, there are better reasons to keep all of your desktop software up to date -- especially if you don't like the idea of hanging virtual "hack me" signs from your company's PCs. And until you kick the old Linux kernel's timer-tick habit, most of the other power-saving tips you try aren't likely to do much good.
Knowledge Is (Less) Power. Some desktop Linux apps are designed to use the CPU and other hardware as efficiently as possible. Other apps -- probably most of them -- are hard-core power pigs. The trick is to know which software falls into the latter category, just how much power these apps are consuming, and how best to whip them into shape.
On a Linux laptop system, or most other Linux systems using a mobile chipset, a tool called PowerTOP can help you get to the bottom of this problem. PowerTOP provides a good summary of a system's power consumption, showing how much time a CPU spends in various idle states, how many times per second the CPU is getting called out of its sleep state, and (assuming the laptop is not running on AC power) how much battery time remains. PowerTOP also lists the top 10 sources of power consumption on a system, including hardware interrupts (which often occupy the top few spots), system services, and desktop software.
Better yet, PowerTOP also offers suggestions on how to deal with power-hogging software, including additional Linux kernel configuration tweaks or fixes for unruly desktop apps. Some of these suggestions involve changes that are easy enough for most Linux users to make; others require a higher comfort level working at the command line and editing config files. PowerTOP can also reveal a number of bugs that eat up CPU cycles or other hardware resources; some of these bugs have patches available, although others do not.
You can learn more about PowerTOP, including tips on using the tool and documentation, at LessWatts.org.
Surf Smart. Wireless networking hardware sucks down power like a vampire in a blood bank. That includes the nifty little Bluetooth gadget that you haven't touched since the day you bought your laptop (admit it, you know it's true) -- even when you don't actually use your WiFi and Bluetooth hardware, these devices' built-in radio transmitters can still consume an, umm, shocking amount of power.
If you don't use Bluetooth, disabling it should be one of your first power-management tasks. Chances are, you will have check your system documentation to find out how to do this, but I can (almost) guarantee that it will be about as easy a command-line encounter as you will ever see. Shutting off your WiFi radio transmitter when you're not using it is almost certainly even easier: Most laptop systems have dedicated hotkeys that turn the WiFi radio on and off.
Want To Know More? Obviously, I'm just scratching the surface with these suggestions. If you want more information on Linux power management, including plenty of tips, tricks, and free software downloads, the LessWatts.org Web site is by far the most comprehensive -- and, just as important, most up to date -- online resource. Just how much battery life you add to a laptop or how much money you save on your company's power bills will vary, of course, but don't be surprised if a few hours of research on this topic delivers some significant results.
Hardware & Software
Green Business
| Mobile
| Open Source
This is a public forum. CMP Media and its affiliates are not responsible for and do not control what is posted herein. CMP Media makes no warranties or guarantees concerning any advice dispensed by its staff members or readers.
Community standards in this comment area do not permit hate language, excessive profanity, or other patently offensive language. Please be aware that all information posted to this comment area becomes the property of CMP Media LLC and may be edited and republished in print or electronic format as outlined in CMP Media's Terms of Service.
Important Note: This comment area is NOT intended for commercial messages or solicitations of business.
- Phone Systems Guide - What kind of phone system is right for your business
- Web Design Guide - What to look for in a Web designer
- Merchant Services Guide - Credit card processing and more
- Online Marketing Guide - Leverage the Net to market your business
- Alternative Financing Guide - How to find the cash your business needs
- View all guides
Explore ANTenna Blog
Most Recent Posts
- Twilight's Latest Hacking: Vampire Byte Scam Targets Stephanie Meyer Fans
- Great Tips For Getting The Most Out Of Ubuntu Linux
- SAN Vs. NAS: From No Contest To Fair Fight?
- Quark Promote Enters Web-To-Print Market
- Yes, Virginia -- There IS A Google Phone
ANTenna Blog Topics
- Apple
- Backup
- bMighty
- Business & E-Business
- Business Continuity
- Cloud Computing
- Company Size: 1,100-1,500
- Company Size: 250-999
- Company Size: 50-249
- Company Size: 1-49
- Disaster Recovery
- Economics
- Education
- Entrepreneurs
- Finance/Accounting
- Finance/Banking/Insurance
- Government
- Green Business
- Hardware & Software
- Healthcare
- Hospitality
- How-To
- HR
- Imaging How-To
- International
- Internet/Web
- iPhone
- IT
- Linux
- Management
- Manufacturing/Mining
- Messaging
- Mobile
- Networking & Communications
- Non-Profit
- Open Source
- Operations
- Piracy
- Printers/Printing
- Professional/Creative Services
- Retail
- Unified Communications
- Sales/Marketing
- Start-Ups
- Security
- Server How-To
- Services
- Social Networking
- Software-as-a-Service
- Storage
- Strategy/Analysis/Biz Dev
- Technology/Telecom
- The rANT
- Transportation
- Travel
- Windows
- Web 2.0
- Women in Business
ANTenna Bloggers
ANTenna Blog Roll
- ANTenna Archive
- Ars Technica
- Business Know-How
- ChannelWeb Hot Topics
- ChannelWeb The Chart
- Datamation
- Duct Tape Marketing
- The Entrepreneurial Mind
- Freakonomics
- GigaOmNet
- Guy Kawasaki
- Inc.com
- IT Organization Management
- IT Manager's Journal
- IT Toolbox
- LifeHacker
- Mashable
- MonkeyBrains
- Network Computing Blog
- Scott Berkun
- Search Engine Land
- Search Engine Watch
- SmallBizResource
- SmallBizTechnology.com
- SmallBusinessHub
- Small Business Trends
- TechCrunch
- Technologizer
- Tech Republic
- The Secret Diary of Steve Jobs
- USA Today Small Biz Connection
- Valleywag
- Walt Mossberg Feed - All Things Digital
- Web Worker Daily
- WorkHappy.net
- WSJ's Business Technology
bMighty email newsletter!
Browse by Category
bMighty Tech
Term Of Day:
Boost your tech
vocabulary!
bMighty's SMB
TechEncyclopedia
defines more than
20,000 IT terms.
FREE Technology Services Locator!
Search our database of 200,000 solution- provider locations by business activity, technology, vertical market, and customer size. Find a technology partner NOW.
go



