/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

kstefanj.github.io
| | blog.nelhage.com
5.2 parsecs away

Travel
| | tl;dr "Transparent Hugepages" is a Linux kernel feature intended to improve performance by making more efficient use of your processor's memory-mapping hardware. It is enabled ("enabled=always") by default in most Linux distributions. Transparent Hugepages gives some applications a small performance improvement (~ 10% at best, 0-3% more typically), but can cause significant performance problems, or even apparent memory leaks at worst. To avoid these problems, you should set enabled=madvise on your server...
| | www.lukas-barth.net
4.0 parsecs away

Travel
| | 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...
| | rigtorp.se
4.3 parsecs away

Travel
| | In this article I will explain when and how to use huge pages.
| | www.jmeiners.com
20.5 parsecs away

Travel
| [AI summary] The provided text outlines the development of an LC-3 virtual machine (VM) in C, including the implementation of various instructions, memory operations, and input/output handling. It also discusses an advanced C++ approach using templates and bitwise flags to reduce code duplication and improve efficiency. The text covers topics like instruction decoding, memory addressing, flag handling, and platform-specific input buffering. Additionally, it references contributions from the community and mentions GitHub tags for organizing implementations in different languages.