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

EU rejects UK’s defence tech fund investment offer – UKTN
EU rejects UK’s defence tech fund investment offer – UKTN
News
How Russian drones targeting civilians are turning one Ukrainian city into a ‘human safari’
News
OpenAI claims teen circumvented safety features before suicide that ChatGPT helped plan |  News
OpenAI claims teen circumvented safety features before suicide that ChatGPT helped plan | News
News
The TechBeat: From Tasks to Thinking Systems: Why Automation Starts in the Mind, Not the Machine (11/28/2025) | HackerNoon
The TechBeat: From Tasks to Thinking Systems: Why Automation Starts in the Mind, Not the Machine (11/28/2025) | HackerNoon
Computing

You Might also Like

The TechBeat: From Tasks to Thinking Systems: Why Automation Starts in the Mind, Not the Machine (11/28/2025) | HackerNoon
Computing

The TechBeat: From Tasks to Thinking Systems: Why Automation Starts in the Mind, Not the Machine (11/28/2025) | HackerNoon

7 Min Read
NTFSPLUS Now Supports $MFT File Extension, FITRIM, More Mount Options
Computing

NTFSPLUS Now Supports $MFT File Extension, FITRIM, More Mount Options

3 Min Read
One Identity Safeguard Named a Visionary In The 2025 Gartner Magic Quadrant For PAM | HackerNoon
Computing

One Identity Safeguard Named a Visionary In The 2025 Gartner Magic Quadrant For PAM | HackerNoon

5 Min Read
Why Organizations Are Turning to RPAM
Computing

Why Organizations Are Turning to RPAM

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