/explore
|
You are here |
blog.nelhage.com | ||
| | | | |
www.evanjones.ca
[AI summary] The post explains how using huge pages in virtual memory can improve CPU performance by reducing translation lookaside buffer (TLB) misses, while discussing potential downsides like memory fragmentation and compatibility issues with certain software patterns. |
|
| | | | | ||
| | | | |
www.lukas-barth.net
If you build an application that uses large, contiguous amounts of memory, it can increase your performance if you allocate this memory in so-called huge pages. Linux offers you two ways of doing that - a legacy way and a modern way. This article describes the modern way of using huge pages, so called transparent huge pages (THP) and applies the techniques from a previous article to verify that we actually got huge pages. The article starts by giving a super-short recap on how paging works and why huge p... |
|
| | | | | ||
| | | | |
manybutfinite.com
After examining the virtual address layout of a process, we turn to the kernel and its mechanisms for managing user memory. Here is gonzo again: Linux processes are implemented in the kernel as insta |
|
| | | | | ||
| | | | |
blog.lenot.re
And how to retain consistency when memory allocation failures occur? |
|
| | | |||