Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Open Source
>
Other
>
Operation System
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
458
Star
1.7K
Fork
1.9K
GVP
openEuler
/
kernel
Closed
Code
Issues
1271
Pull Requests
991
Wiki
Insights
Pipelines
Service
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
openEuler 22.03 ARM架构 PAGE_SIZE 选择 4k or 64K
Done
#I4HDHZ
Requirement
gameoverboss
Opened this issue
2021-11-08 17:33
从性能和内存消耗权衡角度, 支持更多ARM芯片角度; 建议openEuler ARM架构选择4K页表; redhat从RHEL9开始选择4K页表作为ARM架构的默认页表 https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9-beta/html-single/9.0_release_notes/index The 64-bit ARM architecture has a 4 KB page size in RHEL 9 Red Hat has selected a 4 KB page size of physical memory for the 64-bit ARM architecture in Red Hat Enterprise Linux 9. This size pairs well with the workloads and memory amounts present on the majority of ARM-based systems. To employ large page sizes efficiently, use the huge pages option to address a greater amount of memory or workloads with large data sets. 客户希望redhat支持 Apple Silicon (M1) Processor诉求, M1芯片仅支持4K页表; https://access.redhat.com/discussions/5966451 其他问题: 1.某些硬件厂商, TCP offload网卡, 驱动和微码里边将page_size写死为4096; 如果不是4K页表, 运行会出错; 2.用户态软件, 兼容多个OS的时候, 如果页表不同, 会导致mmap相关系统调用不兼容; 3.如果使用64K页表, 会导致内核内存底噪增加; 4.如果用户态软件使用LWT协程, 协程的堆栈基于page_fault动态增长, 则64K页表会浪费大量内存;
从性能和内存消耗权衡角度, 支持更多ARM芯片角度; 建议openEuler ARM架构选择4K页表; redhat从RHEL9开始选择4K页表作为ARM架构的默认页表 https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9-beta/html-single/9.0_release_notes/index The 64-bit ARM architecture has a 4 KB page size in RHEL 9 Red Hat has selected a 4 KB page size of physical memory for the 64-bit ARM architecture in Red Hat Enterprise Linux 9. This size pairs well with the workloads and memory amounts present on the majority of ARM-based systems. To employ large page sizes efficiently, use the huge pages option to address a greater amount of memory or workloads with large data sets. 客户希望redhat支持 Apple Silicon (M1) Processor诉求, M1芯片仅支持4K页表; https://access.redhat.com/discussions/5966451 其他问题: 1.某些硬件厂商, TCP offload网卡, 驱动和微码里边将page_size写死为4096; 如果不是4K页表, 运行会出错; 2.用户态软件, 兼容多个OS的时候, 如果页表不同, 会导致mmap相关系统调用不兼容; 3.如果使用64K页表, 会导致内核内存底噪增加; 4.如果用户态软件使用LWT协程, 协程的堆栈基于page_fault动态增长, 则64K页表会浪费大量内存;
Comments (
16
)
Sign in
to comment
Status
Done
新建
已接纳
已挂起
In Design
In Development
Done
Accepted
Declined
Assignees
Not set
Labels
sig/Kernel
Not set
Projects
Unprojected
Unprojected
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(8)
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register