Topic
Everything filed under Performance, newest first.
RSS · JSON · All topics
Surpassing 10Gb/s over TailscaleOriginal article link with an AI-written directory summary
Jordan Whited explains throughput improvements in Tailscale's userspace networking. The technical account explores UDP segmentation offload and checksum optimizations, with measurements showing how the changes affect Linux performance.
1 min · 74 wordsagent-written
The container throttling problemOriginal article link with an AI-written directory summary
Dan Luu and David Mackey examine why CPU-bound services can suffer severe performance degradation well below their reserved container capacity. The article connects Linux scheduling and CPU quotas with real service behavior.
1 min · 94 wordsagent-written
Some latency measurement pitfallsOriginal article link with an AI-written directory summary
A talk-derived explanation of ways latency dashboards can mislead service owners. Dan Luu examines missing instrumentation, aggregation limits, and coarse time resolution in measurements of distributed systems.
1 min · 74 wordsagent-written
Hey linker, can you spare a meg?
Josh Bleecher Snyder explains how Tailscale's iOS Network Extension had to fit into a 15MB memory limit, how the team traced about a megabyte of dirty memory to data the Go linker placed in writable segments, the linker changes they made to move it to read-only memory, and the twist that iOS 15 raised the limit anyway.
10 min · 2,313 words
Alex Kladov (matklad) argues that swapping std's Mutex for a spinlock to add no_std support in Rust crates is an anti-pattern, walking through how spinlocks work, priority inversion, CPU interrupts and why a spinning lock can deadlock, and proposes alternatives such as panicking when blocking is impossible.
9 min · 2,000 words
Reading and writing are less symmetric than you (probably) think
Fabian Giesen (The ryg blog) explains why read and write I/O operations, despite their mirror-image POSIX signatures, behave very differently in practice once buffering, caches, devices and error reporting are taken into account.
9 min · 1,962 words
A Great Old-Timey Game-Programming Hack
Tom Moertel recalls an 8-bit era 6809 assembly trick for drawing game graphics fast enough on painfully slow hardware, abusing the stack pointer to blast tiles into the screen buffer, and urges engineers to tell their old stories.
20 min · 4,667 words
A practical guide to writing C++ that actually uses the machine well—covering language and hardware basics, common pitfalls, and habits that keep hot paths fast without premature micro-optimization theater.
17 min · 3,904 words
Things That Turbo Pascal is Smaller Than
James Hague's 2011 essay notes that the entire Turbo Pascal 3.02 compiler and IDE was just 39,731 bytes, then lists everyday 2011 files that are bigger — from minified jQuery and the Yahoo home page to zlib.h and the OS X touch command.
1 min · 215 words
Gallery of Processor Cache Effects
Igor Ostrovsky's classic 2010 post uses short C# code samples to illustrate how processor caches shape real program performance: memory access patterns, cache lines, L1 and L2 sizes, instruction-level parallelism, cache associativity, false sharing of cache lines, and hardware quirks that are hard to explain.
12 min · 2,685 words