https://www.phoronix.com/news/Better-ST-Perf-Many-Core-CPUs Phoronix * Articles & Reviews * News Archive * Forums * Premium Ad-Free * Contact * Popular Categories * Close * * Articles & Reviews * News Archive * Forums * Premium * Contact * Categories Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals * [ ] [Search] Cyber Week 2025: If you wish to enjoy the site ad-free, multi-page articles on a single page, and other benefits, consider joining Phoronix Premium. This week only is our Cyber Week promotion to help support all of our Linux/open-source hardware and software operations while enjoying the added premium benefits at a discounted rate. Thanks for your consideration and support this holiday season with providing daily original content for over 21 years. Happy Holidays: 21+ years in providing Linux hardware reviews with more than 5,500 original reviews / featured multi-page articles and more than 48,400 original news articles. 99% of the content written by one individual. If you enjoy Phoronix.com, consider joining Phoronix Premium. This week is the Cyber Week promotion to help support all of our Linux/open-source hardware and software operations. Thank you for your consideration and support this holiday season. New Linux Patches Enhance Single-Threaded Performance On Many-Core CPUs Written by Michael Larabel in Linux Kernel on 28 November 2025 at 10:13 AM EST. 5 Comments LINUX KERNEL In addition to the proposed Hierarchical Queued NUMA-aware spinlocks for better performance, another interesting performance-enhancing patch series posted in the past 24 hours for the Linux kernel is for improving the performance of single-threaded tasks running on high core count CPU desktops / workstations / servers. Gabriel Krisman Bertazi of SUSE posted the request for comments (RFC) patch series to better the performance of single-threaded tasks with today's many-core CPUs. The optimization is focused around the Linux kernel's "rss_stat" structure that holds statistics around the Resident Set Size (RSS) for the process with the amount of memory in use. AMD EPYC Bergamo Linux server Gabriel Krisman Bertazi explained of this rss_stat optimization for single-threaded tasks to speed up its initialization and teardown: "The cost of the pcpu memory allocation is non-negligible for systems with many cpus, and it is quite visible when forking a new task, as reported in a few occasions. In particular, Jan Kara reported the commit introducing per-cpu counters for rss_stat caused a 10% regression of system time for gitsource in his system. In that same occasion, Jan suggested we special-cased the single-threaded case: since we know there won't be frequent remote updates of rss_stats for single-threaded applications, we could special case it with a local counter for most updates, and an atomic counter for the infrequent remote updates. This patchset implements this idea." The end result are some nice performance gains for single-threaded tasks running on high core count Linux systems. In synthetic benchmarks a 6~15% improvement or in a more realistic benchmark around 1.5% better performance. Still enough to make pursuing it worthwhile: "On a 256c system, where the pcpu allocation of the rss_stats is quite noticeable, this has reduced the wall-clock time between 6% - 15% (depending on the number of cores) of an artificial fork-intensive microbenchmark (calling /bin/true in a loop). In a more realistic benchmark, it showed an improvement of 1.5% on kernbench elapsed time." Those interested in learning more can do so via this RFC patch series . It will be fun to benchmark these patches if they look like they'll end up in mainline for enhancing EPYC and Threadripper systems. 5 Comments Tweet Related News New Patches Work To Optimize Code Generation For Linux Context Switching HQspinlock Proposal For Linux Shows Very Nice Performance Benefits For Large Servers Urgent ACPI Revert For Linux 6.18 To Deal With Some Hardware Crashing Linux 6.18-rc7 Released With Late Hardware Improvements Linux 6.18 Sees Late Improvements For Xbox Ally, Lenovo Legion Go, & Alienware Laptops Linux 6.19 Slated To Land "mm/cid" Rewrite That Has Very Positive Performance Potential About The Author Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com. Popular News This Week Firefox 147 Will Support The XDG Base Directory Specification Rust For Linux Kernel Co-Maintainer Formally Steps Down GCC Steering Committee Allows New Language Front-End To Land For GCC 16 Dell Now Shipping Laptop With Qualcomm NPU On Linux Ahead Of Windows 11 KDE Plasma 6.8 Will Go Wayland-Exclusive In Dropping X11 Session Support KDE Plasma 6.6 Will Provide A Much Better Experience For High Refresh Rate Displays Steam Frame Using Mesa's Turnip Vulkan Open-Source Driver Nautilus File Manager In GNOME 50 Will Load Thumbnails Much Faster Latest Linux News Wine 10.20 Released With VKD3D 1.18 Upgrade For Direct3D 12 New Patches Work To Optimize Code Generation For Linux Context Switching Black Friday Reminder For Those Hating Ads But Loving Linux Hardware/ Software New Linux Patches Enhance Single-Threaded Performance On Many-Core CPUs AMD ISP4 Linux Webcam Driver Updated For HP ZBook Ultra G1a & Future Ryzen Laptops NTFSPLUS Now Supports $MFT File Extension, FITRIM, More Mount Options HQspinlock Proposal For Linux Shows Very Nice Performance Benefits For Large Servers Vulkan 1.4.335 Released With The Very Notable VK_EXT_present_timing One Of Intel's Xe Open-Source Linux Graphics Driver Maintainers Is Departing GCC 16 Switches To Using C++20 Standard By Default Show Your Support, Go Premium Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations. Latest Featured Articles Open-Source Nouveau+NVK vs. NVIDIA 580 Linux Gaming/Graphics & Compute Driver Performance Intel Battlemage Graphics Enjoyed Nice GPU Compute Performance Gains In 2025 Intel Core Ultra 9 285K "Arrow Lake" Linux Performance Up ~9% One Year Later At ~85% Power Use Gigabyte R284-A92-AAL1: A Reliable 2U Rack Server For Intel Xeon 6900 Series Dell Pro Max with GB10 Arrives For Linux Performance Benchmarking Support Phoronix The mission at Phoronix since 2004 has centered around enriching the Linux hardware experience. In addition to supporting our site through advertisements, you can help by subscribing to Phoronix Premium. You can also contribute to Phoronix through tips/donations via PayPal or Stripe. Phoronix Media --------------------------------------------------------------------- * Contact * Michael Larabel Phoronix Premium --------------------------------------------------------------------- * Support Phoronix * While Having Ad-Free Browsing, * Single-Page Article Viewing Share --------------------------------------------------------------------- * Facebook * Twitter / X * Legal Disclaimer, Privacy Policy, Cookies | Privacy Manager | Contact * Copyright (c) 2004 - 2025 by Phoronix Media. * All trademarks used are properties of their respective owners. All rights reserved.