Skip Links

Network World

  • Social Web 
  • Email 
  • Close

Linux captures the “green” flag, beats Windows 2008 power saving measures
// How we did it
//
Greener pastures for Web server farms?
// Virtualization thwarts green OS initiatives
// NOC infrastructure may thwart green OS ideals

Linux captures the 'green' flag, beats Windows 2008 power-saving measures

Independent tests show that Red Hat Linux pulls as much as 12% less power than Windows 2008 on identical hardware
By Tom Henderson and Rand Dvorak, Network World Lab Alliance , Network World , 06/09/2008
Newsletter Signup
  • Share/Email
  • Tweet This
  • Comment
  • Print

Ensuring your servers stamp as small a carbon footprint as possible on the earth and in your data center can encompass everything from making sure they are shipped in recyclable packaging to hiring an analyst who can predict the total life-cycle environmental impact.

For this test, we examined power consumption as a way to judge whether Windows Server 2008 or Linux is, in fact, the 'greener' operating system. As the price of power hits record heights, power reduction mechanisms shipping within an operating system should play a key role in you energy conservation plan.

Our tests point to Linux as the winner of the green flag by margins that topped out at 12%. But we must note that our results are full of stipulations imposed by our test bed, and as the more truthful car advertisements might warn -- your wattage may vary.

We ran multiple power consumption tests using Windows Server 2008 Enterprise Edition, Red Hat's Enterprise Linux (RHEL) 5.1 and SUSE Enterprise Linux 10 SP1 on four, popular 1U server machines, one each from Dell and IBM and two from HP. The results showed that while Windows Server 2008 drew slightly less power in a few test cases when it had its maximum power saving settings turned on, it was RHEL that did the best job of keeping the power draw in check across the board.

Shades of Green: The results of our test measuring power consumption of Windows and Linux servers
Red Hat Enterprise Linux 5.1 was the most frugal with its power draw through our tests when tested in either performance or power savings modes. The savings also transcended all server models used in our test bed as RHEL drew the least amount of power in 13 of 16 test scenarios, showing a close to a 10 percent savings in power over Windows Server 2008 in several cases. All measurements are reported in watts consumed by the specific operating system/hardware server combination listed.

Server Hardware Platforms Windows Server 2008 Power Draw SUSE Enterprise Linux 10 Power Draw Red Hat Enterprise Linux 5.1 Power Draw Average Linux Power Draw Windows Server 2008 percentage of Average Linux Power Draw Windows Server 2008 percentage of lowest Linux Power Draw
  Quiescent test with operating system Power Savings settings applied
IBM x3350 71.8 73.1 71.7 72.4 99.17 100.14
Dell 1950 200.7 207.5 205.7 206.6 97.14 97.57
HP DL-160 G5 * 165.6 160.3 163.0 n/a n/a
HP DL-360 G5 232.0 223.2 221.1 222.2 104.43 104.93
 
  Quiescent test with operating system Power Savings settings applied
IBM x3350 73.7 73.4 72.9 73.2 100.75 101.10
Dell 1950 220.4 209.2 205.4 207.3 106.32 107.30
HP DL-160 G5 167.7 165.6 164.3 165.0 101.67 102.07
HP DL-360 G5 239.1 238.0 233.7 235.9 101.38 102.31
 
  Active test with operating system Power Savings settings applied
IBM x3350 74.4 74.6 75.8 75.2 98.94 100.27
Dell 1950 220.4 210.0 200.7 205.4 107.33 109.82
HP DL-160 G50 * 166.9 159.5 163.2 n/a n/a
HP DL-360 G5 234.3 241.0 229.9 235.5 99.51 101.91
 
  Active test with operating system tuned for performance, not power savings
IBM x3350 87.8 79.6 78.3 79.0 111.21 112.13
Dell 1950 230.8 217.1 209.5 213.3 108.20 110.17
HP DL-160 G5 155.7 168.2 165.3 166.8 93.37 94.19
HP DL-360 G5 244.6 242.0 239.6 240.8 101.58 102.09
* Could not be tested in power savings mode due to firmware/BIOS compatibility issues.
All measurements are in Watts used in real time taken at over 1000 sample points taken over each four-hour test run.
All data was measured after the server under test was booted, then running for more than two minutes as power-up times skew the average incorrectly.
Click to see: The results of our test measuring power consumption of Windows and Linux servers

The variable settings allowed by both Windows and Linux – which let you toggle between having a high energy efficient server vs. a high performing one – can certainly have an impact on overall server consumption. But again, your mileage will also vary given the workloads you place on your servers and whether or not you're using popular virtual machine hypervisors to support multiple operating system instances on the same physical server (see related story).

The edge in either test category will likely not last as operating systems become more finely tuned to work in lockstep with advanced server chipsets, and as additional coding techniques that more closely tie operating systems and applications to power considerations take hold across the industry.

Part of the current "green" operating system difficulty lies in the disconnect between how an operating system and its applications can be optimized to let the underlying system quiet itself down to a lower power-consuming state while at the same time not sacrificing the ability to react to servicing application (and therefore system and user) needs.

In our testing, we found that the CPU 'throttle-back' mechanism – the main technique for how an operating system can aid in reducing a server's energy draw -- requires new firmware and updated drivers that specifically support that feature. Only the IBM x3350 and the HP DL-360 G5 arrived ready for optimal power conservation. The HP DL-160 and Dell 1950 servers required several updates throughout our six-week test period to accommodate the CPU throttling features of Windows 2008 and Linux.

We truly know from the trenches that it really isn't easy getting your servers to be green.

CPU conservation

No matter the operating system, Windows or Linux, the leading form of power conservation comes from throttling back the CPU to let the server rest during quiet activity times. Spinning down hard disks to a quieter state is the other major power-saving setting available to Windows servers.

Even though Linux desktop distrobutions can use the Advanced Configuration and Power Interface (ACPI) specification, which is designed for laptops, rather than servers, that feature was not implemented by Red Hat or SUSE for the servers we tested.

Some chipsets are designed for throttle-back, while others (especially older ones, predating 2007) always work at full pace and power full time. Only in the past three years have processors shipped from Intel, Advanced Micro Devices, Via Technology, and others in the x86 family have been specifically designed to cycle between fast (and higher power consuming) and slow (power savings) states.

The systems used in our testing ship with Intel Xeon multi-core CPUs, which can support throttle-back (manifested by slowing down the CPU clock so that the power strobes through the CPU more slowly against the slowed clock); but as we stated earlier the server's BIOS and firmware must be sufficiently upgraded to correctly supported this. The IBM x3350 and HP DL-160 house a single quad-core CPU (of different models, see How we did it), while the Dell 1950 and HP DL360G5 each housed two quad-core CPUs for a total of eight cores.

  • Share/Email
  • Tweet This
  • Comment
  • Print
Partner Content

Explore the Ultrium Edge

The powerful tape technology can address data security with tape encryption as well as long term data protection.

Find Out More

Disk and Tape Square Off

Discover what disk and tape really cost and which solution provides lower total cost of ownership and optimizes energy use for your organization

Download this White Paper

Don't Fall for the Myths

The Clipper Group explores the truth behind the myths of tape, digging into the misconceptions in the disk vs. tape debate.

Review this information

information examination

An examination of information security issues, methods and securing data with LTO-4 tape drive encryption

Read this analysis

Comments (29)
Login
Forgot your account info?

What?By Anonymous on November 15, 2008, 12:18 pmOh yeah, we all want a beowulf cluster of iphones running our data centers. Mac servers are a joke.

Reply | Read entire comment

Free Virtual Server TrialBy Anonymous on August 18, 2008, 7:36 pmFYI GoGrid is offering virtual Servers. They have a free $100 trial when you use the promo code 'GGED'. They are one of the first to offer 2008. EC2 doesn't even...

Reply | Read entire comment

Where is AppleBy Anonymous on July 28, 2008, 7:56 pmand how do they compare? Apples servers are terrific and very efficient. The safety of Mac's OS from attacks is built in and something I thought Linux would emulate,...

Reply | Read entire comment

Table is unbelivable, tests flawedBy Nikola Edison on June 28, 2008, 2:51 pmI find it bizzare an 100+ watt difference exists between w2k8 and linux or even linux vs linux on certain test machines. There is obviously something not right...

Reply | Read entire comment

Power savings.. and average joesBy hwertz on June 24, 2008, 2:51 am Something I'd be interested in is how much affect these tunables have.. (I don't know that RHEL5 and Suse have the latest'n'greatest kernel that supports these)....

Reply | Read entire comment

View all comments

Add comment
Anonymous comments subject to approval. Register here for member benefits.
Have a NetworkWorld account? Log in here. Register now for a free account.

Videos

rssRss Feed