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


- 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.”
Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!
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
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…
Recent Posts
- Your smartwatch could help predict when you’re about to get depressed, according to research
- H&R Block Coupons and Deals: $50 Off Tax Prep in 2025
- 10% Off Dell Coupon Codes | February 2025
- Elon Musk says Grok 2 is going open source as he rolls out Grok 3 for Premium+ X subscribers only
- FTC Chair praises Justice Thomas as ‘the most important judge of the last 100 years’ for Black History Month
Archives
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- September 2018
- October 2017
- December 2011
- August 2010