Changing a few lines of code in Linux could apparently save hyperscalers billions, research claims, but I am not convinced

A person standing in front of a rack of servers inside a data center
(Image credit: Shutterstock.com / Gorodenkoff)

  • A new feature could almost miraculously cut energy consumption of data centers by 30%
  • Interrupt request suspension dynamically alters CPU power usage and can be done via OS
  • Hyperscalers are likely to be the big winners and it will be interesting to see how it impacts AI

Data centers reportedly account for between 2-4% of total electricity consumption around the world, something hyperscalers are understandably looking to reduce wherever possible.

Potential solutions include implementing next-generation architectures like Hyperconverged Infrastructure (HCI) and employing advanced cooling techniques.

Professor Martin Karsten at the Cheriton School of Computer Science, within the University of Waterloo in Ontario, Canada, has a cheaper, easier solution. He claims that data center energy consumption could be cut by up to 30%, simply by changing a few lines of Linux code.

Small change, big impact

Working with Joe Damato at Fastly, Professor Karsten has developed a small, non-intrusive kernel change of just 30 lines of code that uses IRQ (interrupt request) suspension to reduce unnecessary CPU interruptions and improve Linux’s network traffic processing. This tweak has now been published as part of Linux’s newest kernel, release version 6.13.

This code change, which reportedly improves Linux networking efficiency and boosts throughput by up to 45% without increasing latency, is based on a research paper called Kernel vs. User-Level Networking: Don’t Throw Out the Stack with the Interrupts, which Professor Karsten authored with former master’s student Peter Cai in 2023.

"We didn’t add anything,” Professor Karsten said of the code change. “We just rearranged what is done when, which leads to a much better usage of the data center’s CPU caches. It’s kind of like rearranging the pipeline at a manufacturing plant so that you don’t have people running around all the time.”

The Professor believes this small adjustment could have a huge impact. “All these big companies - Amazon, Google, Meta - use Linux in some capacity, but they’re very picky about how they decide to use it. If they choose to ‘switch on’ our method in their data centers, it could save gigawatt-hours of energy worldwide. Almost every single service request that happens on the Internet could be positively affected by this.”

Aoife Foley, IEEE senior member and professor in the School of Mechanical and Aerospace Engineering at Queen’s University Belfast, welcomes the potential savings but observes that it’s going to take a lot more than just changing a few lines of code to address the broader energy challenges.

“There is a long way to go yet," she says. "These facilities represent huge electricity demands, adding pressure to electricity grids and increasing the challenge of energy transitions, especially in smaller countries. Although it is impossible to calculate precisely, the entire ICT sector is estimated to account for about 1.4 per cent of CO₂ emissions globally. Infrastructure and operations leaders have a responsibility here and need to consider the unnecessary waste associated with data storage and commit to generating power from more renewable sources.”

Yandex recently released an open source tool called Perforator, which takes a similar approach to Professor Karsten’s research, helping businesses optimize their code, reduce server load, and ultimately lower energy and equipment costs.

Sergey Skvortsov, who leads the team behind Perforator, told us: “This latest research confirms what we have long believed: optimizing code is one of the most effective ways to reduce data center energy consumption. Perforator helps businesses identify and fix inefficient code, cutting CPU usage by up to 20% and reducing infrastructure costs - without sacrificing performance. With data centers consuming up to 4% of global electricity, tools like Perforator can play a crucial role in making tech infrastructure more sustainable.”

You might also like

TOPICS
Wayne Williams
Editor

Wayne Williams is a freelancer writing news for TechRadar Pro. He has been writing about computers, technology, and the web for 30 years. In that time he wrote for most of the UK’s PC magazines, and launched, edited and published a number of them too.

You must confirm your public display name before commenting

Please logout and then login again, you will then be prompted to enter your display name.

Read more
Data center racks with cables and servers
What data centers should consider to establish more sustainable operations
A person standing in front of a rack of servers inside a data center
Microsoft joins scientists in finding a way to reuse decommissioned servers
A person standing in front of a rack of servers inside a data center
Data centers are transforming waste heat into community energy assets
Racks of servers inside a data center.
Modernizing data centers: an efficient path forward
Data center racks with cables and servers
Data centers are being pushed to their limits, but digital twins could help
Half man, half AI.
AI energy efficiency monitoring ranks low among enterprise users, survey by inference hardware specialists finds
Latest in Pro
cybersecurity
What's the right type of web hosting for me?
Security padlock and circuit board to protect data
Trust in digital services around the world sees a massive drop as security worries continue
Hacker silhouette working on a laptop with North Korean flag on the background
North Korea unveils new military unit targeting AI attacks
An image of network security icons for a network encircling a digital blue earth.
US government warns agencies to make sure their backups are safe from NAKIVO security issue
Laptop computer displaying logo of WordPress, a free and open-source content management system (CMS)
This top WordPress plugin could be hiding a worrying security flaw, so be on your guard
construction
Building in the digital age: why construction’s future depends on scaling jobsite intelligence
Latest in News
Ray-Ban Meta Smart Glasses
Samsung's rumored smart specs may be launching before the end of 2025
Apple iPhone 16 Review
The latest iPhone 18 leak hints at a major chipset upgrade for all four models
Quordle on a smartphone held in a hand
Quordle hints and answers for Monday, March 24 (game #1155)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Monday, March 24 (game #386)
NYT Connections homescreen on a phone, on a purple background
NYT Connections hints and answers for Monday, March 24 (game #652)
Quordle on a smartphone held in a hand
Quordle hints and answers for Sunday, March 23 (game #1154)