Re:Linux with “memory folios”: a 7% performance boost when c...
by toast0 on Tuesday June 15, 2021 @03:18AM
(#27512278)
You can also do large pages, 2MB or 1GB or whatever the obscenely large page size is for 5-level paging on latest systems.
2MB vs 4kB isn't quite the same ratio as 4MB -> 32GB, but it's still a lot less pages to cache in the TLB, and it's not too big to manage when you need to copy on write or swap out (or compress with zram) and whatever else needs to be done at the page level.
2MB vs 4kB isn't quite the same ratio as 4MB -> 32GB, but it's still a lot less pages to cache in the TLB, and it's not too big to manage when you need to copy on write or swap out (or compress with zram) and whatever else needs to be done at the page level.