New Linux Code Could Reduce Data Centre Consumption by Five Percent

The operating system Linux powers the Internet—adding one new line of code improves efficiency and reduces data centres’ energy consumption.

Author Kezia Rice, 03.31.25

Translation Benjamin Lucks:

In the words of Professor Martin Karsten, “Almost every single service request that happens on the Internet could be positively affected by this.” Karsten is an Associate Director at the Cheriton School of Computer Science. “This” is a few lines of code that he has pioneered to be added to the Linux operating system.

Linux is used by companies like Amazon and Google to power their platforms. Whether or not we’re aware of it, we all interact with Linux countless times a day. And thanks to Karsten’s new code, the amount of energy it takes to access these websites will be reduced by up to 30 percent. These few lines of code could lead to a five percent reduction in how much energy data centres use worldwide.

data centres

Data centres: a drain on our resources

Data centres house computers which store our online data and power the digital world. They’re also responsible for between two to three percent of global electricity consumption—and it’s predicted that our usage of data centre power will grow six-fold in the next decade.

Renewable energy sources, innovative solutions and, of course, optimisation of operation systems, are all ways to reduce the emissions of data centres.

How the code came to life

From 2022 to 2023, Karsten was working alongside his former Master’s student Peter Cai. Their research included analysing performance observations in literature about user-level network stack processing (a system setup where data packets bypass the kernel network stack and are instead implemented as part of the application). “While doing this work, we discovered that a particular processing pattern is highly beneficial,” Karsten explained to RESET. “We realised that the same mechanism is possible with the Linux kernel.”

Interrupt request suspension—or IRQ Suspend—is the solution they developed. It allows Linux to adapt to the amount of incoming traffic. This means that the operating system sleeps when it’s not needed, which reduces the energy consumption of data centres. According to Karsten, “This results in the best of both worlds. High efficiency and performance during peak periods and power savings during idle periods.”

Green digital futures

How can we ensure a green digital future?

Growing e-waste, carbon emissions from AI, data centre water usage—is rampant digitalisation compatible with a healthy planet? Our latest project explores how digital tools and services can be developed with sustainability in mind.

Linux adopts the code

To write the code, Karsten worked with Joe Damato, Distinguished Engineer at Fastly. After submitting the code to Linux for consideration in November 2024, it has now been adopted in their latest release, version 6.13. As there’s a time lag between releases and distribution, there isn’t yet concrete data on the impact of the new code. “But what I’ve heard so far sounds very encouraging,” Karsten tells us.

When systems become more efficient, there is a risk that our usage will increase, negating any energy-saving benefits. This is known as the Jevons paradox. Karsten concedes that this could apply to the newly efficient Linux system; he highlights the need for mindful usage of digital tools and optimising efficiency. “Crypto-mining is a prime example of expensive and useless computations that waste energy for absolutely no benefit.” Meanwhile, many other inefficiencies in modern software need to be tackled. “Investigating these will be my primary research topic for the foreseeable future.”

© RESET/Benjamin Lucks
CO2 Trackers for Software, Websites and AI: A Guide for Businesses and Freelancers

Want to reduce your carbon footprint when using software, browsing websites or in your day-to-day work? Our guide shares the CO2 trackers that you can use to track apps, websites and AI.

©
Why Do Our Clouds Look So Gloomy, and How Can We Make the Switch to a Green Cloud?

Why does living and working in the cloud generate high CO2 emissions? And how exactly do we get to the green cloud? We provide an overview and some tips.

©
Energy-Efficient Software and Web-Friendly Websites: How Green Coding Works

If the internet were a country in its own right, it would rank sixth in the global CO₂ emissions rankings. Under the banner of ‘Green Coding’, we’ve put together some ways you use the internet more resource efficiently.

© RESET / Benjamin Lucks
What Exactly Is Green Coding, and Does GenAI Make It Easier? An Interview With Max Westing From the “Green Coding” Project

Energy-efficient websites, apps and software reduce our digital carbon footprint. Max Westing from the ‘Green Coding’ project tells us what makes green coding different.

Browser Diet: JustTheBrowser Removes AI and Shopping Features from Chrome, Firefox, and Edge

The "JustTheBrowser" tool lets you strip Google Chrome, Mozilla Firefox and Microsoft Edge of unnecessary bloat. RESET shows you how to get rid of AI features, shopping integrations and more.

© RESET.org
Eco:Digit Shows How the Environmental Impact of Software Can Be Measured

The ECO:DIGIT project—led by the German Informatics Society (GI) and its partners—highlights just how complex a life cycle assessment for software has become.

Miniaturisiertes photonisches Modul
© Fraunhofer HHI
Data Centres, Telecommunications Networks, AI Infrastructure: Photonics Offers Clear Advantages for Energy Efficiency

Photonics could drive the green digital transformation, says David de Felipe Mesquida from Fraunhofer HHI in his interview with RESET.

Tracking CO2 Emissions Right From the Coding Stage: Carbonara Takes an Early Approach to Green Coding

Not all code is created equal. The Carbonara tool helps developers code sustainably by estimating how much CO2 their programmes will generate.