Bug 13056 - Add NUMA-awareness to qspinlock
Summary: Add NUMA-awareness to qspinlock
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: generic (show other bugs) generic
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: zhangjing
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-30 11:35 UTC by kongyingqiao
Modified: 2024-12-30 13:55 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kongyingqiao hygon_group 2024-12-30 11:35:53 UTC
Description of problem:

Currently, kernel applies qspinlock according to the request time. The performance problems caused by non-consistency of memory access in numa scenarios are not considered. 

The patch herrits from compact NUMA-aware lock,considering about numa nodes when applying qspinlock. Please refers to the newest version in the community: https://lore.kernel.org/linux-arm-kernel/20210514200743.3026725-1-alex.kogan@oracle.com

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
It takes more than 10% performance uplift for MySQL OLTP read_write scenarios.

Expected results:


Additional info:
Comment 1 小龙 admin 2024-12-30 13:55:36 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4406