/explore
|
You are here |
quickwit.io | ||
| | | | |
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... |
|
| | | | | ||
| | | | |
offlinemark.com
This post details my adventures with the Linux virtual memory subsystem, and my discovery of a creative way to taunt the OOM (out of memory) killer by accumulating memory in the kernel, rather than in userspace. Keep reading and you'll learn: Internal details of the Linux kernel's demand paging implementation How to exploit virtual memory [...] |
|
| | | | | ||
| | | | |
zackoverflow.dev
The answer is "very often" |
|
| | | | | ||
| | | | |
kstefanj.github.io
I've recently spent a lot of time in memory reservation code of the JVM. It started out because we got an external contribution to enable use of multiple large page sizes for Linux. To do this in a good way some other things had to be refactored first. While taking this trip down memory lane I realized that doing a short summary of how large pages are used by the JVM might be an interesting read. |
|
| | | |||