Linux 6.1 will tell you when your CPU is crocked

Linux users get new tools to scope out faulty CPUs

When you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.

Linuxusers are set to get a new way to identify faultyCPUs, with Linux kernel version 6.1.

The new feature will allow users to print the socket and core which are likely responsible when a segmentation fault occurs, which should allow users to spot if a particular CPU/core is routinely causing problems.

This might not mean much to the armchair Linux enthusiasts, but sysadmins running a fleet of Linuxserversstand to benefit.

How does the feature work?

How does the feature work?

You can enable the new feature by adding  “print()” to “show_signal_msg()”, which will print the CPU, core, and socket at the time of the segfault.

This particular printk can be controlled by going through /proc/sys/debug/exception-trace, and you can see theofficial documentationfor more information.

The authors of the Kernal documentation, Rik van Riel and Borislav Petkov, acknowledge that the feature “is not perfect” as “the task might get rescheduled on another CPU between when the fault hit, and when the message is printed”.However, they did say that “in practice, this has been good enough to help people identify several bad CPU cores”.

Linux kernel team has conquered Retbleed, Torvalds says>China is doubling down on Linux in a bid to leave Windows behind>Our guide to the best linux distros for business

If you’re adeveloperand currently using your Linux distro for demanding high-performance use cases you’re unlikely to be considering using this feature in isolation. You’re probably going to want to also employ common CPU stress testers such as Prime95 or Aida64.

Are you a pro? Subscribe to our newsletter

Are you a pro? Subscribe to our newsletter

Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!

The update will land during October as part of the Linux 6.1 merge window. The previous Linux update, version 6.0, has only recently arrived for testing.

Though Linus Torvalds claimed that “there’s nothing fundamentally different about" version 6.0, the update offered numerous changes, 60% of which were driver updates, but also covered GPU, networking and sound.

ViaPhoronix

Will McCurdy has been writing about technology for over five years. He has a wide range of specialities including cybersecurity, fintech, cryptocurrencies, blockchain, cloud computing, payments, artificial intelligence, retail technology, and venture capital investment. He has previously written for AltFi, FStech, Retail Systems, and National Technology News and is an experienced podcast and webinar host, as well as an avid long-form feature writer.

This new malware utilizes a rare programming language to evade traditional detection methods

Google puts Nvidia on high alert as it showcases Trillium, its rival AI chip, while promising to bring H200 Tensor Core GPUs within days

Arcane season 2 confirms the hit series isn’t just one of the best Netflix shows ever made – it’s an animated legend that’ll stand the test of time