4 ms·
Hmm? x86 has supported much larger “huge” page sizes for ages.
by twoodfin 8mo ago
Hmm? x86 has supported much larger “huge” page sizes for ages.
- ori_b 8mo agoYes, 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-disable-it-for-databases/ https://www.pingcap.com/blog/transparent-huge-pages-why-we-d...
- jorvi 8mo agoHuh, no? The usual advice is to enable THPs for performance, you only disable them in specific scenarios.
- wren6991 8mo agoYep, 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.