Blogs / Personal blogs

Nelson Elhage

blog.nelhage.com

Nelson Elhage's blog. I write about software and software engineering.

Popular posts
19
Total points
3,988
HN comments
1,511
Rank
#319 personal

Visit blog.nelhage.com → RSS feedOn Hacker News Sep 2010 – Mar 2025

Software Engineering 13Systems & Performance 8Infrastructure & DevOps 3Math & Algorithms 2Programming Languages 2Databases & Data 2

2

Disable transparent hugepages

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%…

3

Graceful behavior at capacity

Suppose we’ve got a service. We’ll gloss over the details for now, but let’s stipulate that it accepts requests from the outside world, and takes some action in response. Maybe those requests are HTTP requests, or RPCs, or just incoming packets to be routed at the network layer. We can get more specific later. What…