By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Important Performance Work: Overhaul Of RSEQ & CID Management Merged For Linux 6.19
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Important Performance Work: Overhaul Of RSEQ & CID Management Merged For Linux 6.19
Computing

Important Performance Work: Overhaul Of RSEQ & CID Management Merged For Linux 6.19

News Room
Last updated: 2025/12/02 at 2:55 PM
News Room Published 2 December 2025
Share
Important Performance Work: Overhaul Of RSEQ & CID Management Merged For Linux 6.19
SHARE

An important set of patches were just merged a few minutes ago to Linux Git for the ongoing Linux 6.19 kernel with some important performance implications.

Intel Fellow Thomas Gleixner yesterday sent in the “core/rseq” pull request for Linux 6.19 Git that was then merged today by Linus Torvalds. This pull includes the patches rewriting the memory-mapped concurrency ID “MM CID” code within the kernel that was found to provide up to a ~14%+ performance improvement for PostgreSQL database throughput. As well, my own testing of this MM CID rewrite also showed very positive gains — on AMD EPYC hardware used for testing. My tests of those patches were covered in Intel’s Rewrite Of Linux MM CID Code Showing Some Nice Gains For AMD.

The pull request includes the improvements to the CID management plus also addresses some issues that came up as a result of the GNU C Library recently landing its Restartable Sequences (RSEQ) usage.

Gleixner explained all the work within the core/rseq pull request:

“A large overhaul of the restartable sequences and CID management:

The recent enablement of RSEQ in glibc resulted in regressions which are caused by the related overhead. It turned out that the decision to invoke the exit to user work was not really a decision. More or less each context switch caused that. There is a long list of small issues which sums up nicely and results in a 3-4% regression in I/O benchmarks.

The other detail which caused issues due to extra work in context switch and task migration is the CID (memory context ID) management. It also requires to use a task work to consolidate the CID space, which is executed in the context of an arbitrary task and results in sporadic uncontrolled exit latencies.

The rewrite addresses this by:

– Removing deprecated and long unsupported functionality

– Moving the related data into dedicated data structures which are optimized for fast path processing.

– Caching values so actual decisions can be made

– Replacing the current implementation with a optimized inlined variant.

– Separating fast and slow path for architectures which use the generic entry code, so that only fault and error handling goes into the TIF_NOTIFY_RESUME handler.

– Rewriting the CID management so that it becomes mostly invisible in the context switch path. That moves the work of switching modes into the fork/exit path, which is a reasonable tradeoff. That work is only required when a process creates more threads than the cpuset it is allowed to run on or when enough threads exit after that. An artificial thread pool benchmarks which triggers this did not degrade, it actually improved significantly.

The main effect in migration heavy scenarios is that runqueue lock held time and therefore contention goes down significantly.”

Great work and this pull plus other performance optimization work expected to be merged for Linux 6.19 will make for some exciting kernel benchmarking in the days and weeks ahead.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Last Chance to Save: These Cyber Week Deals Are Still Going Strong Right Now Last Chance to Save: These Cyber Week Deals Are Still Going Strong Right Now
Next Article You have about 12 hours to get the Google Pixel 10 Pro Fold 0 off! You have about 12 hours to get the Google Pixel 10 Pro Fold $400 off!
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Set Up This VPN in 90 Seconds
Set Up This VPN in 90 Seconds
News
Cyber Week Keeps the Discounts Flowing With Expert-Vetted Tech Deals on Laptops, Earbuds, SSDs, and More
Cyber Week Keeps the Discounts Flowing With Expert-Vetted Tech Deals on Laptops, Earbuds, SSDs, and More
News
How to Upgrade to PHP 8.5 Without Breaking Your Codebase | HackerNoon
How to Upgrade to PHP 8.5 Without Breaking Your Codebase | HackerNoon
Computing
The Kobo remote is now available to buy
The Kobo remote is now available to buy
News

You Might also Like

How to Upgrade to PHP 8.5 Without Breaking Your Codebase | HackerNoon
Computing

How to Upgrade to PHP 8.5 Without Breaking Your Codebase | HackerNoon

0 Min Read
AMD Zen 6 RAS Preparation, AMD SDCI Features Merged For Linux 6.19
Computing

AMD Zen 6 RAS Preparation, AMD SDCI Features Merged For Linux 6.19

3 Min Read
How to Build a Public Case Creation Portal on Salesforce Experience Cloud | HackerNoon
Computing

How to Build a Public Case Creation Portal on Salesforce Experience Cloud | HackerNoon

0 Min Read
Case Study: How a Payment Link Doubled Orders for an E-Commerce Product in an Emerging Market | HackerNoon
Computing

Case Study: How a Payment Link Doubled Orders for an E-Commerce Product in an Emerging Market | HackerNoon

0 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?