3 ms·
Weird. AFAIK 4K and 64K were the common ARM64 page sizes, and 16K was the odd "think different" one that Apple uses. No mention of 16K in the Linux kernel docs:
by userbinator 1y ago
Weird. AFAIK 4K and 64K were the common ARM64 page sizes, and 16K was the odd "think different" one that Apple uses. No mention of 16K in the Linux kernel docs:
https://www.kernel.org/doc/html/next/arm64/memory.html https://www.kernel.org/doc/html/next/arm64/memory.html
- jeffbee 1y ago16K is the weird one in practice, but ARM says they are implementation-defined. https://developer.arm.com/documentation/101811/0104/Translation-granule?lang=en https://developer.arm.com/documentation/101811/0104/Translat...
- ryao 1y agoThe 64-bit kernel shipped for the Raspberry Pi 5 uses 16KB pages.
- tux3 1y ago64K starts to be a little too wasteful. It is a small performance gain as you'd expect, but less granularity means significantly more wasted memory On a phone with limited RAM, this starts to be a bad tradeoff quickly. 16K is a reasonable jump from the venerable 4K page size.
- fsfod 1y agoAMD also switched to 16k(4 x 4K) down from 8 in Zen1 for there PTE Coalescing system that is effectively run length like compression of page table entries with sequential addresses in to one TLB slot.
- surajrmal 1y agoiPhone uses 16KiB pages as well.