Earth. Energy. Everything next.

Leap-second Bug Consumes Megawatts of Electricity

leap second clock frogWas it the leap-second bug that pushed America’s power plants beyond their capacity?

A 61 second minute was added to clocks around the world on June 30, 2012 at 23:59:60 UTC in order to compensate for slight variations in earth’s rotation speed.  This triggered a number of software bugs one of which caused a spike in data center electrical power consumption.

We won’t have to worry about a replay of Y2k until the year 10,000 but leap-year bugs reappear like clockwork every four and four hundred years.  Programmers periodically reinvent leap-year mistakes while re-implementing an algorithm first perfected by Pope Gregory XIII in 1582.  Leap second bugs are less predictable.  Leap seconds are necessary because the Earth’s rotation speeds up and slows down in
hetzer power graph

response to lunar and solar tidal forces.   Leap seconds realign astronomical time with standard earth (UTC) time.  This year’s leap second caused a number of software bugs including a Linux kernel bug which caused server power consumption to spike at web hosting companies such as OVH of France and Hetzner AG of Germany.

In a message to their customers, Hetzner AG admitted that this leap-second bug caused their electrical power consumption to increase by about a megawatt.

Even as I type this article on a Linux-powered laptop, I hear the fan speed up and slow down in response to varying CPU load.  Websites such as Facebook, online games and web advertisements cause the CPU to draw more power and run hotter so the fan speeds up.  Computer malware such as stuxmark and flame also have a significant energy cost as do the anti-virus programs which are designed to protect us from these threats.

Computers are far more efficient than they were a few decades ago.  They have grown so efficient that software developers can no longer justify spending time on optimizing algorithms or hunting down CPU performance bugs.  But because computers have become so ubiquitous, they consume an increasing fraction of our electrical power consumption and should not be ignored.

The June 30th leap second bug coincided with heat waves in parts of North America.  Air conditioning pushed some electric power utilities to the brink of their capacity.  Thunderstorms took out some redundancy and the remaining active power lines actually sagged as electrical load heated them enough to soften their copper core.

It is certainly within the realm of possibility that the power consumption spike associated with a leap-second bug could have pushed power plants beyond their capacity, leaving consumers in the dark.

Such “butterfly effect” power outages have occured in the past.  One of the most famous ones began in November 1965 when a mis-configured circuit breaker tripped and caused a cascade of overloads which left much of Northeastern US and Quebec in the dark.  So as the world moves towards a more efficient balance between electrical production and consumption, we must pay more attention to the energy consumed by inefficient computers and buggy software.

Stopwatch and frog image from Shutterstock; Leap second power spike graph via Hetzner, color fill added to improve contrast.

Brian Nitz
Brian Nitzhttp://www.greenprophet.com
Brian remembers when a single tear dredged up a nation's guilt. The tear belonged to an Italian-American actor known as Iron-Eyes Cody, the guilt was displaced from centuries of Native American mistreatment and redirected into a new environmental awareness. A 10-year-old Brian wondered, 'What are they... No, what are we doing to this country?' From a family of engineers, farmers and tinkerers Brian's father was a physics teacher. He remembers the day his father drove up to watch a coal power plant's new scrubbers turn smoke from dirty grey-back to steamy white. Surely technology would solve every problem. But then he noticed that breathing was difficult when the wind blew a certain way. While sailing, he often saw a yellow-brown line on the horizon. The stars were beginning to disappear. Gas mileage peaked when Reagan was still president. Solar panels installed in the 1970s were torn from roofs as they were no longer cost-effective to maintain. Racism, public policy and low oil prices transformed suburban life and cities began to sprawl out and absorb farmland. Brian only began to understand the root causes of "doughnut cities" when he moved to Ireland in 2001 and watched history repeat itself. Brian doesn't think environmentalism is 'rocket science', but understanding how to apply it within a society requires wisdom and education. In his travels through Europe, North America, Asia and the Middle East, Brian has learned that great ideas come from everywhere and that sharing mistakes is just as important as sharing ideas.
Al Faya Lodge desert architecture by ANARCHITECT, photographed by Fernando Guerra
Green Prophet

Earth. Energy. Everything next.

The future won't wait.

Stay ahead of a changing world. Get the stories that matter, straight to your inbox.

Always free. Unsubscribe anytime.

Photography: Fernando Guerra / ANARCHITECT

Read More

TRENDING

Take your secrets and Bitcoin password offline in this code stitching workshop

Sophie Nadel turns data into something tactile, using embroidery and textiles to explore how we store, hide and understand information.

Mantle8 takes its natural hydrogen hunt from the Pyrenees to Dubai

Mantle8 is taking its hunt for naturally occurring hydrogen from beneath the Pyrenees to the Middle East, opening a Dubai hub after raising €31 million. But finding hydrogen underground is one thing; proving it can be produced cheaply and at scale is another.

Lumana Brings AI Cameras Without Sending Everything to the Cloud: Fortune 500 are Buying

Lumana is bringing AI intelligence to more than 50,000 existing security cameras without sending every frame to the cloud. Its hybrid edge architecture offers a compelling lesson for the AI boom: smarter systems may also be more efficient.

The Hidden Components Powering the Renewable Energy Revolution

A rooftop solar system looks simple: panels, an inverter, a battery and a few cables. But beneath that simplicity lies a bill of materials thousands of lines long, where tiny current sensors, magnetic cores, gate drivers, capacitors and connectors quietly determine efficiency, safety and lifespan. These overlooked components—not the solar panels themselves—are why today's residential solar systems are smaller, smarter and far more reliable than those of a decade ago.

Sustainable Manufacturing Frameworks Reducing Waste in Heavy Industry

Hydraulic systems are at the heart of heavy manufacturing, but poor maintenance can lead to fluid leaks, downtime, and unnecessary waste. By focusing on preventive maintenance, fluid monitoring, filtration, and early leak detection, industrial facilities can improve efficiency, reduce environmental impact, and strengthen sustainable manufacturing without major capital investments.

Warren Buffett dies at 96: 10 ways he changed the world

Warren Buffett dies leaves behind more than a financial empire. His investments in family businesses, sustainable agriculture, philanthropy and nuclear peace offer lessons for humanity.

Scientists develop lead-free perovskite solar cells that withstand the elements

Scientists have developed a “raincoat” for lead-free tin perovskite solar cells, helping them withstand air, moisture and heat while maintaining high efficiency.

What happened to Saudi Arabia’s ambitious solar energy plan?

Citing government officials, Deutsche Bank said the capacity would be added in competitive bidding starting with 1,100 megawatts of PV and 900 megawatts of solar thermal in the first quarter of 2013. A second round of bidding is due in the second half of 2014.

Popular Categories