Bug 16164 - backport Auto-tune per-CPU pageset size patchset
Summary: backport Auto-tune per-CPU pageset size patchset
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: mm (show other bugs) mm
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: wangrongwei
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-26 10:29 UTC by AubreyLi
Modified: 2025-01-26 14:12 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 AubreyLi intel_group 2025-01-26 10:29:35 UTC
backport Auto-tune per-CPU pageset size patchset

There are 9 patches of Auto-tune per-CPU pageset size,

[1/9] mm, pcp: avoid to drain PCP when process exit
[2/9] cacheinfo: calculate per-CPU data cache size
[3/9] mm, pcp: reduce lock contention for draining high-order pages
[4/9] mm: restrict the pcp batch scale factor to avoid too long latency
[5/9] mm, page_alloc: scale the number of pages that are batch allocated
[6/9] mm: add framework for PCP high auto-tuning
[7/9] mm: tune PCP high automatically
[8/9] mm, pcp: decrease PCP high if free pages < high watermark
[9/9] mm, pcp: reduce detecting time of consecutive high order page freeing

Somehow 
[4/9] mm: restrict the pcp batch scale factor to avoid too long latency
has already been backported alone since 6.6.45 by Sasha Levin sashal@kernel.org
The rest 8 can be backported
Comment 1 小龙 admin 2025-01-26 14:12:53 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/4543