Hacker News new | ask | show | jobs
by twoodfin 93 days ago
Hmm? x86 has supported much larger “huge” page sizes for ages.
2 comments

Yep, RISC-V also has these megapages. 4k is the last-level page size. You get larger pages (4M on 32-bit and 2M/1G on 64-bit) by terminating the walk at higher levels of the page table.
Yes, and Linux. at least historically, has not used them without explicit program opt-in. Often advice is to disable transparent huge pages for performance reasons. Not sure about other operating systems.

See, for example, https://www.pingcap.com/blog/transparent-huge-pages-why-we-d...

Huh, no? The usual advice is to enable THPs for performance, you only disable them in specific scenarios.