tags : Virtual Memory
Issue Examples
- Firefox 65 keeps up the POWER
- powerpc64, arm64 & 64Kb kernel pagesize not working with nouveau (#258) · Issues · xorg / driver / xf86-video-nouveau · GitLab
- Re: 64k and 4k page size inter-op? - Nikolay Borisov
- runtime: support linux/arm 64kB page size · Issue #12480 · golang/go · GitHub
Why 64K page?
Advantage
- It’s all about performance.
- When a virtual memory page has to be attached to the VAS, if a page fault occurs, it’s handled by the OS. So 64K will give you less page faults than 4K simply because of the size of the page.
- For the same reason as huge pages, TLB also benifits.
Disadvantage
- Memory fragmentation. Eg. many memory allocators have page alignment constraints for convenience, which could waste up to the remaining 60K if the memory actually in use fits entirely within a 4K page instead.