/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
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.
3.1 parsecs

Travel
| |
| | 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...
2.3 parsecs

Travel
| |
| | 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
2.5 parsecs

Travel
| |
| | blog.lenot.re

And how to retain consistency when memory allocation failures occur?
4.7 parsecs

Travel
|