Linux 6.1 will tell you when your CPU is crocked By Mobile Malls August 26, 2022 0 405 views Linux customers are set to get a brand new approach to determine defective CPUs, with Linux kernel model 6.1.The brand new characteristic will permit customers to print the socket and core that are doubtless accountable when a segmentation fault happens, which ought to permit customers to identify if a selected CPU/core is routinely inflicting issues.This won’t imply a lot to the armchair Linux fans, however sysadmins operating a fleet of Linux servers stand to profit.How does the characteristic work?You may allow the brand new characteristic by including “print()” to “show_signal_msg()”, which is able to print the CPU, core, and socket on the time of the segfault.This explicit printk might be managed by going via /proc/sys/debug/exception-trace, and you may see the official documentation (opens in new tab) for extra data. The authors of the Kernal documentation, Rik van Riel and Borislav Petkov, acknowledge that the characteristic “isn’t good” as “the duty would possibly get rescheduled on one other CPU between when the fault hit, and when the message is printed”.Nevertheless, they did say that “in follow, this has been adequate to assist individuals determine a number of dangerous CPU cores”.When you’re a developer and at the moment utilizing your Linux distro for demanding high-performance use instances you are unlikely to be contemplating utilizing this characteristic in isolation. You are in all probability going to need to additionally make use of widespread CPU stress testers equivalent to Prime95 or Aida64.The replace will land throughout October as a part of the Linux 6.1 merge window. The earlier Linux replace, model 6.0, has solely just lately arrived for testing.Although Linus Torvalds claimed that “there’s nothing basically completely different about” model 6.0, the replace supplied quite a few modifications, 60% of which have been driver updates, but additionally coated GPU, networking and sound.Serious about giving Linux in the past? Checkout our information to one of the best Linux laptopsThrough Phoronix (opens in new tab)Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)MoreClick to print (Opens in new window)Click to email a link to a friend (Opens in new window)Click to share on Reddit (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Tumblr (Opens in new window)Click to share on Pinterest (Opens in new window)Click to share on Pocket (Opens in new window)Click to share on Telegram (Opens in new window)Click to share on WhatsApp (Opens in new window)