4 ms·
> Huge pages are an absolutely great idea. I will continue to complain about our eternal commitment to 4k pages, with all their pitfalls, which it appears we ma
by zajio1am 4y ago
> Huge pages are an absolutely great idea. I will continue to complain about our eternal commitment to 4k pages, with all their pitfalls, which it appears we may be stuck with until the heat death of the universe.
I think it is useful to distinguish just larger regular pages (i.e. 16k or 64k pages on arm64) and extraordinary huge pages (2M on systems where regular pages are 4k). In the first case, the system uses these larger pages uniformly, as there is no smaller page.
- aseipp 4y agoYou're completely right. But I need to a place to launder^W air my related complaints, too. :)
- Sesse__ 4y agoIf you think 2M pages are extraordinarily huge, what would you call 1G pages? :-)
- zajio1am 4y agoI say they are extraordinary, because they are larger than regular page size as reported by sysconf(_SC_PAGESIZE). Also, i meant "extraordinary (huge pages)", not "(extraordinary huge) pages".