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: HQspinlock Proposal For Linux Shows Very Nice Performance Benefits For Large Servers
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 > HQspinlock Proposal For Linux Shows Very Nice Performance Benefits For Large Servers
Computing

HQspinlock Proposal For Linux Shows Very Nice Performance Benefits For Large Servers

News Room
Last updated: 2025/11/28 at 6:39 AM
News Room Published 28 November 2025
Share
HQspinlock Proposal For Linux Shows Very Nice Performance Benefits For Large Servers
SHARE

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.

A Huawei engineer has sent out patches proposing HQspinlock as a Hierarchical Queued NUMA-aware spinlock for the Linux kernel. HQspinlock aims to addresss inefficiencies within the Linux kernel’s spinlock on modern NUMA-systems due to frequent and costly cross-NUMA cache-line transfers.

The HQspinlock is described in Thursday’s patch proposal as:

“In a high contention case, existing Linux kernel spinlock implementations can become inefficient on modern NUMA-systems due to frequent and expensive cross-NUMA cache-line transfers.

This might happen due to following reasons:
– on “contender enqueue” each lock contender updates a shared lock structure
– on “MCS handoff” cross-NUMA cache-line transfer occurs when two contenders are from different NUMA nodes.

We introduce Hierarchical Queued Spinlock (HQ spinlock), aiming to reduce cross-NUMA cache line traffic and thus improving lock/unlock throughput for high-contention cases.

This idea might be considered as a combination of cohort-locking by Dave Dice and Linux kernel queued spinlock.”

With the proposed patches, adapting to the HQspinlock can be as easy as switching initialization calls from spin_lock_init() to spin_lock_init_hq(). But for those not caring too much about the kernel internals and wanting to know the benefits, there are some very nice throughput performance gains and lower latency observed with the likes of Memcached and the Nginx HTTPS web server.

Most of the performance benchmarks shared were done on an AMD EPYC 9654 server along with some from a Kunpeng 920 ARM64 server. The results of HQspinlock are very promising:

HQ spinlock benchmarks

Those interested in learning more can do so via this patch series.

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 Treefera founder: Creating a common purpose – UKTN Treefera founder: Creating a common purpose – UKTN
Next Article This Robot Vacuum Dodges All My Obstacles and Pets and Is at an All-New Low Price Right Now in the Black Friday Sales This Robot Vacuum Dodges All My Obstacles and Pets and Is at an All-New Low Price Right Now in the Black Friday Sales
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

AMD ISP4 Linux Webcam Driver Updated For HP ZBook Ultra G1a & Future Ryzen Laptops
AMD ISP4 Linux Webcam Driver Updated For HP ZBook Ultra G1a & Future Ryzen Laptops
Computing
Amazon issues scam warning to 300,000,000 customers ahead of Black Friday
Amazon issues scam warning to 300,000,000 customers ahead of Black Friday
News
OnePlus Pad Go 2 Launching In India Soon: Specifications, Features, Specs, More
OnePlus Pad Go 2 Launching In India Soon: Specifications, Features, Specs, More
Mobile
Ethereum’s (ETH) Move Toward ,000 Is Outshined by GeeFi’s (GEE) Launch, Reporting 5.3M Tokens Sold on Day One
Ethereum’s (ETH) Move Toward $3,000 Is Outshined by GeeFi’s (GEE) Launch, Reporting 5.3M Tokens Sold on Day One
Gadget

You Might also Like

AMD ISP4 Linux Webcam Driver Updated For HP ZBook Ultra G1a & Future Ryzen Laptops
Computing

AMD ISP4 Linux Webcam Driver Updated For HP ZBook Ultra G1a & Future Ryzen Laptops

6 Min Read
A JVM Engineer’s First Real Rust Project | HackerNoon
Computing

A JVM Engineer’s First Real Rust Project | HackerNoon

12 Min Read
Choosing a White-Label WordPress Builder: What to Look for in 2026
Computing

Choosing a White-Label WordPress Builder: What to Look for in 2026

26 Min Read
10Web VS Webflow: Why 10Web is a Smart Alternative to Webflow
Computing

10Web VS Webflow: Why 10Web is a Smart Alternative to Webflow

12 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?