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
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
Ryzen 9000 promotional material
AMD's most powerful processor ever actually runs better on Windows 10 than Windows 11
Close up of the Linux penguin.
Best lightweight Linux distro of 2025
AMD Ryzen 9950X3D chip next to its packaging on a pink table
Asus' AI Cache Boost promises to "pump up" your AMD Ryzen 9000 processor's AI performance
Latest in Software & Services
woman listening to computer
AWS vs Azure: choosing the right platform to maximize your company's investment
A person at a desktop computer working on spreadsheet tables.
Trello vs Jira: which project management solution is best for you?
Autonomous finance
Quickbooks vs Quicken: what are the main strengths and weaknesses for your business
finance
Quickbooks vs Xero: which is the best for your business?
Group of people meeting
Zoom vs Google Meet: which is the best video conferencing tool for your business?
Fingers typing on a computer keyboard.
Microsoft 365 Personal vs Microsoft 365 Family: are there any real differences?
Latest in News
Apple iPhone 16 Pro Max REVIEW
The latest batch of leaked iPhone 17 dummy units appear to show where glass meets metal on the new designs
Hornet swings their weapon in mid air
Hollow Knight: Silksong could potentially launch this year and I reckon it could be a great game for an Xbox handheld
ransomware avast
Ransomware attacks are costing Government offices a month of downtime on average
Cassian looking at someone off-camera from a TIE fighter cockpit in Andor season 2
Star Wars: Andor creator is taking a stance against AI by canceling plans to release its scripts, and I completely get why
Nintendo x Seattle Mariners partnership
The Nintendo Switch 2 logo will be featured on the Seattle Mariners' baseball jerseys this season
Apple iPhone 16 Pro Max Review
Siri's chances to beat ChatGPT just got a whole lot better