←back to thread

95 points ingve | 6 comments | | HN request time: 0.63s | source | bottom
1. userbinator ◴[] No.44567094[source]
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

replies(5): >>44567124 #>>44567229 #>>44568498 #>>44573696 #>>44589275 #
2. jeffbee ◴[] No.44567124[source]
16K is the weird one in practice, but ARM says they are implementation-defined.

https://developer.arm.com/documentation/101811/0104/Translat...

3. ryao ◴[] No.44567229[source]
The 64-bit kernel shipped for the Raspberry Pi 5 uses 16KB pages.
4. tux3 ◴[] No.44568498[source]
64K 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.

5. fsfod ◴[] No.44573696[source]
AMD 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.
6. surajrmal ◴[] No.44589275[source]
iPhone uses 16KiB pages as well.