Are 1.7% really worth it?
Are 1.7% really worth it?
Posted May 11, 2026 21:38 UTC (Mon) by PeeWee (subscriber, #175777)Parent article: Providing 64KB base pages with 4KB kernels, two different ways
Using 64KB base pages, Shutsemau began, can provide a 1.7% performance improvement on "a very important workload" on Arm processors; he would like to bring that speedup to x86 systems as well.Given all the ifs and buts that followed, according to this article, I cannot help but wonder if it's really worth it, especially when the performance improvement is only part of the equation; the other being internal fragmentation / memory waste. I think, at some point, one needs to ask, how many instances of such an "important workload" could be run with 4K pages vs. 64K pages. If one can run 100 instances with 4K pages without swapping but only 80 with 64K, due to underutilized pages, that's a net loss; assuming perfect scalability with instance count, of course. What about other workloads that need to coexist on such systems? If any of them need to make do with less available memory, that goes to the cost side of the balance sheet. Also, why not aim lower? I've read that MacOS is using 16K pages, which seems like a reasonable compromise. It gives four times the page table coverage compared to 4K. I'm also wondering if CPU vendors are simply cheaping out here. Maybe we need some new MMU hardware that's capable of dealing with modern memory demands. I mean, very major portions (> 30%) of silicon real estate is spent on Cache Memory, but so little on TLB?!
