[Deepin-Kernel-SIG] [linux 6.18.y] [deepin] deepin: arm64: decrease NR_CPUS to 1024#1753
Conversation
deepin inclusion category: performance CONFIG_NR_CPUS=4096 clearly over our all desktop/server/hpc users requirement, limit it to a possible value to more match cacheline and save memory. Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR adjusts the Deepin ARM64 desktop kernel configuration to reduce the maximum supported CPU count from 4096 to 1024, improving memory usage and cacheline behavior for realistic Deepin desktop/server/HPC workloads. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
有没有前后对比数据 |
There was a problem hiding this comment.
Pull request overview
This PR adjusts the Deepin arm64 desktop kernel default configuration to reduce compile-time CPU scalability limits, lowering static memory overhead associated with large NR_CPUS builds.
Changes:
- Reduce
CONFIG_NR_CPUSfrom 4096 to 1024 in the Deepin arm64 desktop defconfig.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
deepin inclusion
category: performance
CONFIG_NR_CPUS=4096 clearly over our all desktop/server/hpc users requirement, limit it to a possible value to more match cacheline and save memory.
Summary by Sourcery
Build: