Linux running slowly? This one simple tweak could fix it for you

A wall of data on a large screen.
(Image credit: Pixabay)

Researchers have discovered a remarkably easy way to make your Linux machines run faster.

Many Linux devices have been plagued by Windows-centric hardware management since 2002, but this could be about to change. Sophisticated interfaces between a machine’s operating system and its hardware, such as the chips that have been slowing down your Linux machine, have long been required in order to ensure that processors with billions of transistors maintain efficiency.

Although the latest ACPI standard replaced the outgoing APM standard in 1996, however even more than a quarter of a century ago, it still had one key flaw. 

Slower performance

Computer engineers carry out most of their testing on the industry-standard operating system, which for a long time has been Windows, which leaves Linux distros and macOS mostly unthought-for when they use third-party chips like AMD processors.

With the introduction of its own silicon, Apple has found one way to boost performance all-round with the processors it uses in its computers. The company’s M-series chips are now in their second generation, though this is a costly solution that is simply out of reach for the Linux Foundation.

Linux poor performance

The report continues to reminisce about Linux creator Linus Torvalds’ thoughts when it came to the updated ACPI standard, when in 2003 he said:

“ACPI is a complete design disaster in every way. But we're kind of stuck with it. If any Intel people are listening to this and you had anything to do with ACPI, shoot yourself now, before you reproduce.”

The problem came to light when troubled machines were taking a while to respond to STPCLK# signals, which determine whether a core should idle. This saw power efficiency reduce, which saw some dummy I/O instructions introduced as a workaround.

While this is no longer a problem, AMD engineer K Prateek Nayak found that Linux machines are still following the dummy instructions on his company’s processors. In the meantime, The Register reports a “hasty patch” by Intel’s Dave Hansen, which limits the workaround to only be present on Intel chips, which will be unaffected owing to the different method they use for idling a core. As a result, minimum throughput is said to have increased by around 14 times, and the mean throughput is also said to have increased by just over half.

Ultimately, even as we move into the 2020s, much of the third-party hardware we see on the market continues to be developed primarily with Windows in mind, and it’s likely that tweaks from eagle-eyed engineers will continue to drive improvements for less popular operating systems as time progresses.

Via The Register

TOPICS
Craig Hale

With several years’ experience freelancing in tech and automotive circles, Craig’s specific interests lie in technology that is designed to better our lives, including AI and ML, productivity aids, and smart fitness. He is also passionate about cars and the decarbonisation of personal transportation. As an avid bargain-hunter, you can be sure that any deal Craig finds is top value!

Read more
A person standing in front of a rack of servers inside a data center
Changing a few lines of code in Linux could apparently save hyperscalers billions, research claims, but I am not convinced
The socket interface of the Intel Core Ultra processor
Got an Intel Core Ultra 200S CPU? These are the patches you need to help gaming performance – with one more update coming in January 2025
Windows fail
It looks like Microsoft might have broken Windows 11 24H2 again as performance plummets with Intel's latest CPUs
An AMD Ryzen 7 7800X3D slotted into a motherboard
5 last-minute computer upgrades that will boost your PC's performance
Close up of the Linux penguin.
Best lightweight Linux distro of 2025
One of the best processor picks against a golden TechRadar background
The best processor in 2025: top picks from AMD and Intel
Latest in Software & Services
A man sitting at his desk in the evening and using a desktop computer
Office 2021 vs Office 2024: is it time to upgrade?
Microsoft 365 Business app logos
Office 2024 LTSC vs Microsoft 365 Business: what are the differences?
Windows 11 Start menu layout choices: Grid view
Windows 11 vs Linux for business: which operating system should you embrace?
A phone sitting on a laptop keyboard with the Microsoft Outlook logo on the screen.
Gmail vs Outlook for business: which email system is right for your organization?
Windows 11 logo
Windows 11 Pro vs Windows 11 Home: which version is right for you?
Canva HubSpot
HubSpot and Canva team up to level the creative playing field
Latest in News
Google Gemini Robotics
Gemini just got physical and you should prepare for a robot revolution
Lilo & Stitch Official Trailer
Stitch crashes into earth and steals our hearts with the first trailer for the live-action Lilo & Stitch
GTA 5
GTA Online publisher Take-Two is gunning for a black market that’s basically heaven for cheaters
Y2K cast looking shocked
Y2K has a streaming release date on Max, so you can witness the technology uprising at home
The Discovery+ homepage
Discovery+ just got a big update to its streaming app that makes it more like Max – here are 5 great new features to try
Two Android phones on a green and blue background showing Google Messages
Struggling with slow Google Messages photo transfers? Google says new update will make 'noticeable difference'